mirror of
https://github.com/omar-polo/gmid.git
synced 2024-09-27 21:11:51 +02:00
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
|
||||
|
||||
all: data gg puny-test fcgi-test
|
||||
./puny-test
|
||||
./iri_test
|
||||
all: data gg puny-test iri_test fcgi-test
|
||||
./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}
|
||||
${CC} gg.o ../iri.o ../utf8.o ${COMPAT} -o $@ ${LDFLAGS}
|
||||
|
@ -25,6 +25,8 @@ if [ $# -ne 0 ]; then
|
||||
tests_done
|
||||
fi
|
||||
|
||||
run_test test_punycode
|
||||
run_test test_iri
|
||||
run_test test_configless_mode
|
||||
run_test test_static_files
|
||||
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() {
|
||||
dont_check=yes
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user