commit | 3b876801cb4051d30808fbd1e3aa9d079d08711f | [log] [tgz] |
---|---|---|
author | Han-Wen Nienhuys <hanwen@google.com> | Mon Sep 28 16:40:43 2015 +0000 |
committer | Florian Weikert <fwe@google.com> | Wed Sep 30 09:31:47 2015 +0000 |
tree | 6bbb6cdf54963799cebf47f7a4e8e3cf12bfa499 | |
parent | 08fdffc17ebd424369c445bd11c7b23ac50e152a [diff] |
Move test setup script up in the hierarchy. -- MOS_MIGRATED_REVID=104107730
diff --git a/src/main/java/com/google/devtools/build/lib/rules/test/StandaloneTestStrategy.java b/src/main/java/com/google/devtools/build/lib/rules/test/StandaloneTestStrategy.java index eb1fde5..dc39fbe 100644 --- a/src/main/java/com/google/devtools/build/lib/rules/test/StandaloneTestStrategy.java +++ b/src/main/java/com/google/devtools/build/lib/rules/test/StandaloneTestStrategy.java
@@ -63,8 +63,6 @@ this.workspace = workspace; } - private static final String TEST_SETUP_BASENAME = "test-setup.sh"; - @Override public void exec(TestRunnerAction action, ActionExecutionContext actionExecutionContext) throws ExecException, InterruptedException {
diff --git a/src/main/java/com/google/devtools/build/lib/rules/test/TestStrategy.java b/src/main/java/com/google/devtools/build/lib/rules/test/TestStrategy.java index 329e995..3ed38f6 100644 --- a/src/main/java/com/google/devtools/build/lib/rules/test/TestStrategy.java +++ b/src/main/java/com/google/devtools/build/lib/rules/test/TestStrategy.java
@@ -59,6 +59,8 @@ * A strategy for executing a {@link TestRunnerAction}. */ public abstract class TestStrategy implements TestActionContext { + protected static final String TEST_SETUP_BASENAME = "test-setup.sh"; + /** * Returns true if coverage data should be gathered. */