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.
Please, fix failing tests which started to fail in recent dev builds. Tests are from modules org.netbeans.modules.cnd.debugger.common2 org.netbeans.modules.cnd.utils org.netbeans.modules.cnd.highlight org.netbeans.modules.dlight.nativeexecution Maybe problem is in getting hostinfo http://hudson4qe.cz.oracle.com/job/_Temp-cnd/7/jdk=JDK%207,label=Windows7-slave2/testReport/org.netbeans.modules.cnd.utils/SuspendableFileChangeListenerTest/testCreateThenRemoveAsTwoEvents__hudson_localhost_/? Other results here http://hudson4qe.cz.oracle.com/job/_Temp-cnd/7/testReport/
There is something wrong with the tests distribution - tests fail because hostinfo.sh script cannot be found (it is supposed that it is in netbeans/ide/bin/nativeexecution/ directory after a build). Could you, please, check that this directory is in place in the tested product?
The hostinfo.sh is available but InstalledFileLocator cannot find it. For PsProviderTest it helps to extend CndBaseTestCase which sets netbeans.dirs: public class PsProviderTest extends CndBaseTestCase { public PsProviderTest(String name) { super(name); } For remaining SuspendableFileChangeListenerTest, NbStartLocalTest and MacroHashMapTest maybe problem is the same but I don't know how to easily solve it. If you can solve it, just exclude these classes from stableBTD config in project.properties.
http://hg.netbeans.org/cnd-main/rev/f27423bdd1f9
Addfix: http://hg.netbeans.org/cnd-main/rev/31ec7b3ce9b7
Integrated into 'main-golden', will be available in build *201210130002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/f27423bdd1f9 User: Andrew Krasny <akrasny@netbeans.org> Log: #219840 - Failing tests in stable test distribution Moved FileLocator initialization (unti tests) from CndBaseTestCase to NativeExecutionBaseTestCase.
Integrated into 'main-golden', will be available in build *201210160002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/859cbb1e7b0a User: Andrew Krasny <akrasny@netbeans.org> Log: #219840 - Failing tests in stable test distribution [addfix]