Community
Participate
Working Groups
parts-data-folder and session-data-folder aren't variables. It would help our testing if they were. I'll attach a patch.
Created attachment 133814 [details] patch This patch turns this test folders into variables.
Created attachment 134250 [details] Automated UI tests run with the patch
Boris, could I get your OK on this? PW
Sure! Just out of curiosity - how did you run our test suite locally?
(In reply to comment #4) > Sure! Just out of curiosity - how did you run our test suite locally? I checked out the source of all of the Eclipse SDK tests, built it all, and ran it using the runtests script that is used during all of the builds. I have a custom properties file to make the tests not try to write to the system-wide installation directory (not owned by the test runner). I did all of the running in an Xvnc session. I can provide more details if you'd like :)
(In reply to comment #4) > Sure! Just out of curiosity - how did you run our test suite locally? > In the general case, you download the eclipse-Automated-Tests-I20090311-0100.zip, unzip it, and copy the matching eclipse-SDK-* into eclipse-testing/ directory. Then run it with the appropriate parameters, in my case: bash$ ./runtests -os linux -ws gtk -arch x86 ui To test the patch I unzipped eclipse-junit-tests-I20090311-0100.zip, patched org.eclipse.ui.tests/test.xml and zipped it up again. runtests takes care of extracting all of the bits that are needed. PW
Yeah, I was just saying how I do it to test our built RPMs. What Paul says is how one would normally do it.
(In reply to comment #5) > (In reply to comment #4) > > Sure! Just out of curiosity - how did you run our test suite locally? > > I checked out the source of all of the Eclipse SDK tests, built it all, and ran > it using the runtests script that is used during all of the builds. I have a > custom properties file to make the tests not try to write to the system-wide > installation directory (not owned by the test runner). I did all of the > running in an Xvnc session. I can provide more details if you'd like :) Sounds interesting... I would like to be able to run the UI tests from the command line, using the test.xml ant scripts, without having to download the full eclipse-Automated-Tests-xyz.zip. It sounds like what you are doing is close to my desired result; if I am right, could you maybe provide more details? A wiki page would be a good place for that information :-)
Released >20090504 PW
(In reply to comment #8) > (In reply to comment #5) > > (In reply to comment #4) > > > Sure! Just out of curiosity - how did you run our test suite locally? > > > > I checked out the source of all of the Eclipse SDK tests, built it all, and > ran > > it using the runtests script that is used during all of the builds. I have a > > custom properties file to make the tests not try to write to the system-wide > > installation directory (not owned by the test runner). I did all of the > > running in an Xvnc session. I can provide more details if you'd like :) > > Sounds interesting... I would like to be able to run the UI tests from the > command line, using the test.xml ant scripts, without having to download the > full eclipse-Automated-Tests-xyz.zip. It sounds like what you are doing is close > to my desired result; if I am right, could you maybe provide more details? A > wiki page would be a good place for that information :-) I've added it to my todo list :)
Created attachment 134297 [details] another patch My patch had a slight mistake in it. I was using _ instead of - in the ant variable. This patch fixes it and applies against head. Sorry for the inconvenience and thanks for applying the first one.
(In reply to comment #11) > Created an attachment (id=134297) [details] > another patch > > My patch had a slight mistake in it. I was using _ instead of - in the ant > variable. This patch fixes it and applies against head. Sorry for the > inconvenience and thanks for applying the first one. We've added it to our todo list. :-P Just kidding... released to HEAD. This was clearly a typo, which I should have caught as part of my review.
Andrew, are you able to use the on of the latest eclipse-Automated-Tests-I20090514-2000.zip as you intended? PW
(In reply to comment #13) > Andrew, are you able to use the on of the latest > eclipse-Automated-Tests-I20090514-2000.zip as you intended? I am not able to actually test it now but I verified that the relevant test.xml has the expected content. Thanks.