commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <>
Subject [MATH] 2.2 test failures when run with 2.1 test cases
Date Mon, 21 Feb 2011 17:03:33 GMT
I've updated the test-jar.xml Ant script [1] so it can now be used to
run the test classes against a jar without needing to also compile
against the jar:

$ ant -f test-jar.xml [-lib junit-m.n..jar] test-only

Running this against a checkout of [3] gives 40 classes with test
errors or test failures.

I'm sure some of these are due to fixes in the code which need
corresponding test case changes.
But are all the errors/failures expected? Further investigation is needed.

Compiling the 2.1 test cases against 2.2 results in 19 compilation errors.
These seem to be OK,  as they relate to EventState and

To re-run the tests:

Checkout the 2.1 tag [3]
Compile the code, e.g.
mvn clean compiler:compile compiler:testCompile
Copy the updated test-jar.xml file from [1] into top-level dir
Copy commons-math-2.2.jar into top level dir.

$ ant -f test-jar.xml [-lib junit-m.n..jar] test-only ! run tests
against math 2.2

$ ant -f test-jar.xml [-lib junit-m.n..jar] ! compile and run tests
against math 2.2

The output has been uploaded to [2]


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message