Przeglądaj źródła

Unbuffered mode for Python subprocesses

default_compile_flags
vector-of-bool 5 lat temu
rodzic
commit
5a28d4560c
1 zmienionych plików z 6 dodań i 4 usunięć
  1. +6
    -4
      tools/ci.py

+ 6
- 4
tools/ci.py Wyświetl plik

print('Running bootstrap') print('Running bootstrap')
subprocess.check_call([ subprocess.check_call([
sys.executable, sys.executable,
TOOLS_DIR / 'bootstrap.py',
'-u',
str(TOOLS_DIR / 'bootstrap.py'),
f'--cxx={opts.cxx}', f'--cxx={opts.cxx}',
]) ])


_do_bootstrap(opts) _do_bootstrap(opts)


subprocess.check_call([ subprocess.check_call([
PREBUILT_DDS,
str(PREBUILT_DDS),
'deps', 'deps',
'build', 'build',
f'-T{opts.toolchain}', f'-T{opts.toolchain}',
]) ])


subprocess.check_call([ subprocess.check_call([
PREBUILT_DDS,
str(PREBUILT_DDS),
'build', 'build',
'--full', '--full',
f'-T{opts.toolchain}', f'-T{opts.toolchain}',


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

Ładowanie…
Anuluj
Zapisz