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/meson.build | |
parent | f06e297cd175cca39745f6d1970225ae88aa68f1 (diff) |
Updated lighttpd.
Diffstat (limited to 'data/lighttpd/lighttpd-1.4.53/tests/meson.build')
-rw-r--r-- | data/lighttpd/lighttpd-1.4.53/tests/meson.build | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/data/lighttpd/lighttpd-1.4.53/tests/meson.build b/data/lighttpd/lighttpd-1.4.53/tests/meson.build new file mode 100644 index 000000000..388b954ae --- /dev/null +++ b/data/lighttpd/lighttpd-1.4.53/tests/meson.build @@ -0,0 +1,52 @@ +if conf_data.get('HAVE_FASTCGI_H') or conf_data.get('HAVE_FASTCGI_FASTCGI_H') + libfcgi = compiler.find_library('fcgi', required: false) + if libfcgi.found() + executable('fcgi-auth', + sources: 'fcgi-auth.c', + dependencies: common_flags + [ libfcgi ], + ) + executable('fcgi-responder', + sources: 'fcgi-responder.c', + dependencies: common_flags + [ libfcgi ], + ) + endif +endif + +executable('scgi-responder', + sources: 'scgi-responder.c', + dependencies: common_flags, +) + +env = environment() +env.set('srcdir', meson.current_source_dir()) +env.set('top_builddir', meson.build_root()) + +tests = [ + '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', +] + +# just hope it will run the tests in the given order +test('prepare', find_program('./prepare.sh'), env: env, is_parallel: false) +foreach t: tests + test(t, find_program('./' + t), env: env, is_parallel: false) +endforeach +test('cleanup', find_program('./cleanup.sh'), env: env, is_parallel: false) |