diff options
Diffstat (limited to 'src/test/java/com/google/devtools/build/lib/rules')
5 files changed, 7 insertions, 7 deletions
diff --git a/src/test/java/com/google/devtools/build/lib/rules/android/AndroidSkylarkSplitTransitionTest.java b/src/test/java/com/google/devtools/build/lib/rules/android/AndroidSkylarkSplitTransitionTest.java index 738356f258..e2cfd36763 100644 --- a/src/test/java/com/google/devtools/build/lib/rules/android/AndroidSkylarkSplitTransitionTest.java +++ b/src/test/java/com/google/devtools/build/lib/rules/android/AndroidSkylarkSplitTransitionTest.java @@ -54,7 +54,7 @@ public class AndroidSkylarkSplitTransitionTest extends BuildViewTestCase { scratch.file( "test/skylark/BUILD", - "load('/test/skylark/my_rule', 'my_rule')", + "load('//test/skylark:my_rule.bzl', 'my_rule')", "my_rule(name = 'test', deps = [':main1', ':main2'], dep = ':main1')", "cc_binary(name = 'main1', srcs = ['main1.c'])", "cc_binary(name = 'main2', srcs = ['main2.c'])"); diff --git a/src/test/java/com/google/devtools/build/lib/rules/apple/SwiftConfigurationTest.java b/src/test/java/com/google/devtools/build/lib/rules/apple/SwiftConfigurationTest.java index 96b352e4e3..ab8471fa64 100644 --- a/src/test/java/com/google/devtools/build/lib/rules/apple/SwiftConfigurationTest.java +++ b/src/test/java/com/google/devtools/build/lib/rules/apple/SwiftConfigurationTest.java @@ -47,7 +47,7 @@ public class SwiftConfigurationTest extends BuildViewTestCase { scratch.file( "examples/swift_skylark/BUILD", "package(default_visibility = ['//visibility:public'])", - "load('/examples/rule/apple_rules', 'swift_binary')", + "load('//examples/rule:apple_rules.bzl', 'swift_binary')", "swift_binary(", " name='my_target',", ")"); diff --git a/src/test/java/com/google/devtools/build/lib/rules/apple/XcodeVersionTest.java b/src/test/java/com/google/devtools/build/lib/rules/apple/XcodeVersionTest.java index ce8a890a23..060c01a90b 100644 --- a/src/test/java/com/google/devtools/build/lib/rules/apple/XcodeVersionTest.java +++ b/src/test/java/com/google/devtools/build/lib/rules/apple/XcodeVersionTest.java @@ -56,7 +56,7 @@ public final class XcodeVersionTest extends BuildViewTestCase { scratch.file( "examples/apple_skylark/BUILD", "package(default_visibility = ['//visibility:public'])", - "load('/examples/rule/apple_rules', 'my_rule')", + "load('//examples/rule:apple_rules.bzl', 'my_rule')", "my_rule(", " name = 'my_target',", " xcode = ':my_xcode',", diff --git a/src/test/java/com/google/devtools/build/lib/rules/objc/IosDeviceTest.java b/src/test/java/com/google/devtools/build/lib/rules/objc/IosDeviceTest.java index 6fed27e237..02e58ba134 100644 --- a/src/test/java/com/google/devtools/build/lib/rules/objc/IosDeviceTest.java +++ b/src/test/java/com/google/devtools/build/lib/rules/objc/IosDeviceTest.java @@ -128,7 +128,7 @@ public class IosDeviceTest extends BuildViewTestCase { scratch.file( "examples/apple_skylark/BUILD", "package(default_visibility = ['//visibility:public'])", - "load('/examples/rule/apple_rules', 'my_rule')", + "load('//examples/rule:apple_rules.bzl', 'my_rule')", "my_rule(", " name = 'my_target',", " ios_device = ':my_device',", diff --git a/src/test/java/com/google/devtools/build/lib/rules/test/SkylarkTestingModuleTest.java b/src/test/java/com/google/devtools/build/lib/rules/test/SkylarkTestingModuleTest.java index 7d3fa728d8..d2bfd5b954 100644 --- a/src/test/java/com/google/devtools/build/lib/rules/test/SkylarkTestingModuleTest.java +++ b/src/test/java/com/google/devtools/build/lib/rules/test/SkylarkTestingModuleTest.java @@ -43,7 +43,7 @@ public class SkylarkTestingModuleTest extends BuildViewTestCase { scratch.file( "examples/apple_skylark/BUILD", "package(default_visibility = ['//visibility:public'])", - "load('/examples/rule/apple_rules', 'my_rule')", + "load('//examples/rule:apple_rules.bzl', 'my_rule')", "my_rule(", " name = 'my_target',", ")"); @@ -68,7 +68,7 @@ public class SkylarkTestingModuleTest extends BuildViewTestCase { scratch.file( "examples/apple_skylark/BUILD", "package(default_visibility = ['//visibility:public'])", - "load('/examples/rule/apple_rules', 'my_rule')", + "load('//examples/rule:apple_rules.bzl', 'my_rule')", "my_rule(", " name = 'my_target',", ")"); @@ -96,7 +96,7 @@ public class SkylarkTestingModuleTest extends BuildViewTestCase { scratch.file( "examples/apple_skylark/BUILD", "package(default_visibility = ['//visibility:public'])", - "load('/examples/rule/apple_rules', 'my_rule_test')", + "load('//examples/rule:apple_rules.bzl', 'my_rule_test')", "my_rule_test(", " name = 'my_target',", ")"); |