Browse Source

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

bel2125 8 years ago
parent
commit
39f3f26349
1 changed files with 3 additions and 0 deletions
  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;