Commit Diff


commit - f525aa55b85d7186f701d74b8a62ca7151ab2e9a
commit + 1ca7a0f3bfa18beaeae28cae9afe64bad617dff4
blob - 6474e4f2082de54f71140c48597daa96cc9c4006
blob + a88a2697058592a27da6dc017f5464fec6ec4749
--- regress/regress
+++ regress/regress
@@ -1,14 +1,5 @@
 #!/bin/sh
 
-if [ "${SKIP_RUNTIME_TESTS:-0}" -eq 1 ]; then
-	echo
-	echo "======================"
-	echo "runtime tests skipped!"
-	echo "======================"
-	echo
-	exit 0
-fi
-
 rm -f gmid.pid
 
 . ./lib.sh
@@ -25,8 +16,21 @@ if [ $# -ne 0 ]; then
 	tests_done
 fi
 
+# Run standalone unit tests.
 run_test test_punycode
 run_test test_iri
+
+if [ "${SKIP_RUNTIME_TESTS:-0}" -eq 1 ]; then
+	echo
+	echo "======================"
+	echo "runtime tests skipped!"
+	echo "======================"
+	echo
+
+	tests_done
+fi
+
+# Run regression tests for the gmid binary.
 run_test test_configless_mode
 run_test test_static_files
 run_test test_directory_redirect