Skip to content

Commit

Permalink
compiler: introduce coverage gate tag
Browse files Browse the repository at this point in the history
  • Loading branch information
zapster committed Oct 5, 2018
1 parent c1f158d commit 6d80bf1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion compiler/ci_common/gate.hocon
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ gateCoverage : {
EXTRA_VM_ARGS : ""
}
run : [
${gateCmd} ["build,test", --jacoco-zip, report.zip]
${gateCmd} ["build,coverage", --jacoco-zip, report.zip]
]
}

Expand Down
3 changes: 2 additions & 1 deletion compiler/mx.compiler/mx_compiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -413,6 +413,7 @@ class GraalTags:
bootstraplite = ['bootstraplite', 'bootstrap', 'fulltest']
bootstrapfullverify = ['bootstrapfullverify', 'fulltest']
test = ['test', 'fulltest']
coverage = ['coverage']
benchmarktest = ['benchmarktest', 'fulltest']
ctw = ['ctw', 'fulltest']
doc = ['javadoc']
Expand Down Expand Up @@ -624,7 +625,7 @@ def compiler_gate_runner(suites, unit_test_runs, bootstrap_tests, tasks, extraVM
if t: mx.javadoc(['--exclude-packages', 'com.oracle.truffle.dsl.processor.java'], quietForNoPackages=True)

graal_unit_test_runs = [
UnitTestRun('UnitTests', [], tags=GraalTags.test),
UnitTestRun('UnitTests', [], tags=GraalTags.test + GraalTags.coverage),
]

_registers = {
Expand Down

0 comments on commit 6d80bf1

Please sign in to comment.