Skip to content

Commit

Permalink
chore: try to see why diff tests fail on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
alexeagle committed Oct 10, 2023
1 parent 70418b1 commit 801d4ba
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
2 changes: 2 additions & 0 deletions internal_deps.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ def bazel_lib_internal_deps():

http_archive(
name = "bazel_skylib",
patch_args = ["-p1"],
patches = ["//:skylib.patch"],
sha256 = "66ffd9315665bfaafc96b52278f57c7e2dd09f5ede279ea6d39b2be471e7e3aa",
urls = [
"https://github.com/bazelbuild/bazel-skylib/releases/download/1.4.2/bazel-skylib-1.4.2.tar.gz",
Expand Down
15 changes: 15 additions & 0 deletions skylib.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
diff --git a/rules/diff_test.bzl b/rules/diff_test.bzl
index 0f27f35..53d680b 100644
--- a/rules/diff_test.bzl
+++ b/rules/diff_test.bzl
@@ -171,9 +171,6 @@ def diff_test(name, file1, file2, failure_message = None, **kwargs):
file1 = file1,
file2 = file2,
failure_message = failure_message,
- is_windows = select({
- "@bazel_tools//src/conditions:host_windows": True,
- "//conditions:default": False,
- }),
+ is_windows = False,
**kwargs
)

0 comments on commit 801d4ba

Please sign in to comment.