Explorar o código

Unit-Test: Deactivate some test points

bel2125 %!s(int64=7) %!d(string=hai) anos
pai
achega
cf05b6e637
Modificáronse 1 ficheiros con 5 adicións e 1 borrados
  1. 5 1
      test/public_server.c

+ 5 - 1
test/public_server.c

@@ -298,8 +298,12 @@ test_mg_start(const struct mg_callbacks *callbacks,
 }
 
 
+void T_ignore(...)
+{
+}
+
 /* Deactivate some test points in different threads */
-#define T()
+#define T(x) T_ignore
 
 
 static void