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

Hi David,

Thanks for your answer, this was the command line I was looking for.

I manage to run it on my computer.
Somehow I get an error on current master branch. See detail in Bug
392608. 

https://bugs.eclipse.org/bugs/show_bug.cgi?id=392608

I guess this is because I am using a Mac.
I hope you can provide a hint, on how the test should be written to be
platform and operating system independent.

Jeremie.



On Fri, 19 Oct 2012 08:17:22 -0700, David Green
<david.green@xxxxxxxxxxx> wrote:
> 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  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]
>  [2] https://git.eclipse.org/r/#/c/7568/6 [3]
>  [3] https://bugs.eclipse.org/bugs/show_bug.cgi?id=388657#c8 [4]
>  [4] https://hudson.eclipse.org/sandbox/job/mylyn-docs-gerrit/89/ [5]
> 
>  _______________________________________________
>  mylyn-docs-dev mailing list
>  mylyn-docs-dev@xxxxxxxxxxx [6]
>  http://dev.eclipse.org/mailman/listinfo/mylyn-docs-dev [7]



Back to the top