瀏覽代碼

Use correct executable suffix in tests on Windows

default_compile_flags
vector-of-bool 6 年之前
父節點
當前提交
e077956568
共有 1 個檔案被更改,包括 2 行新增1 行删除
  1. +2
    -1
      tools/ci.py

+ 2
- 1
tools/ci.py 查看文件

f'-T{opts.toolchain}', f'-T{opts.toolchain}',
]) ])


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



Loading…
取消
儲存