Commit edeb98c
fix(bazel): symlink structure_test binary to .exe on Windows (upstream GoogleContainerTools#559)
On Windows the extensionless toolchain binary triggers an "Open With"
dialog, so Bazel reports the structure test as PASSED while running zero
tests (silent false-pass, issue GoogleContainerTools#557). Declare a .exe symlink and use it
as test_bin before its consumers, gated on the existing is_windows
computation (which is hoisted up and de-duplicated). Linux/macOS are
unaffected.
Co-authored-by: peakschris <77508021+peakschris@users.noreply.github.com>
Upstream-PR: GoogleContainerTools#5591 parent 50ebe70 commit edeb98c
1 file changed
Lines changed: 11 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
54 | 65 | | |
55 | 66 | | |
56 | 67 | | |
| |||
99 | 110 | | |
100 | 111 | | |
101 | 112 | | |
102 | | - | |
103 | 113 | | |
104 | 114 | | |
105 | 115 | | |
| |||
0 commit comments