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.
Summary: | Failing tests in stable test distribution | ||
---|---|---|---|
Product: | cnd | Reporter: | Jiri Skrivanek <jskrivanek> |
Component: | -- Other -- | Assignee: | Andrew Krasny <akrasny> |
Status: | VERIFIED FIXED | ||
Severity: | normal | Keywords: | TEST |
Priority: | P1 | ||
Version: | 7.3 | ||
Hardware: | PC | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
Jiri Skrivanek
2012-10-10 14:50:58 UTC
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. 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] |