Makefile revision f545d156561c08020a67f9640c51454c2df4fb57
#
# $Id$
#
# mod_macro non regression tests
# where is apache
# apache executable with mod macro loaded
HTTPD = \
-C 'LoadModule macro_module modules/mod_macro.so' \
-C "Define PWD $$PWD/conf"
# default target
# run all non regression tests
# result directory
out:
mkdir $@
# test cases & results
# run all tests
# generate & compare in a separate directory
# generate & compare in the same directory
# run one test case
# filter output so that it is portable
# use '|' sed separator because $PWD will contain plenty '/'
{ \
echo "# testing with $<" ; \
echo "# exit: $$?" ; \
} > $@.tmp ; \
-e "s|^\[[\.a-zA-Z0-9 :]*\] ||" \
-e "s|\[pid [0-9]*:tid [0-9]*] ||" \
$@.tmp > $@ ; \
# cleanup
$(RM) *~