Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 62760 - junit tests need to use the eclipse launcher
Summary: junit tests need to use the eclipse launcher
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Releng (show other bugs)
Version: 3.3   Edit
Hardware: PC All
: P3 normal with 1 vote (vote)
Target Milestone: ---   Edit
Assignee: Sonia Dimitrov CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-18 15:33 EDT by Christophe Cornu CLA
Modified: 2007-02-17 19:07 EST (History)
0 users

See Also:


Attachments
patch to lauch tests through eclipse executable (4.34 KB, patch)
2007-02-01 22:43 EST, Sonia Dimitrov CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Christophe Cornu CLA 2004-05-18 15:33:09 EDT
The eclipse junit tests currently start eclipse from the java executable 
directly. They should be started through the eclipse launcher directly.

Note that the Eclipse launcher does a few extra things like:
- set up the LD_LIBRARY_PATH/MOZILLA_FIVE_HOME variables for the SWT Browser 
widget as documented in SWT FAQ. Junit tests for SWT fail as a result on Linux 
GTK.

SWT junit tests for GTK now disabled until PR closed.
Comment 1 Christophe Cornu CLA 2004-05-26 12:43:56 EDT
Hi Sonia,
Any chance we can get this in soon? Running the browser tests on Linux GTK is 
very important. Thanks!
Comment 2 Sonia Dimitrov CLA 2004-06-01 16:28:48 EDT
Given that the Browser tests can run with the appropriate enviroment variable 
settings, I suggest deferring this to post 3.0.
Comment 3 Christophe Cornu CLA 2004-06-01 17:04:42 EDT
From now on until 3.0, Releng's junit tests will test the following scenario:
- browser settings manually set with MOZILLA_FIVE_HOME and LD_LIBRARY_PATH

I will manually verify the eclipse launcher on RHEL3 correctly set the 
environment for the browser widget for the 3.0 RC2 etc releases.

OK for post 3.0

Comment 4 Sonia Dimitrov CLA 2007-02-01 22:43:09 EST
Created attachment 58086 [details]
patch to lauch tests through eclipse executable

Currently testing changes in this patch.
Comment 5 Sonia Dimitrov CLA 2007-02-17 19:07:40 EST
Fix released to HEAD.