mirror of https://github.com/omar-polo/gmid.git
run all kinds of tests via tests.sh/runtime
while there also change the dependency in the makefile: iri_test should be alone, not as deps of `data'.
This commit is contained in:
parent
ea47a245aa
commit
5741561d57
|
@ -6,12 +6,10 @@ include ../Makefile.local
|
||||||
|
|
||||||
.PHONY: all data clean runtime
|
.PHONY: all data clean runtime
|
||||||
|
|
||||||
all: data gg puny-test fcgi-test
|
all: data gg puny-test iri_test fcgi-test
|
||||||
./puny-test
|
|
||||||
./iri_test
|
|
||||||
./runtime ${TESTS}
|
./runtime ${TESTS}
|
||||||
|
|
||||||
data: testdata iri_test cert.pem testca.pem valid.crt invalid.cert.pem
|
data: testdata cert.pem testca.pem valid.crt invalid.cert.pem
|
||||||
|
|
||||||
gg: gg.o ../iri.o ../utf8.o ${COMPAT}
|
gg: gg.o ../iri.o ../utf8.o ${COMPAT}
|
||||||
${CC} gg.o ../iri.o ../utf8.o ${COMPAT} -o $@ ${LDFLAGS}
|
${CC} gg.o ../iri.o ../utf8.o ${COMPAT} -o $@ ${LDFLAGS}
|
||||||
|
|
|
@ -25,6 +25,8 @@ if [ $# -ne 0 ]; then
|
||||||
tests_done
|
tests_done
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
run_test test_punycode
|
||||||
|
run_test test_iri
|
||||||
run_test test_configless_mode
|
run_test test_configless_mode
|
||||||
run_test test_static_files
|
run_test test_static_files
|
||||||
run_test test_directory_redirect
|
run_test test_directory_redirect
|
||||||
|
|
|
@ -1,3 +1,13 @@
|
||||||
|
test_punycode() {
|
||||||
|
dont_check=yes
|
||||||
|
./puny-test
|
||||||
|
}
|
||||||
|
|
||||||
|
test_iri() {
|
||||||
|
dont_check=yes
|
||||||
|
./iri_test
|
||||||
|
}
|
||||||
|
|
||||||
test_configless_mode() {
|
test_configless_mode() {
|
||||||
dont_check=yes
|
dont_check=yes
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue