This content has been marked as final. Show 2 replies
Not really because the tests are defined in build-test.xml not the build.xml
If they were in build.xml you could use (from the main build project)
[ejort@warjort build]$ ./build.sh _buildmagic:modules:tests
Maybe you could add a tests target to each build.xml that invokes the correspondiing build-test.xml
Of course Maven would let you do this.
I use a script (which is a bit out-of-date now :-)
#!/bin/sh cd ../container ./build.sh ./build.sh -f build-test.xml tests cd - cd ../dependency ./build.sh ./build.sh -f build-test.xml tests cd - cd ../kernel ./build.sh ./build.sh -f build-test.xml tests cd - cd ../aop-mc-int ./build.sh ./build.sh -f build-test.xml tests cd -
What about a single file info with which tests failed?
That just involves using ant's junitreport and style (xslt) tasks
see the bottom of jboss-head/testsuite/build.xml
for an example.
The cruisecontrol build already has this anyway (somewhere)