فهرست منبع

* Some explanations

Michaël Van Canneyt 6 ماه پیش
والد
کامیت
0f9d21a098
2فایلهای تغییر یافته به همراه16 افزوده شده و 1 حذف شده
  1. 10 0
      tests/utils/testsuite/README.md
  2. 6 1
      tests/utils/testsuite/testsuite.pp

+ 10 - 0
tests/utils/testsuite/README.md

@@ -0,0 +1,10 @@
+Testsuite CGI program
+
+The testsuite program is constructed so it can be compiled in 2 ways:
+- as a standalone HTTP server - suitable for testing the code.
+- as a CGI script - suitable for production in a low-traffic site
+
+By default, the program is compiled as a .cgi program.
+
+To compile it as a http server, compile with the httpserver define
+(-dhttpserver)

+ 6 - 1
tests/utils/testsuite/testsuite.pp

@@ -1,6 +1,11 @@
+{
+  Main entry for testsuite CGI/HTTP program.
+}
 {$mode objfpc}
 {$h+}
-{$define httpserver}
+
+{ $define httpserver}
+
 program testsuite;
 
 uses