[Bug 637] New: "make check" succeeds even if tests failed
bugzilla-daemon at icedtea.classpath.org
bugzilla-daemon at icedtea.classpath.org
Mon Feb 21 04:18:24 PST 2011
http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=637
Summary: "make check" succeeds even if tests failed
Product: IcedTea
Version: 6-1.9.7
Platform: all
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: IcedTea6
AssignedTo: unassigned at icedtea.classpath.org
ReportedBy: devurandom at gmx.net
Running "make check" exits with success code, even if tests failed.
To fix this I see two options:
1) Exit immediately when an error occurs
2) Continue to run all tests, but touch .errors-occured when a test fails and
end the "check-local" Makefile rule with "test ! -e .errors-occured"
I prefer 2, because it is close to the current behaviour in that all tests are
run unconditionally, and still simple to implement because it only adds a (few,
haven't looked at the code) touch and one test line.
--
Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the distro-pkg-dev
mailing list