diff options
| -rw-r--r-- | compiler-rt/test/asan/TestCases/Android/coverage-android.cc | 8 | ||||
| -rw-r--r-- | compiler-rt/test/asan/TestCases/Android/lit.local.cfg | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/compiler-rt/test/asan/TestCases/Android/coverage-android.cc b/compiler-rt/test/asan/TestCases/Android/coverage-android.cc index 071a2e3e1fa..ca72badf786 100644 --- a/compiler-rt/test/asan/TestCases/Android/coverage-android.cc +++ b/compiler-rt/test/asan/TestCases/Android/coverage-android.cc @@ -1,8 +1,8 @@ // Test for direct coverage writing with dlopen. // Test normal exit. -// RUN: %clangxx_asan -mllvm -asan-coverage=1 -DSHARED %s -shared -o %T/libcoverage_android_test_1.so -fPIC -// RUN: %clangxx_asan -mllvm -asan-coverage=1 -DSO_DIR=\"%device\" %s -o %t +// RUN: %clangxx_asan -fsanitize-coverage=1 -DSHARED %s -shared -o %T/libcoverage_android_test_1.so -fPIC +// RUN: %clangxx_asan -fsanitize-coverage=1 -DSO_DIR=\"%device\" %s -o %t // RUN: adb shell rm -rf %device/coverage-android // RUN: rm -rf %T/coverage-android @@ -18,8 +18,8 @@ // Test sudden death. -// RUN: %clangxx_asan -mllvm -asan-coverage=1 -DSHARED -DKILL %s -shared -o %T/libcoverage_android_test_1.so -fPIC -// RUN: %clangxx_asan -mllvm -asan-coverage=1 -DSO_DIR=\"%device\" %s -o %t +// RUN: %clangxx_asan -fsanitize-coverage=1 -DSHARED -DKILL %s -shared -o %T/libcoverage_android_test_1.so -fPIC +// RUN: %clangxx_asan -fsanitize-coverage=1 -DSO_DIR=\"%device\" %s -o %t // RUN: adb shell rm -rf %device/coverage-android-kill // RUN: rm -rf %T/coverage-android-kill diff --git a/compiler-rt/test/asan/TestCases/Android/lit.local.cfg b/compiler-rt/test/asan/TestCases/Android/lit.local.cfg index 42513dd3aa6..63a6e52826a 100644 --- a/compiler-rt/test/asan/TestCases/Android/lit.local.cfg +++ b/compiler-rt/test/asan/TestCases/Android/lit.local.cfg @@ -5,7 +5,7 @@ def getRoot(config): root = getRoot(config) -if root.android != "TRUE": +if root.android != "1": config.unsupported = True config.substitutions.append( ("%device", "/data/local/tmp/Output") ) |

