Community
Participate
Working Groups
AGR test invocations to external tests/suites do not include external object mine. The problem is that only the object mine for the root test suite is used and not the object mines for the referenced test suites. For example, /org.eclipse.hyades.tests/BVT/AllBVTGUITests_Sun_JRE_160.testsuite. Work-around: Include the object mines for ALL referenced test suites in the object mine for the root test suite. However, this is problematic when there is a hierarchy of test suites.
Created attachment 153769 [details] Patch.
The attached patch checked in to CVS (HEAD).
Patch causes the following exception in the BVTs: java.lang.StringIndexOutOfBoundsException: String index out of range: -26 at java.lang.String.substring(String.java:1938) at org.eclipse.tptp.test.auto.gui.internal.runner.ExtendedScriptParser.parse(ExtendedScriptParser.java:97) at org.eclipse.tptp.test.auto.gui.internal.runner.AutoGUIRunner.parseTestScript(AutoGUIRunner.java:1263) at org.eclipse.tptp.test.auto.gui.internal.runner.AutoGUIRunner.earlyStartup(AutoGUIRunner.java:281) at org.eclipse.ui.internal.EarlyStartupRunnable.runEarlyStartup(EarlyStartupRunnable.java:87) at org.eclipse.ui.internal.EarlyStartupRunnable.run(EarlyStartupRunnable.java:66) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.ui.internal.Workbench$55.run(Workbench.java:2192) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Created attachment 153926 [details] Patch (Part 2 - Version 1).
Created attachment 153927 [details] Patch (Part 2 - Version 2).
Patch part 2 - version 2 resolves the original issue without modifying the test script. Patch part 2 - version 2 checked in to CVS (HEAD).
Verified with the latest BVT run (see http://www.eclipse.org/tptp/home/downloads/BVT.php?version=4.6.2&buildID=TPTP-4.6.2-201001051032) since required to run the BVTs. Closing.