Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [mylyn-docs-dev] Running unit-tests as Hudson

Jeremie,

the sandbox instance runs the following Maven as follows:

mvn -U -B clean verify

Let me know if that works for you.

David

On Fri, Oct 19, 2012 at 5:45 AM, Jeremie Bresson <dev@xxxxxxxx> wrote:
Hi,

I wonder how I can run the test suite as the sandbox hudson instance [1] does. I am new to maven / tycho…
I assume I have to run "mvn install" and "mvn integration-test" in one of the plugin folder, but I do not know which one.

I am experiencing trouble with one of my change [2] (see also comment in Bugzilla [3]). In my Eclipse (run as Unit-Test in Eclipse) the test is OK, and on Hudson not [4]. I probably did not set up my Workspace correctly. It is not configured as a Maven project. The execution and access rules should be the same in my Eclipse as in Hudson.

I assume the error I get at Hudson is because of 2 Classloaders, or because I access an internal class. Anyway I am not able to reproduce it local on my machine, so it makes it difficult for me to work on the patch.

I appreciate any feedback,
Thanks a lot.

Jeremie.

[1] https://hudson.eclipse.org/sandbox/job/mylyn-docs-gerrit/
[2] https://git.eclipse.org/r/#/c/7568/6
[3] https://bugs.eclipse.org/bugs/show_bug.cgi?id=388657#c8
[4] https://hudson.eclipse.org/sandbox/job/mylyn-docs-gerrit/89/

_______________________________________________
mylyn-docs-dev mailing list
mylyn-docs-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/mylyn-docs-dev



--
David Green
VP of Engineering, Tasktop
Committer, Eclipse Mylyn
http://tasktop.com 
+1-778-588-6896 ext. 115



Back to the top