From 4b71d2e1bc3afa0ce0a5b6e68dac3c559654d975 Mon Sep 17 00:00:00 2001 From: Kristina Chodorow Date: Tue, 3 May 2016 15:06:39 +0000 Subject: Set the default workspace name to __main__ See https://github.com/bazelbuild/bazel/wiki/Updating-the-runfiles-tree-structure for more details about this change. RELNOTES[INC]: Bazel will now default to using __main__ as the workspace name (instead of "", as previously) if a project does not provide a workspace name in the WORKSPACE file. The repository's runfiles will appear under x.runfiles/__main__/. -- MOS_MIGRATED_REVID=121376094 --- src/test/java/com/google/devtools/build/lib/testutil/TestConstants.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/test/java/com/google/devtools') 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 a14172f55c..cab180b1a5 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 @@ -43,7 +43,7 @@ public class TestConstants { /** * Default workspace name. */ - public static final String WORKSPACE_NAME = ""; + public static final String WORKSPACE_NAME = "__main__"; /** * Name of a class with an INSTANCE field of type AnalysisMock to be used for analysis tests. -- cgit v1.2.3