Extend ART/D8 testing with a subsequent R8/debug step, also:
add CompilationMode support for TestConditions
Bug:
Change-Id: Ic8af625d6df971914a2f5d8452889d53b9ab1469
diff --git a/tools/create_art_tests.py b/tools/create_art_tests.py
index 3a83cbc..69d2be7 100755
--- a/tools/create_art_tests.py
+++ b/tools/create_art_tests.py
@@ -63,9 +63,13 @@
for dir in dirs:
class_name = "Art" + dir.replace("-", "_") + "Test"
for tool in TOOLS:
+ if tool == "d8" and toolchain == "none":
+ tool_enum = 'R8DEBUG_AFTER_D8'
+ else:
+ tool_enum = upper(tool)
contents = TEMPLATE.substitute(
name=dir,
- compilerUnderTestEnum=upper(tool),
+ compilerUnderTestEnum=tool_enum,
compilerUnderTest=tool,
testGeneratingToolchain=toolchain,
testGeneratingToolchainEnum=upper(toolchain),