瀏覽代碼

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