Преглед изворни кода

Test: Add comment, how to build a local test for Linux

bel2125 пре 8 година
родитељ
комит
39f3f26349
1 измењених фајлова са 3 додато и 0 уклоњено
  1. 3 0
      test/public_server.c

+ 3 - 0
test/public_server.c

@@ -4427,6 +4427,9 @@ make_public_server_suite(void)
 
 #ifdef REPLACE_CHECK_FOR_LOCAL_DEBUGGING
 /* Used to debug test cases without using the check framework */
+/* Build command for Linux:
+gcc test/public_server.c src/civetweb.c -I include/ -I test/ -l pthread -l dl -D LOCAL_TEST -D REPLACE_CHECK_FOR_LOCAL_DEBUGGING -D MAIN_PUBLIC_SERVER=main
+*/
 
 static int chk_ok = 0;
 static int chk_failed = 0;