Sfoglia il codice sorgente

Fix tests: Pass toolchain file through as absolute path

default_compile_flags
vector-of-bool 5 anni fa
parent
commit
ccf8e021b0
1 ha cambiato i file con 4 aggiunte e 1 eliminazioni
  1. +4
    -1
      tools/test.py

+ 4
- 1
tools/test.py Vedi File

@@ -139,7 +139,10 @@ def main(argv: List[str]) -> int:
)
args = parser.parse_args(argv)

opts = TestOptions(exe=Path(args.exe).absolute(), toolchain=args.toolchain)
tc = args.toolchain
if not tc.startswith(':'):
tc = Path(tc).absolute()
opts = TestOptions(exe=Path(args.exe).absolute(), toolchain=tc)

if not args.skip_bootstrap_test and not bootstrap_self(opts):
return 2

Loading…
Annulla
Salva