Explorar o código

wrap threaded test-case in ifdef

Julius Pfrommer %!s(int64=10) %!d(string=hai) anos
pai
achega
bf7288e5ea
Modificáronse 1 ficheiros con 6 adicións e 0 borrados
  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