소스 검색

wrap threaded test-case in ifdef

Julius Pfrommer 10 년 전
부모
커밋
bf7288e5ea
1개의 변경된 파일6개의 추가작업 그리고 0개의 파일을 삭제
  1. 6 0
      tests/check_namespace.c

+ 6 - 0
tests/check_namespace.c

@@ -241,6 +241,11 @@ START_TEST(failToFindNonExistantNodeInNamespaceWithSeveralEntries) {
 }
 END_TEST
 
+/************************************/
+/* Performance Profiling Test Cases */
+/************************************/
+
+#ifdef MULTITHREADING
 struct NamespaceProfileTest {
 	Namespace *ns;
 	UA_Int32 min_val;
@@ -266,6 +271,7 @@ void *profileGetThread(void *arg) {
 	
 	return UA_NULL;
 }
+#endif
 
 START_TEST(profileGetDelete) {
 #ifdef MULTITHREADING