Skip to content

Commit

Permalink
Fix test failure on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
fmeum committed Feb 17, 2022
1 parent 2e197fd commit a72597a
Showing 1 changed file with 4 additions and 12 deletions.
16 changes: 4 additions & 12 deletions src/test/shell/bazel/bazel_rules_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -608,18 +608,10 @@ EOF
cat >pkg/rules.bzl <<'EOF'
_SCRIPT_EXT = ".bat"
_SCRIPT_CONTENT = """@ECHO OFF
if NOT "%FIXED_ONLY%" == "fixed" {
exit /B 1
}
if NOT "%FIXED_AND_INHERITED%" == "inherited" {
exit /B 1
}
if NOT "%FIXED_AND_INHERITED_BUT_NOT_SET%" == "fixed" {
exit /B 1
}
if NOT "%INHERITED_ONLY%" == "inherited" {
exit /B 1
}
if not "%FIXED_ONLY%" == "fixed" exit /B 1
if not "%FIXED_AND_INHERITED%" == "inherited" exit /B 1
if not "%FIXED_AND_INHERITED_BUT_NOT_SET%" == "fixed" exit /B 1
if not "%INHERITED_ONLY%" == "inherited" exit /B 1
"""
EOF
else
Expand Down

0 comments on commit a72597a

Please sign in to comment.