From 3f00727b700e5591218934d7a8df164cd572be65 Mon Sep 17 00:00:00 2001 From: dslomov Date: Mon, 3 Apr 2017 18:54:48 +0000 Subject: Add "--build_manual_tests" options that forces manual tests to be built. This is useful for IDEs and other tools utilizing command-line aspects for reflection over build graph. RELNOTES: None. PiperOrigin-RevId: 152038248 --- .../com/google/devtools/build/lib/pkgcache/LoadingOptions.java | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/main/java/com/google/devtools/build/lib/pkgcache') diff --git a/src/main/java/com/google/devtools/build/lib/pkgcache/LoadingOptions.java b/src/main/java/com/google/devtools/build/lib/pkgcache/LoadingOptions.java index 63938e9677..b67eceea1e 100644 --- a/src/main/java/com/google/devtools/build/lib/pkgcache/LoadingOptions.java +++ b/src/main/java/com/google/devtools/build/lib/pkgcache/LoadingOptions.java @@ -105,6 +105,15 @@ public class LoadingOptions extends OptionsBase { ) public List testLangFilterList; + @Option(name = "build_manual_tests", + defaultValue = "false", + category = "what", + help = "Forces test targets tagged 'manual' to be built. " + + "'manual' tests are excluded from processing. This option forces " + + "them to be built (but not executed)." + ) + public boolean buildManualTests; + // If this option is set, the value of experimental_interleave_loading_and_analysis is completely // ignored. This enables a different LoadingPhaseRunner implementation which doesn't implement // the loading phase at all, and therefore can't currently support the other flag. If we roll this -- cgit v1.2.3