diff options
author | Omar Polo <op@omarpolo.com> | 2021-12-09 19:02:09 +0000 |
---|---|---|
committer | Omar Polo <op@omarpolo.com> | 2021-12-09 19:02:09 +0000 |
commit | 5741561d57b730905d1bcfddf88d52307bad2a42 (patch) | |
tree | dd355b7d64bdf92f87c18680320bc53350568b6d /regress | |
parent | ea47a245aa0702a719e4e56b2c2a7a29bff526a4 (diff) |
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'.
Diffstat (limited to 'regress')
-rw-r--r-- | regress/Makefile | 6 | ||||
-rwxr-xr-x | regress/runtime | 2 | ||||
-rw-r--r-- | regress/tests.sh | 10 |
3 files changed, 14 insertions, 4 deletions
diff --git a/regress/Makefile b/regress/Makefile index 2a12053..f319b95 100644 --- a/regress/Makefile +++ b/regress/Makefile @@ -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} diff --git a/regress/runtime b/regress/runtime index 87af174..0cde4b1 100755 --- a/regress/runtime +++ b/regress/runtime @@ -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 diff --git a/regress/tests.sh b/regress/tests.sh index ccb7ea7..5b0ec81 100644 --- a/regress/tests.sh +++ b/regress/tests.sh @@ -1,3 +1,13 @@ +test_punycode() { + dont_check=yes + ./puny-test +} + +test_iri() { + dont_check=yes + ./iri_test +} + test_configless_mode() { dont_check=yes |