Parcourir la source

Use correct executable suffix in tests on Windows

default_compile_flags
vector-of-bool il y a 5 ans
Parent
révision
e077956568
1 fichiers modifiés avec 2 ajouts et 1 suppressions
  1. +2
    -1
      tools/ci.py

+ 2
- 1
tools/ci.py Voir le fichier

@@ -99,11 +99,12 @@ def main(argv: Sequence[str]) -> int:
f'-T{opts.toolchain}',
])

exe_suffix = '.exe' if os.name == 'nt' else ''
subprocess.check_call([
sys.executable,
'-u',
str(TOOLS_DIR / 'test.py'),
f'--exe={PROJECT_ROOT / "_build/dds"}',
f'--exe={PROJECT_ROOT / f"_build/dds{exe_suffix}"}',
f'-T{opts.toolchain}',
])


Chargement…
Annuler
Enregistrer