blob: 55bbaf60338cf14419a0b866f5d2c706daee14fc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
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()
|