Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] tycho-user Digest, Vol 1, Issue 2


Update : I can partially run tests on OSX by adding 


to the configuration of maven-osgi-test-plugin. 

Some tests run and pass, but the process get locked at the third test, I have to Control-C to break the process. 
All my tests are using SWT and a Display, this is probably the source of my issue, but as stated in my previous mail, the same test suite works in Eclipse and in cbi.
Any idea on the changes I can apply on the pom or on my tests to make it work ?   (see previous mail for test example - my tests are all the Nebula Gallery tests)


Date: Mon, 27 Sep 2010 10:46:42 +0200
From: Nicolas Richeton <nicolas.richeton@xxxxxxxxx>
To: tycho-user@xxxxxxxxxxx
Subject: [tycho-user] Run UI tests with Tycho
Message-ID: <9D60FEDA-87DB-4470-BD5C-8D64D8CEFBBD@xxxxxxxxx>
Content-Type: text/plain; charset="us-ascii"


I'm trying to build & test nebula widgets using tycho. Building works really great, but I have issues running tests :  I get an SWT error because tests are not run from the main thread.

**WARNING: Display must be created on main thread due to Cocoa restrictions.

The same tests work in Eclipse and with CBI. An example can be seen there [1].

I'm using Tycho 0.9.0.  (latest stable at the moment, I think)

I tried to set
on maven-osgi-test-plugin with all possibilities (true/false). I see changes on the command line for test runner, and different output, but I always get the same error.

Is running SWT tests supported by any tycho version (stable/dev) on Mac ? How can I make it work ? Would it work on other platform  ?  

Thanks for you help.



Back to the top