Expose methods for the undeclared outputs and annotations directories
This is part of a sequence of changes to update the test strategies; most of
the actual code changes in this specific change is Google-internal, but I'm
planning to update the external test strategies as well.
--
PiperOrigin-RevId: 144064802
MOS_MIGRATED_REVID=144064802
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 db3f583..20607f4 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
@@ -420,6 +420,10 @@
return splitLogsPath;
}
+ public PathFragment getUndeclaredOutputsDir() {
+ return undeclaredOutputsDir;
+ }
+
/**
* @return path to the optional zip file of undeclared test outputs.
*/
@@ -434,6 +438,10 @@
return undeclaredOutputsManifestPath;
}
+ public PathFragment getUndeclaredOutputsAnnotationsDir() {
+ return undeclaredOutputsAnnotationsDir;
+ }
+
/**
* @return path to the undeclared output annotations file.
*/