diff options
| -rwxr-xr-x | test/646-checker-hadd-alt-char/build | 20 | ||||
| -rwxr-xr-x | test/646-checker-hadd-alt-short/build | 20 | ||||
| -rwxr-xr-x | test/646-checker-hadd-char/build | 20 | ||||
| -rwxr-xr-x | test/646-checker-hadd-short/build | 20 | ||||
| -rwxr-xr-x | test/651-checker-short-simd-minmax/build | 20 | ||||
| -rwxr-xr-x | test/660-checker-simd-sad-short2/build | 20 | ||||
| -rw-r--r-- | test/testrunner/env.py | 4 | ||||
| -rwxr-xr-x | test/testrunner/testrunner.py | 2 |
8 files changed, 123 insertions, 3 deletions
diff --git a/test/646-checker-hadd-alt-char/build b/test/646-checker-hadd-alt-char/build new file mode 100755 index 0000000000..10ffcc537d --- /dev/null +++ b/test/646-checker-hadd-alt-char/build @@ -0,0 +1,20 @@ +#!/bin/bash +# +# Copyright 2017 The Android Open Source Project +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# See b/65168732 +export USE_D8=false + +./default-build "$@" diff --git a/test/646-checker-hadd-alt-short/build b/test/646-checker-hadd-alt-short/build new file mode 100755 index 0000000000..10ffcc537d --- /dev/null +++ b/test/646-checker-hadd-alt-short/build @@ -0,0 +1,20 @@ +#!/bin/bash +# +# Copyright 2017 The Android Open Source Project +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# See b/65168732 +export USE_D8=false + +./default-build "$@" diff --git a/test/646-checker-hadd-char/build b/test/646-checker-hadd-char/build new file mode 100755 index 0000000000..10ffcc537d --- /dev/null +++ b/test/646-checker-hadd-char/build @@ -0,0 +1,20 @@ +#!/bin/bash +# +# Copyright 2017 The Android Open Source Project +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# See b/65168732 +export USE_D8=false + +./default-build "$@" diff --git a/test/646-checker-hadd-short/build b/test/646-checker-hadd-short/build new file mode 100755 index 0000000000..10ffcc537d --- /dev/null +++ b/test/646-checker-hadd-short/build @@ -0,0 +1,20 @@ +#!/bin/bash +# +# Copyright 2017 The Android Open Source Project +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# See b/65168732 +export USE_D8=false + +./default-build "$@" diff --git a/test/651-checker-short-simd-minmax/build b/test/651-checker-short-simd-minmax/build new file mode 100755 index 0000000000..10ffcc537d --- /dev/null +++ b/test/651-checker-short-simd-minmax/build @@ -0,0 +1,20 @@ +#!/bin/bash +# +# Copyright 2017 The Android Open Source Project +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# See b/65168732 +export USE_D8=false + +./default-build "$@" diff --git a/test/660-checker-simd-sad-short2/build b/test/660-checker-simd-sad-short2/build new file mode 100755 index 0000000000..10ffcc537d --- /dev/null +++ b/test/660-checker-simd-sad-short2/build @@ -0,0 +1,20 @@ +#!/bin/bash +# +# Copyright 2017 The Android Open Source Project +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# See b/65168732 +export USE_D8=false + +./default-build "$@" diff --git a/test/testrunner/env.py b/test/testrunner/env.py index 55569629ea..92cc977f01 100644 --- a/test/testrunner/env.py +++ b/test/testrunner/env.py @@ -35,7 +35,7 @@ _DUMP_MANY_VARS_LIST = ['HOST_2ND_ARCH_PREFIX', 'HOST_OUT_EXECUTABLES', 'ANDROID_JAVA_TOOLCHAIN', 'ANDROID_COMPILE_WITH_JACK', - 'USE_D8_BY_DEFAULT'] + 'USE_D8'] _DUMP_MANY_VARS = None # To be set to a dictionary with above list being the keys, # and the build variable being the value. def _dump_many_vars(var_name): @@ -109,7 +109,7 @@ ANDROID_BUILD_TOP = _get_android_build_top() ANDROID_COMPILE_WITH_JACK = _get_build_var_boolean('ANDROID_COMPILE_WITH_JACK', 'default') # Follow the build system's D8 usage. -USE_D8_BY_DEFAULT = _get_build_var_boolean('USE_D8_BY_DEFAULT', False) +USE_D8 = _get_build_var_boolean('USE_D8', False) # Directory used for temporary test files on the host. ART_HOST_TEST_DIR = tempfile.mkdtemp(prefix = 'test-art-') diff --git a/test/testrunner/testrunner.py b/test/testrunner/testrunner.py index e7503827f2..20a0cd93e5 100755 --- a/test/testrunner/testrunner.py +++ b/test/testrunner/testrunner.py @@ -460,7 +460,7 @@ def run_tests(tests): elif env.ANDROID_COMPILE_WITH_JACK == False: options_test += ' --build-with-javac-dx' - if env.USE_D8_BY_DEFAULT == True: + if env.USE_D8 == True: options_test += ' --build-with-d8' # TODO(http://36039166): This is a temporary solution to |