Notice how, in the below, the RET is from the second call to runArchCases, the first call's status is discarded. int ret = 0; Runner testRunner = new Runner (args); testRunner.setBuildArch(Build.BUILD_ARCH); // Set the path prefixes and then do the common test. Paths.setPrefixes (Build.ABS_BUILDDIR + "/frysk/pkglibexecdir/", Build.ABS_BUILDDIR + "/frysk/pkgdatadir/"); testRunner.runArchCases(JUnitTests.get ()); // Set the execPrefix of arch32 and then do the arch32 test. Paths.setPrefixes (Build.ABS_BUILDDIR + "/frysk/pkglibexecdir/arch32/", Build.ABS_BUILDDIR + "/frysk/pkgdatadir/"); ret = testRunner.runArch32Cases(JUnitTests.get ()); System.exit(ret);
this should explain why `` make check '', when TestRunner is reporting failures or errors, doesn't abort.
Yong, I've checked this in, you may want to check your 32- 64- test runs. Index: frysk-core/frysk/pkglibexecdir/ChangeLog 2006-10-12 Andrew Cagney <cagney@redhat.com> * funit.java: Move 32- and 64- logic to frysk.junit.Runner. Index: frysk-imports/frysk/junit/ChangeLog 2006-10-12 Andrew Cagney <cagney@redhat.com> * Runner.java (runArchCases (String, String)): New. (worstResult): New. Index: frysk-sys/common/ChangeLog 2006-10-12 Andrew Cagney <cagney@redhat.com> * TestRunner.javain (main): 32- and 64-bit code moved to frysk.junit.Runner, update.
(In reply to comment #1) > this should explain why `` make check '', when TestRunner is reporting failures > or errors, doesn't abort. > Andrew, very sorry for my discarding the first call's result! Thanks for your fixing it. Thanks.