summaryrefslogtreecommitdiff
path: root/test/2005-pause-all-redefine-multithreaded/build.py
diff options
context:
space:
mode:
author David Srbecky <dsrbecky@google.com> 2022-10-20 15:22:19 +0100
committer David Srbecky <dsrbecky@google.com> 2022-10-21 09:37:29 +0000
commitf767f7384bed37df5183abee9e15cefe352d297e (patch)
treef6d2f31460060f2ed2bfeacc5b1d01800b8f3d06 /test/2005-pause-all-redefine-multithreaded/build.py
parentad82439c50ee46e5ebf980579863f983b3cbe10d (diff)
Run-tests: Remove buildfailures.json
Since the per-test script is a method now, we can easily exclude tests by just returning. This has the side effect that directory with sources is still created rather then being completely omitted. But since the test will not be run, that is harmless. Test: The (used) build artifacts are identical. Change-Id: Ice728d654950dc6b47972306ed6ef9de337af833
Diffstat (limited to 'test/2005-pause-all-redefine-multithreaded/build.py')
-rw-r--r--test/2005-pause-all-redefine-multithreaded/build.py20
1 files changed, 20 insertions, 0 deletions
diff --git a/test/2005-pause-all-redefine-multithreaded/build.py b/test/2005-pause-all-redefine-multithreaded/build.py
new file mode 100644
index 0000000000..7025b8150a
--- /dev/null
+++ b/test/2005-pause-all-redefine-multithreaded/build.py
@@ -0,0 +1,20 @@
+#
+# Copyright (C) 2022 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.
+
+
+def build(ctx):
+ if ctx.jvm:
+ return # The test does not build on JVM
+ ctx.default_build()