>From 582c22dec78685c8971487657bef97b277a34cd8 Mon Sep 17 00:00:00 2001 From: Peter Bex Date: Wed, 27 Jun 2012 20:20:00 +0200 Subject: [PATCH] Tighten up the finalizer tests so it fails in all situations. This way, when the test starts passing due to a fix we can be more certain that it really is correct --- tests/runtests.bat | 4 ++++ tests/runtests.sh | 2 +- 2 files changed, 5 insertions(+), 1 deletions(-) diff --git a/tests/runtests.bat b/tests/runtests.bat index ecd8d05..3afa0bb 100644 --- a/tests/runtests.bat +++ b/tests/runtests.bat @@ -396,6 +396,10 @@ echo ======================================== finalizer tests ... if errorlevel 1 exit /b 1 echo ======================================== finalizer tests (2) ... +%compile% finalizer-error-test.scm +if errorlevel 1 exit /b 1 +a.out -:hg105 +if errorlevel 1 exit /b 1 %compile% test-finalizers-2.scm if errorlevel 1 exit /b 1 a.out diff --git a/tests/runtests.sh b/tests/runtests.sh index 63790ef..235b5e5 100755 --- a/tests/runtests.sh +++ b/tests/runtests.sh @@ -345,7 +345,7 @@ $compile symbolgc-tests.scm echo "======================================== finalizer tests ..." $interpret -s test-finalizers.scm $compile finalizer-error-test.scm -./a.out +./a.out -:hg105 $compile test-finalizers-2.scm ./a.out -- 1.7.9.1