Skip to content
Snippets Groups Projects
Commit 8cb3629b authored by stepan's avatar stepan
Browse files

Task 'testing without specials' added to mx gate & ci.hocon

parent 30f33e68
Branches
No related tags found
No related merge requests found
...@@ -86,6 +86,12 @@ gateTestCommon : ${common} { ...@@ -86,6 +86,12 @@ gateTestCommon : ${common} {
gateTestLinux : ${gateTestCommon} { gateTestLinux : ${gateTestCommon} {
} }
gateTestNoSpecialsLinux : ${common} {
run : [
${gateCmd} ["Versions,JDKReleaseInfo,BuildJavaWithJavac,UnitTests: no specials"]
]
}
darwinEnvironment : { darwinEnvironment : {
environment : { environment : {
PATH : "/usr/local/bin:$JAVA_HOME/bin:$PATH" PATH : "/usr/local/bin:$JAVA_HOME/bin:$PATH"
...@@ -130,6 +136,7 @@ rbcheck : ${common} { ...@@ -130,6 +136,7 @@ rbcheck : ${common} {
builds = [ builds = [
${gateTestLinux} {capabilities : [linux, amd64], targets : [gate, post-merge], name: "gate-test-linux-amd64"} ${gateTestLinux} {capabilities : [linux, amd64], targets : [gate, post-merge], name: "gate-test-linux-amd64"}
${gateTestNoSpecialsLinux} {capabilities : [linux, amd64], targets : [gate, post-merge], name: "gate-test-linux-amd64-nospecials"}
${gateTestDarwin} {capabilities : [darwin, amd64], targets : [gate, post-merge], name: "gate-test-darwin-amd64"} ${gateTestDarwin} {capabilities : [darwin, amd64], targets : [gate, post-merge], name: "gate-test-darwin-amd64"}
${gateStyle} {capabilities : [linux, amd64], targets : [gate, post-merge], name: "gate-style-linux-amd64"} ${gateStyle} {capabilities : [linux, amd64], targets : [gate, post-merge], name: "gate-style-linux-amd64"}
${rbcheck} {capabilities : [linux, amd64], targets : [gate, post-merge], name: "gate-rbcheck-linux-amd64"} ${rbcheck} {capabilities : [linux, amd64], targets : [gate, post-merge], name: "gate-rbcheck-linux-amd64"}
......
...@@ -252,6 +252,11 @@ def _fastr_gate_runner(args, tasks): ...@@ -252,6 +252,11 @@ def _fastr_gate_runner(args, tasks):
if junit(['--tests', _gate_noapps_unit_tests(), '--check-expected-output']) != 0: if junit(['--tests', _gate_noapps_unit_tests(), '--check-expected-output']) != 0:
t.abort('unit tests expected output check failed') t.abort('unit tests expected output check failed')
with mx_gate.Task('UnitTests: no specials', tasks) as t:
if t:
if junit(['--J', '@-DR:-UseSpecials', '--tests', _gate_noapps_unit_tests()]) != 0:
t.abort('unit tests failed')
with mx_gate.Task('UnitTests', tasks) as t: with mx_gate.Task('UnitTests', tasks) as t:
if t: if t:
if junit(['--tests', _gate_noapps_unit_tests()]) != 0: if junit(['--tests', _gate_noapps_unit_tests()]) != 0:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment