diff options
author | MCApollo <34170230+MCApollo@users.noreply.github.com> | 2019-04-29 17:53:00 +0000 |
---|---|---|
committer | MCApollo <34170230+MCApollo@users.noreply.github.com> | 2019-04-29 17:53:00 +0000 |
commit | 59f5fd20e2f59ae186d5a461aef7782dd55e4e7b (patch) | |
tree | 10475faf0b6dcb812b64da679f4ae8ff01c45874 /data/lighttpd/lighttpd-1.4.53/tests/CMakeLists.txt | |
parent | f06e297cd175cca39745f6d1970225ae88aa68f1 (diff) |
Updated lighttpd.
Diffstat (limited to 'data/lighttpd/lighttpd-1.4.53/tests/CMakeLists.txt')
-rw-r--r-- | data/lighttpd/lighttpd-1.4.53/tests/CMakeLists.txt | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/data/lighttpd/lighttpd-1.4.53/tests/CMakeLists.txt b/data/lighttpd/lighttpd-1.4.53/tests/CMakeLists.txt new file mode 100644 index 000000000..55bbaf603 --- /dev/null +++ b/data/lighttpd/lighttpd-1.4.53/tests/CMakeLists.txt @@ -0,0 +1,44 @@ +check_include_files(fastcgi.h HAVE_FASTCGI_H) +check_include_files(fastcgi/fastcgi.h HAVE_FASTCGI_FASTCGI_H) +if(HAVE_FASTCGI_H OR HAVE_FASTCGI_FASTCGI_H) + check_library_exists(fcgi FCGI_Accept "" HAVE_FASTCGI) + if(HAVE_FASTCGI) + add_executable(fcgi-auth fcgi-auth.c) + add_executable(fcgi-responder fcgi-responder.c) + target_link_libraries(fcgi-auth fcgi) + target_link_libraries(fcgi-responder fcgi) + endif() +endif() +add_executable(scgi-responder scgi-responder.c) + +set(T_FILES + prepare.sh + cachable.t + core-404-handler.t + core-condition.t + core-keepalive.t + core-request.t + core-response.t + core-var-include.t + lowercase.t + mod-auth.t + mod-cgi.t + mod-compress.t + mod-extforward.t + mod-fastcgi.t + mod-proxy.t + mod-secdownload.t + mod-setenv.t + mod-ssi.t + mod-userdir.t + request.t + symlink.t + cleanup.sh +) + +foreach(it ${T_FILES}) + add_test(NAME ${it} COMMAND "${lighttpd_SOURCE_DIR}/tests/wrapper.sh" + "${lighttpd_SOURCE_DIR}/tests" + "${lighttpd_BINARY_DIR}" + "${lighttpd_SOURCE_DIR}/tests/${it}") +endforeach() |