-
Notifications
You must be signed in to change notification settings - Fork 543
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
33 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
diff --git rules/diff_test.bzl rules/diff_test.bzl | ||
index 0f27f35..36da606 100644 | ||
--- rules/diff_test.bzl | ||
+++ rules/diff_test.bzl | ||
@@ -32,7 +32,7 @@ def _diff_test_impl(ctx): | ||
ctx.actions.write( | ||
output = test_bin, | ||
content = """@rem Generated by diff_test.bzl, do not edit. | ||
-@echo off | ||
+@echo on | ||
SETLOCAL ENABLEEXTENSIONS | ||
SETLOCAL ENABLEDELAYEDEXPANSION | ||
set MF=%RUNFILES_MANIFEST_FILE:/=\\% | ||
@@ -79,7 +79,11 @@ if "!RF2!" equ "" ( | ||
exit /b 1 | ||
) | ||
) | ||
-fc.exe 2>NUL 1>NUL /B "!RF1!" "!RF2!" | ||
+echo "!RF1!" | ||
+echo "!RF2!" | ||
+REM type "!RF1!" | ||
+REM type "!RF2!" | ||
+fc.exe "!RF1!" "!RF2!" | ||
if %ERRORLEVEL% neq 0 ( | ||
if %ERRORLEVEL% equ 1 ( | ||
echo>&2 FAIL: files "{file1}" and "{file2}" differ. {fail_msg} |