Running tests from command line?

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Running tests from command line?

Andrey Loskutov
Hi,

I have a stupid question: how do I run JDT core tests from command line (maven test)?

Background: I did a custom 4.7.2 build and want to verify the JDT compiler from this build is properly working.

cd eclipse.platform.releng.aggregator/eclipse.jdt.core

mvn surefire:test
[INFO] Scanning for projects...
[ERROR] Internal error: java.lang.RuntimeException: Could not resolve target platform specification artifact org.eclipse:eclipse-sdk-prereqs:target:4.7.2-SNAPSHOT -> [Help 1]

mvn test
[INFO] Scanning for projects...
[ERROR] Internal error: java.lang.RuntimeException: Could not resolve target platform specification artifact org.eclipse:eclipse-sdk-prereqs:target:4.7.2-SNAPSHOT -> [Help 1]

Thanks!

Kind regards,
Andrey Loskutov

http://google.com/+AndreyLoskutov
_______________________________________________
jdt-core-dev mailing list
[hidden email]
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/jdt-core-dev
Reply | Threaded
Open this post in threaded view
|

Re: Running tests from command line?

Sasikanth B Ammanamanchi
Use -p build-individual-bundles argument

Regards
Sasikanth

[hidden email] wrote: -----
To: [hidden email]
From: "Andrey Loskutov"
Sent by: [hidden email]
Date: 12/05/2017 02:18PM
Subject: [jdt-core-dev] Running tests from command line?

Hi,

I have a stupid question: how do I run JDT core tests from command line (maven test)?

Background: I did a custom 4.7.2 build and want to verify the JDT compiler from this build is properly working.

cd eclipse.platform.releng.aggregator/eclipse.jdt.core

mvn surefire:test
[INFO] Scanning for projects...
[ERROR] Internal error: java.lang.RuntimeException: Could not resolve target platform specification artifact org.eclipse:eclipse-sdk-prereqs:target:4.7.2-SNAPSHOT -> [Help 1]

mvn test
[INFO] Scanning for projects...
[ERROR] Internal error: java.lang.RuntimeException: Could not resolve target platform specification artifact org.eclipse:eclipse-sdk-prereqs:target:4.7.2-SNAPSHOT -> [Help 1]

Thanks!

Kind regards,
Andrey Loskutov

https://urldefense.proofpoint.com/v2/url?u=http-3A__google.com_-2BAndreyLoskutov&d=DwICAg&c=jf_iaSHvJObTbx-siA1ZOg&r=o963LG-v40yVK_FFyn8Arh6uH3v-wImwnF-gopa6FwA&m=Bow8TUjmqLZ7c6VNp_kuHtIj07gzRXa3c_o3s_89Xog&s=ETbLCF-_aFxHNpbs2B7kgCWPCyDfVZp5AltzXUKiHNA&e=
_______________________________________________
jdt-core-dev mailing list
[hidden email]
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://urldefense.proofpoint.com/v2/url?u=https-3A__dev.eclipse.org_mailman_listinfo_jdt-2Dcore-2Ddev&d=DwICAg&c=jf_iaSHvJObTbx-siA1ZOg&r=o963LG-v40yVK_FFyn8Arh6uH3v-wImwnF-gopa6FwA&m=Bow8TUjmqLZ7c6VNp_kuHtIj07gzRXa3c_o3s_89Xog&s=S9eomdksjnMx50N6Yb1UCazyEhKhNm_x7XH7TINVAeg&e=



_______________________________________________
jdt-core-dev mailing list
[hidden email]
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/jdt-core-dev