This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Assume you have module $MODULE with no test config specified in project properties. If you run binary test distribution with -Dtest.modules=$MODULE -Dtest.config=stable, *all* tests are executed. Expected behavior is to don't execute any test if there is no such config. This is a stopper for our daily test run.
Possible solution: in common.xml and one-module.xml, change <property name="test.config.${test.config}.includes" value="**/*Test.class"/> to <property name="test.config.default.includes" value="**/*Test.class"/> <property name="test.config.${test.config}.includes" value="NOTHING"/> and then update all modules defining special test configs to make sure they define test.config.<name>.includes to some value. harness/README would also need to be updated to say that non-default configs are by default empty.
http://hg.netbeans.org/core-main/rev/6b7c6632552e
Integrated into 'main-golden', available in NB_Trunk_Production #336 build Changeset: http://hg.netbeans.org/main/rev/6b7c6632552e User: Jaroslav Tulach <jtulach@netbeans.org> Log: #139876: If test.config.NAME.includes is not specified, then execution of tests for test.config=NAME does not run any tests.
thanks. works fine for our needs. Verified.