Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cbi-dev] Running CBI build with tests

I believe all automated tests are run manually against packaged eclipse
sdk. The tests themselves and the test fixture are packaged as
eclipse-junit-tests zip.

--
Regards,
Igor

On 12-04-05 10:31 AM, Thanh Ha wrote:
Thanks Igor,

For clarification by "tests everything at the end" do you mean when we run:

mvn clean install \
    -Dmaven.repo.local=/var/tmp/lts/R4_localrepo -Dmaven.test.skip=true


it runs the tests once everything's built automatically? or do you mean
the user runs the tests against the output of the build manually?


I know the build does output the junit test below which I guess we can
run manually.

TMP/eclipse-junit-tests/target/eclipse-junit-tests-1.0.0-SNAPSHOT-bundle.zip



Thanks,


Thanh


On 04/05/2012 10:18 AM, Igor Fedorenko wrote:
I think Platform team first needs to decide if they want to run unit
tests as part of the build or defer all tests to integration tests. I
believe current build tests everything at the end.

--
Regards,
Igor

On 12-04-05 10:15 AM, Thanh Ha wrote:
Hi Everyone,

I'm trying to build the CBI build without skipping the tests via
"-Dmaven.test.skip=true". Unfortunately I run into issues with "No tests
found" below. If I comment them out of the pom they get skipped and I
noticed some tests pass.

What can I do to get these tests working and for the tycho build to find
the tests? Any resources I can look at to point me in the right
direction?


Thanks,


Thanh


[ERROR] Failed to execute goal
org.eclipse.tycho:tycho-surefire-plugin:0.14.1:test (default-test) on
project org.eclipse.jdt.compiler.tool.tests: No tests found. -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the
-e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions,
please read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the
command
[ERROR] mvn <goals> -rf :org.eclipse.jdt.compiler.tool.tests

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




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


Back to the top