diff options
Diffstat (limited to 'test/testrunner/target_config.py')
| -rw-r--r-- | test/testrunner/target_config.py | 140 |
1 files changed, 48 insertions, 92 deletions
diff --git a/test/testrunner/target_config.py b/test/testrunner/target_config.py index 9d0377510a0..e0757abbe0a 100644 --- a/test/testrunner/target_config.py +++ b/test/testrunner/target_config.py @@ -24,10 +24,7 @@ target_config = { 'art-test' : { 'make' : 'test-art-host-gtest', - 'run-test' : [], - 'env' : { - 'ART_USE_READ_BARRIER' : 'true' - } + 'run-test' : [] }, 'art-test-javac' : { @@ -38,82 +35,74 @@ target_config = { # (calls testrunner which builds and then runs the test targets) 'art-ndebug' : { - 'run-test' : ['--ndebug'], - 'env' : { - 'ART_USE_READ_BARRIER' : 'true' - } + 'run-test' : ['--ndebug'] }, 'art-interpreter' : { - 'run-test' : ['--interpreter'], - 'env' : { - 'ART_USE_READ_BARRIER' : 'true' - } + 'run-test' : ['--interpreter'] }, 'art-interpreter-access-checks' : { - 'run-test' : ['--interp-ac'], - 'env' : { - 'ART_USE_READ_BARRIER' : 'true' - } + 'run-test' : ['--interp-ac'] }, 'art-jit' : { - 'run-test' : ['--jit'], - 'env' : { - 'ART_USE_READ_BARRIER' : 'true' - } + 'run-test' : ['--jit'] + }, + 'art-jit-on-first-use' : { + 'run-test' : ['--jit', + '--runtime-option=-Xjitthreshold:0'] }, 'art-pictest' : { 'run-test' : ['--pictest', - '--optimizing'], - 'env' : { - 'ART_USE_READ_BARRIER' : 'true' - } + '--optimizing'] }, 'art-gcstress-gcverify': { - 'run-test': ['--gcstress', - '--gcverify'], - 'env' : { - 'ART_USE_READ_BARRIER' : 'false', - 'ART_DEFAULT_GC_TYPE' : 'SS' - } - }, + # Do not exercise '--interpreter', '--optimizing', nor '--jit' in this + # configuration, as they are covered by the 'art-interpreter-gcstress', + # 'art-optimizing-gcstress' and 'art-jit-gcstress' configurations below. + 'run-test': ['--interp-ac', + '--speed-profile', + '--gcstress', + '--gcverify'] + }, + # Rename this configuration as 'art-interpreter-gcstress-gcverify' (b/62611253). 'art-interpreter-gcstress' : { 'run-test' : ['--interpreter', - '--gcstress'], - 'env' : { - 'ART_USE_READ_BARRIER' : 'false', - 'ART_DEFAULT_GC_TYPE' : 'SS' - } + '--gcstress', + '--gcverify'] }, + # Rename this configuration as 'art-optimizing-gcstress-gcverify' (b/62611253). 'art-optimizing-gcstress' : { - 'run-test' : ['--gcstress', - '--optimizing'], - 'env' : { - 'ART_USE_READ_BARRIER' : 'false', - 'ART_DEFAULT_GC_TYPE' : 'SS' - } + 'run-test' : ['--optimizing', + '--gcstress', + '--gcverify'] }, + # Rename this configuration as 'art-jit-gcstress-gcverify' (b/62611253). 'art-jit-gcstress' : { 'run-test' : ['--jit', - '--gcstress'], - 'env' : { - 'ART_USE_READ_BARRIER' : 'false', - 'ART_DEFAULT_GC_TYPE' : 'SS' - } + '--gcstress', + '--gcverify'] }, + 'art-jit-on-first-use-gcstress' : { + 'run-test' : ['--jit', + '--gcstress', + '--runtime-option=-Xjitthreshold:0'] + }, + # TODO: Rename or repurpose this configuration as + # 'art-read-barrier-heap-poisoning' (b/62611253). 'art-read-barrier' : { 'run-test': ['--interpreter', '--optimizing'], 'env' : { - 'ART_USE_READ_BARRIER' : 'true', 'ART_HEAP_POISONING' : 'true' } }, + # TODO: Remove or disable this configuration, as it is now covered + # by 'art-interpreter-gcstress' and 'art-optimizing-gcstress' -- + # except for heap poisoning, but that's fine (b/62611253). 'art-read-barrier-gcstress' : { 'run-test' : ['--interpreter', '--optimizing', '--gcstress'], 'env' : { - 'ART_USE_READ_BARRIER' : 'true', 'ART_HEAP_POISONING' : 'true' } }, @@ -121,7 +110,6 @@ target_config = { 'run-test' : ['--interpreter', '--optimizing'], 'env' : { - 'ART_USE_READ_BARRIER' : 'true', 'ART_READ_BARRIER_TYPE' : 'TABLELOOKUP', 'ART_HEAP_POISONING' : 'true' } @@ -173,54 +161,30 @@ target_config = { } }, 'art-tracing' : { - 'run-test' : ['--trace'], - 'env' : { - 'ART_USE_READ_BARRIER' : 'true' - } + 'run-test' : ['--trace'] }, 'art-interpreter-tracing' : { 'run-test' : ['--interpreter', - '--trace'], - 'env' : { - 'ART_USE_READ_BARRIER' : 'true', - } + '--trace'] }, 'art-forcecopy' : { - 'run-test' : ['--forcecopy'], - 'env' : { - 'ART_USE_READ_BARRIER' : 'true', - } + 'run-test' : ['--forcecopy'] }, 'art-no-prebuild' : { - 'run-test' : ['--no-prebuild'], - 'env' : { - 'ART_USE_READ_BARRIER' : 'true', - } + 'run-test' : ['--no-prebuild'] }, 'art-no-image' : { - 'run-test' : ['--no-image'], - 'env' : { - 'ART_USE_READ_BARRIER' : 'true', - } + 'run-test' : ['--no-image'] }, 'art-interpreter-no-image' : { 'run-test' : ['--interpreter', - '--no-image'], - 'env' : { - 'ART_USE_READ_BARRIER' : 'true', - } + '--no-image'] }, 'art-relocate-no-patchoat' : { - 'run-test' : ['--relocate-npatchoat'], - 'env' : { - 'ART_USE_READ_BARRIER' : 'true', - } + 'run-test' : ['--relocate-npatchoat'] }, 'art-no-dex2oat' : { - 'run-test' : ['--no-dex2oat'], - 'env' : { - 'ART_USE_READ_BARRIER' : 'true', - } + 'run-test' : ['--no-dex2oat'] }, 'art-heap-poisoning' : { 'run-test' : ['--interpreter', @@ -240,32 +204,24 @@ target_config = { 'run-test' : ['--pictest', '--prebuild', '--relocate', - '--jit'], - 'env' : { - 'ART_USE_READ_BARRIER' : 'true' - } + '--jit'] }, # ART gtest configurations # (calls make 'target' which builds and then runs the gtests). 'art-gtest' : { - 'make' : 'test-art-host-gtest', - 'env' : { - 'ART_USE_READ_BARRIER' : 'true' - } + 'make' : 'test-art-host-gtest' }, 'art-gtest-read-barrier': { 'make' : 'test-art-host-gtest', 'env' : { - 'ART_USE_READ_BARRIER' : 'true', 'ART_HEAP_POISONING' : 'true' } }, 'art-gtest-read-barrier-table-lookup': { 'make' : 'test-art-host-gtest', 'env': { - 'ART_USE_READ_BARRIER' : 'true', 'ART_READ_BARRIER_TYPE' : 'TABLELOOKUP', 'ART_HEAP_POISONING' : 'true' } |
