1if conf_data.get('HAVE_FASTCGI_H') or conf_data.get('HAVE_FASTCGI_FASTCGI_H') 2 libfcgi = compiler.find_library('fcgi', required: false) 3 if libfcgi.found() 4 executable('fcgi-auth', 5 sources: 'fcgi-auth.c', 6 dependencies: common_flags + [ libfcgi ], 7 ) 8 executable('fcgi-responder', 9 sources: 'fcgi-responder.c', 10 dependencies: common_flags + [ libfcgi ], 11 ) 12 endif 13endif 14 15executable('scgi-responder', 16 sources: 'scgi-responder.c', 17 dependencies: common_flags, 18) 19 20env = environment() 21env.set('srcdir', meson.current_source_dir()) 22env.set('top_builddir', meson.build_root()) 23 24tests = [ 25 'cachable.t', 26 'core-404-handler.t', 27 'core-condition.t', 28 'core-keepalive.t', 29 'core-request.t', 30 'core-response.t', 31 'core-var-include.t', 32 'lowercase.t', 33 'mod-auth.t', 34 'mod-cgi.t', 35 'mod-deflate.t', 36 'mod-extforward.t', 37 'mod-fastcgi.t', 38 'mod-proxy.t', 39 'mod-secdownload.t', 40 'mod-setenv.t', 41 'mod-ssi.t', 42 'request.t', 43 'symlink.t', 44] 45 46# just hope it will run the tests in the given order 47test('prepare', find_program('./prepare.sh'), env: env, is_parallel: false) 48foreach t: tests 49 test(t, find_program('./' + t), env: env, is_parallel: false) 50endforeach 51test('cleanup', find_program('./cleanup.sh'), env: env, is_parallel: false) 52