aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/test/java/com/google/devtools/build/lib/testutil/TestConstants.java
diff options
context:
space:
mode:
authorGravatar Ulf Adams <ulfjack@google.com>2015-04-17 13:16:51 +0000
committerGravatar Damien Martin-Guillerez <dmarting@google.com>2015-04-17 15:42:49 +0000
commitd87465e66cd282c99496dc68cf94f7de5f04ab90 (patch)
tree4c8640846dc03b62f9174998c147143e9c41f6dd /src/test/java/com/google/devtools/build/lib/testutil/TestConstants.java
parent8b5cb2e076378572219cabdb088e8dddd679d0a0 (diff)
Open source the configuration tests.
- update the MOCK_CROSSTOOL to provide more stuff needed by tests - add a THIS_IS_BAZEL constant to allow disabling individual test cases - disable some tests in Bazel The disabled tests are mainly due to differences in the test setup - making the test setups more similar will largely fix that. I think we'll make some changes to our internal setup, too, not just the external one. For example, the use of 'k8' and 'piii' to refer to 'x86_64' and 'x86' seems archaic. I decided to leave the dependency on the C++ and Java configurations rather than rewriting the tests to use mock configurations. That would be nicer, but also requires significantly more work. -- MOS_MIGRATED_REVID=91399406
Diffstat (limited to 'src/test/java/com/google/devtools/build/lib/testutil/TestConstants.java')
-rw-r--r--src/test/java/com/google/devtools/build/lib/testutil/TestConstants.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/test/java/com/google/devtools/build/lib/testutil/TestConstants.java b/src/test/java/com/google/devtools/build/lib/testutil/TestConstants.java
index 66c8a1cf22..2bae9b9335 100644
--- a/src/test/java/com/google/devtools/build/lib/testutil/TestConstants.java
+++ b/src/test/java/com/google/devtools/build/lib/testutil/TestConstants.java
@@ -56,4 +56,6 @@ public class TestConstants {
public static final String TEST_RULE_CLASS_PROVIDER =
"com.google.devtools.build.lib.bazel.rules.BazelRuleClassProvider";
public static final ImmutableList<String> IGNORED_MESSAGE_PREFIXES = ImmutableList.<String>of();
+
+ public static final boolean THIS_IS_BAZEL = true;
}