test: Enable checker tests for javac/dx
173/180 checker tests passing, the other failing 7 tests added to blacklist.
Test: ANDROID_COMPILE_WITH_JACK=false art/test.py
Bug: 62950048
Bug: 36902714
Change-Id: I6e762efdb2de17c3b3d774e462781b7ab1a2ad73
diff --git a/test/knownfailures.json b/test/knownfailures.json
index 7bfa417..db993b7 100644
--- a/test/knownfailures.json
+++ b/test/knownfailures.json
@@ -602,6 +602,20 @@
},
{
"tests": [
+ "458-checker-instruct-simplification",
+ "536-checker-intrinsic-optimization",
+ "565-checker-doublenegbitwise",
+ "567-checker-compare",
+ "586-checker-null-array-get",
+ "593-checker-boolean-2-integral-conv",
+ "633-checker-rtp-getclass"
+ ],
+ "description": "Checker tests failing when run with --build-with-javac-dx.",
+ "env_vars": {"ANDROID_COMPILE_WITH_JACK": "false"},
+ "bug": "b/62950048"
+ },
+ {
+ "tests": [
"536-checker-needs-access-check",
"537-checker-inline-and-unverified",
"569-checker-pattern-replacement",
diff --git a/test/run-test b/test/run-test
index e6c2480..9fe1496 100755
--- a/test/run-test
+++ b/test/run-test
@@ -749,7 +749,7 @@
# Tests named '<number>-checker-*' will also have their CFGs verified with
# Checker when compiled with Optimizing on host.
if [[ "$TEST_NAME" =~ ^[0-9]+-checker- ]]; then
- if [ "$runtime" = "art" -a "$image_suffix" = "" -a "$USE_JACK" = "true" ]; then
+ if [ "$runtime" = "art" -a "$image_suffix" = "" ]; then
# In no-prebuild or no-image mode, the compiler only quickens so disable the checker.
if [ "$prebuild_mode" = "yes" -a "$have_image" = "yes" ]; then
run_checker="yes"