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.

Bug 196779 - Building of dependent tests in module suite broken
Summary: Building of dependent tests in module suite broken
Status: RESOLVED FIXED
Alias: None
Product: apisupport
Classification: Unclassified
Component: Harness (show other bugs)
Version: 7.0.1
Hardware: PC Linux
: P1 normal (vote)
Assignee: Jesse Glick
URL:
Keywords:
Depends on:
Blocks: 196642
  Show dependency tree
 
Reported: 2011-03-16 14:51 UTC by Jan Lahoda
Modified: 2011-03-17 09:52 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Test suite. (14.45 KB, application/zip)
2011-03-16 14:51 UTC, Jan Lahoda
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Lahoda 2011-03-16 14:51:22 UTC
Created attachment 107053 [details]
Test suite.

Broken on build based on changeset 248da7f2fdff, was OK in changeset 49d13ed75da4.

Download the attached suite, unpack and try to:
ant -Dnbplatform.default.netbeans.dest.dir=<platform> -Dnbplatform.default.harness.dir=<platform>/harness clean build test

The build fails:
do-unit-test-build:
    [mkdir] Created dir: /tmp/suite1/b/build/test/unit/classes
 [nb-javac] Compiling 1 source file to /tmp/suite1/b/build/test/unit/classes
 [nb-javac] warning: [path] bad path element "/tmp/suite1/build/testdist/unit/cluster/o-t-a/tests.jar": no such file or directory
 [nb-javac] /tmp/suite1/b/test/unit/src/o/t/b/BTest.java:4: cannot find symbol
 [nb-javac] symbol  : class ATest
 [nb-javac] location: package o.t.a
 [nb-javac] import o.t.a.ATest;
 [nb-javac]             ^
 [nb-javac] /tmp/suite1/b/test/unit/src/o/t/b/BTest.java:4: cannot find symbol
 [nb-javac] symbol  : class ATest
 [nb-javac] location: package o.t.a
 [nb-javac] import o.t.a.ATest;
 [nb-javac]             ^
 [nb-javac] /tmp/suite1/b/test/unit/src/o/t/b/BTest.java:13: cannot find symbol
 [nb-javac] symbol  : class ATest
 [nb-javac] location: class o.t.b.BTest
 [nb-javac]         ATest t;
 [nb-javac]         ^
 [nb-javac] 2 errors

BUILD FAILED
/media/karta/space/platforms/netbeans/trunk/netbeans/harness/suite.xml:566: The following error occurred while executing this line:
/media/karta/space/platforms/netbeans/trunk/netbeans/harness/common.xml:571: The following error occurred while executing this line:
/media/karta/space/platforms/netbeans/trunk/netbeans/harness/common.xml:552: Compile failed; see the compiler error output for details.
Comment 1 Jesse Glick 2011-03-16 15:24:04 UTC
core-main #e296ef856944
Comment 2 Quality Engineering 2011-03-17 09:52:47 UTC
Integrated into 'main-golden', will be available in build *201103170400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/e296ef856944
User: Jesse Glick <jglick@netbeans.org>
Log: #196779: Building of dependent tests in module suite broken
Some more remnants of testdist in external modules that needed to be expunged.