File tree Expand file tree Collapse file tree 2 files changed +6
-7
lines changed Expand file tree Collapse file tree 2 files changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -74,7 +74,12 @@ source "${RUNFILES_DIR:-/dev/null}/$f" 2>/dev/null || \
74
74
# Case 6a is handled like case 3.
75
75
if [ " ${TEST_SRCDIR:- } " ]; then
76
76
# Case 4, bazel has identified runfiles for us.
77
- RUNFILES=" $TEST_SRCDIR "
77
+ if [ " $( is_windows) " -eq " 1" ]; then
78
+ # If Windows, normalize the path
79
+ RUNFILES=$( normalize_windows_path " $TEST_SRCDIR " )
80
+ else
81
+ RUNFILES=" $TEST_SRCDIR "
82
+ fi
78
83
elif [ " ${RUNFILES_MANIFEST_FILE:- } " ]; then
79
84
if [ " $( is_windows) " -eq " 1" ]; then
80
85
# If Windows, normalize the path
Original file line number Diff line number Diff line change @@ -58,12 +58,6 @@ describe('launcher.sh environment', function() {
58
58
`${ runfilesRoot } ` ,
59
59
`${ runfilesRoot } /build_bazel_rules_nodejs/node_modules` ,
60
60
] ;
61
- if ( isWindows ) {
62
- expectedRoots . push (
63
- process . env [ 'RUNFILES' ] ,
64
- `${ process . env [ 'RUNFILES' ] } /build_bazel_rules_nodejs/node_modules`
65
- ) ;
66
- }
67
61
expectPathsToMatch ( process . env [ 'BAZEL_PATCH_ROOTS' ] . split ( ',' ) , expectedRoots ) ;
68
62
} ) ;
69
63
You can’t perform that action at this time.
0 commit comments