aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/java/com/google/devtools/build/lib/rules/test/TestRunnerAction.java
diff options
context:
space:
mode:
authorGravatar Dmitry Lomov <dslomov@google.com>2016-06-21 12:04:34 +0000
committerGravatar Philipp Wollermann <philwo@google.com>2016-06-21 12:24:19 +0000
commita148b4c25a7e343eac6a9a972f482711f8bef944 (patch)
treeda63f4fb5871d974096a2f37d432af393c2a45ba /src/main/java/com/google/devtools/build/lib/rules/test/TestRunnerAction.java
parent83131623f73bde31ba51f4ceda7fa601a5b122c3 (diff)
Disable runfiles on Windows.
This adds a new configuration option that allows disabling the creation of symlink forest for runfiles. On Windows, symlink forest is disabled by default; only the runfiles manifest is created. For shell tests, a function 'rlocation' is provided that converts from runfiles location to a real location. Work towards #1212. -- MOS_MIGRATED_REVID=125439553
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/rules/test/TestRunnerAction.java')
-rw-r--r--src/main/java/com/google/devtools/build/lib/rules/test/TestRunnerAction.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/rules/test/TestRunnerAction.java b/src/main/java/com/google/devtools/build/lib/rules/test/TestRunnerAction.java
index 687d6228a4..473ec92069 100644
--- a/src/main/java/com/google/devtools/build/lib/rules/test/TestRunnerAction.java
+++ b/src/main/java/com/google/devtools/build/lib/rules/test/TestRunnerAction.java
@@ -562,6 +562,10 @@ public class TestRunnerAction extends AbstractAction implements NotifyOnActionCa
return configuration.getLocalShellEnvironment();
}
+ public boolean isEnableRunfiles() {
+ return configuration.runfilesEnabled();
+ }
+
/**
* The same set of paths as the parent test action, resolved against a given exec root.
*/