Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 297073 - Test suite project location variable substitution does not work with nested test suites.
Summary: Test suite project location variable substitution does not work with nested t...
Status: CLOSED WONTFIX
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: TPTP (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Paul Slauenwhite CLA
QA Contact: Kathy Chan CLA
URL:
Whiteboard: bvt
Keywords:
Depends on:
Blocks: 211751
  Show dependency tree
 
Reported: 2009-12-07 10:45 EST by Paul Slauenwhite CLA
Modified: 2016-05-05 11:07 EDT (History)
2 users (show)

See Also:


Attachments
Partial Patch. (6.59 KB, patch)
2009-12-07 10:57 EST, Paul Slauenwhite CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Slauenwhite CLA 2009-12-07 10:45:14 EST
Variable substitution does not work with nested test suites.

Variable substitution (http://www.eclipse.org/tptp/test/documents/userguides/Intro-Auto-GUI-4-5-0.html#2.2.5) always uses the value for the root test suite with nested test suites.  For example, /org.eclipse.hyades.test.ui.datapool.tests/gui/Test.UI.Datapool_Running.testsuite.

Work-around: Use absolute paths.

Note: This defect is required by the TPTP BVTs.
Comment 1 Paul Slauenwhite CLA 2009-12-07 10:51:17 EST
Only affected variable is testsuiteProjectLocation since the only other variable (workspaceLocation) is set by the user in the Configuration section of the Overview tab in the AGR test edtior.
Comment 2 Paul Slauenwhite CLA 2009-12-07 10:57:47 EST
Created attachment 153931 [details]
Partial Patch.
Comment 3 Paul Slauenwhite CLA 2009-12-07 11:00:24 EST
(In reply to comment #2)
> Created an attachment (id=153931) [details]
> Partial Patch.

Partial patch (based on patch for https://bugs.eclipse.org/bugs/show_bug.cgi?id=297070) that corrects the Test suite project location value in the test script passed to the test runner.  The runner still needs to swap in the correct value for each referenced test suite.  Alternatively, we remove the Test suite project location from the test script and resolve it dynamically in the runner (requires passing/parsing the project containing the test suite).
Comment 4 Paul Slauenwhite CLA 2010-05-20 09:56:07 EDT
No longer required.
Comment 5 Paul Slauenwhite CLA 2010-05-20 09:59:06 EDT
Closing.