mirror of https://github.com/graalvm/mx.git
Add the @Theory annotation to the list of annotations used to recognize test classes for mx unittest.
This commit is contained in:
parent
aebcb43fa2
commit
179b587883
|
@ -259,6 +259,15 @@ local common_json = import "../common.json";
|
|||
} else {},
|
||||
},
|
||||
|
||||
wasm:: {
|
||||
downloads+: {
|
||||
WABT_DIR: {name: 'wabt', version: '1.0.36', platformspecific: true},
|
||||
},
|
||||
environment+: {
|
||||
WABT_DIR: '$WABT_DIR/bin',
|
||||
},
|
||||
},
|
||||
|
||||
fastr:: {
|
||||
# Note: On both Linux and MacOS, FastR depends on the gnur module and on gfortran
|
||||
# of a specific version (4.8.5 on Linux, 10.2.0 on MacOS)
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
"Jsonnet files should not include this file directly but use ci/common.jsonnet instead."
|
||||
],
|
||||
|
||||
"mx_version": "7.33.0",
|
||||
"mx_version": "7.33.1",
|
||||
|
||||
"COMMENT.jdks": "When adding or removing JDKs keep in sync with JDKs in ci/common.jsonnet",
|
||||
"jdks": {
|
||||
|
|
|
@ -18215,7 +18215,7 @@ def main():
|
|||
_CACHE_DIR = get_env('MX_CACHE_DIR', join(dot_mx_dir(), 'cache'))
|
||||
|
||||
# The version must be updated for every PR (checked in CI) and the comment should reflect the PR's issue
|
||||
version = VersionSpec("7.33.1") # [GR-58116] Filter out incomplete JsonArrayRule datapoints, add all_command_line_args_are_vm_args to VmBenchmarkSuite
|
||||
version = VersionSpec("7.33.2") # [GR-59265] Mx Unittest Can't Find test Classes With @Theory Annotation Only
|
||||
|
||||
_mx_start_datetime = datetime.utcnow()
|
||||
|
||||
|
|
|
@ -720,7 +720,7 @@ def unittest(args, test_report_tags=None):
|
|||
junit_args.append('-JUnitJsonResults')
|
||||
junit_args.append(test_results)
|
||||
try:
|
||||
_unittest(args, ['@Test', '@Parameters'], junit_args, **parsed_args.__dict__)
|
||||
_unittest(args, ['@Theory', '@Test', '@Parameters'], junit_args, **parsed_args.__dict__)
|
||||
if make_test_report:
|
||||
from . import mx_gate
|
||||
assert 'task' in test_report_tags, 'Task tag is mandatory'
|
||||
|
|
Loading…
Reference in New Issue