Bug 123111 - Request to create test.xml for each of osgi, runtime and resources test plug-ins
Summary: Request to create test.xml for each of osgi, runtime and resources test plug-ins
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Runtime (show other bugs)
Version: 3.2   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.2 M5   Edit
Assignee: John Arthorne CLA
QA Contact:
URL:
Whiteboard:
Keywords: contributed
Depends on:
Blocks: 121882
  Show dependency tree
 
Reported: 2006-01-09 10:50 EST by Sonia Dimitrov CLA
Modified: 2006-08-23 15:33 EDT (History)
2 users (show)

See Also:


Attachments
workspace patch (11.75 KB, text/plain)
2006-01-09 13:07 EST, Sonia Dimitrov CLA
no flags Details
results from running attached test.xml scripts (23.88 KB, application/octet-stream)
2006-01-10 10:48 EST, Sonia Dimitrov CLA
no flags Details
workspace patch for versions in perf_31x map files and test results (14.51 KB, application/octet-stream)
2006-01-11 15:38 EST, Sonia Dimitrov CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sonia Dimitrov CLA 2006-01-09 10:50:44 EST
The osgi, runtime and resources JUnit and performance tests are all currently run from a single test.xml in org.eclipse.core.tests.harness.  This setup will not work with the recommendation to only install those test plug-ins required at runtime (bug 121882) as I am calculating the list of required plug-ins from the manifest of the plug-in which contains the test.xml.

I will attach patches for org.eclipse.core.tests.harness, org.eclipse.osgi.tests, org.eclipse.core.tests.runtime and org.eclipse.core.tests.resources with recommended changes.
Comment 1 Sonia Dimitrov CLA 2006-01-09 13:07:11 EST
Created attachment 32690 [details]
workspace patch

Workspace patch for org.eclipse.core.tests.runtime, org.eclipse.core.tests.resources, org.eclipse.osgi.tests.

I have not included a patch for org.eclipse.core.tests.harness (removes test.xml) - I suggest this project be left as is until I can test the new scripts in a test build.  Please let me know when patches have been reviewed and applied.
Comment 2 Sonia Dimitrov CLA 2006-01-10 10:48:00 EST
Created attachment 32765 [details]
results from running attached test.xml scripts

Results from test run with new scripts.  There are failures in core.resources.tests which appear unrelated to the reorg.
Comment 3 Jeff McAffer CLA 2006-01-10 21:06:38 EST
Tom can you take care of the OSGi related stuff?

John, are you going to do the others?
Comment 4 Thomas Watson CLA 2006-01-11 09:13:50 EST
I released the changes to org.eclipse.osgi.tests.  I'm guessing this was safe to do without the rest of the changes, right?
Comment 5 Sonia Dimitrov CLA 2006-01-11 09:25:51 EST
Thanks Tom, there is no problem.  I will only be calling these new scripts when the other test plug-ins have been updated.
Comment 6 John Arthorne CLA 2006-01-11 09:53:10 EST
I'll do the runtime and resource tests today.
Comment 7 John Arthorne CLA 2006-01-11 13:26:33 EST
Remainder of patch released to HEAD.
Comment 8 John Arthorne CLA 2006-01-11 13:28:11 EST
Sonia, once we have a successful build I suppose I should delete the test.xml in the core.tests.harness plugin?
Comment 9 Sonia Dimitrov CLA 2006-01-11 13:37:04 EST
Yes please.  These changes should also be backported to perf_31x branches of your test plug-ins so that we run the baselines the same way.  If this is not convenient or possible, I will install all core test plug-ins for the baseline tests on 3.1.  Let me know how you would like to proceed.
Comment 10 Sonia Dimitrov CLA 2006-01-11 15:38:16 EST
Created attachment 32858 [details]
workspace patch for versions in perf_31x map files and test results

Re-opening to have attached patch applied for perf_31x.
Comment 11 Sonia Dimitrov CLA 2006-01-11 15:38:47 EST
Reopening.
Comment 12 Thomas Watson CLA 2006-01-11 15:56:11 EST
The osgi tests have not been branched for pref_31x.  I guess I need to create a branch for this change?  What name should I use pref_31x or R3_1_maintenance?  I guess it should be pref_31x since that is the branch you want the core.map file updated in and not in R3_1_maintenance, right?
Comment 13 Sonia Dimitrov CLA 2006-01-11 16:05:53 EST
A branch for the test plug-ins is preferable, the name perf_31x is recommended.  The core.map file will need to be updated in the perf_31x branch of org.eclipse.releng.
Comment 14 Thomas Watson CLA 2006-01-11 16:13:59 EST
done for osgi tests.
Comment 15 John Arthorne CLA 2006-01-11 16:28:48 EST
runtime and resources patches released in perf_31x as well. I'll leave this open as a reminder for me to remove the test.xml in org.eclipse.core.tests.harness after we have verified the new test.xml files work.
Comment 16 Sonia Dimitrov CLA 2006-01-16 14:30:41 EST
The new scripts worked in the 3.1 baseline rerun and in the last nightly build that ran tests (Jan 13).
Comment 17 John Arthorne CLA 2006-01-19 13:22:38 EST
The test.xml from the tests.harness plugin has been deleted.
Comment 18 DJ Houghton CLA 2006-04-18 15:44:13 EDT
[contributed patch applied] 
Comment 19 Thomas Watson CLA 2006-08-23 15:33:34 EDT
Adding the keyword "contributed" to released patches contributed by the community.