BZ #178: configure does not check if junit is usable

Status fields:

creation_ts:2013-02-21 10:23
component:build system
version:unspecified
rep_platform:All
op_sys:Linux
bug_status:RESOLVED
resolution:FIXED
reporter:zapster@complang.tuwien.ac.at
The configure script does not check if junit exists and/or is usable. This causes `make
check` to fail with a long error log ending with:


<output>
../../../../cacao-staging/tests/regression/base/TestPatcher.java:581: error: The method
fail() is undefined for the type TestPatcher
        fail();
        ^^^^
200 problems (198 errors, 2 warnings)
make[3]: *** [build] Error 1
make[3]: Leaving directory `/home/zapster/cacao/cacao-build/tests/regression/base'
make[2]: *** [check-recursive] Error 1
make[2]: Leaving directory `/home/zapster/cacao/cacao-build/tests/regression'
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory `/home/zapster/cacao/cacao-build/tests'
make: *** [check-recursive] Error 1
</output>


This might be confusing to some users. configure should emit a warning.

Comment #1 by zapster@complang.tuwien.ac.at on 2013-02-21 10:24:20

Created an attachment (id=82)
full error log

Attachment id=82

date:2013-02-21 10:24
desc:full error log
type:text/plain
download:junit-error.txt