Selaa lähdekoodia

Run build tests with -ldebug

default_compile_flags
vector-of-bool 3 vuotta sitten
vanhempi
commit
afbf9aed65
2 muutettua tiedostoa jossa 4 lisäystä ja 2 poistoa
  1. +3
    -1
      tools/dds_ci/dds.py
  2. +1
    -1
      tools/dds_ci/testing/fixtures.py

+ 3
- 1
tools/dds_ci/dds.py Näytä tiedosto

@@ -90,7 +90,8 @@ class DDSWrapper:
root: Path,
toolchain: Optional[Path] = None,
build_root: Optional[Path] = None,
jobs: Optional[int] = None) -> None:
jobs: Optional[int] = None,
more_args: Optional[proc.CommandLine] = None) -> None:
"""
Run 'dds build' with the given arguments.

@@ -109,6 +110,7 @@ class DDSWrapper:
f'--jobs={jobs}',
f'{self.project_dir_flag}={root}',
f'--out={build_root}',
more_args or (),
])

def compile_file(self,

+ 1
- 1
tools/dds_ci/testing/fixtures.py Näytä tiedosto

@@ -80,7 +80,7 @@ class Project:
Execute 'dds build' on the project
"""
with tc_mod.fixup_toolchain(toolchain or tc_mod.get_default_test_toolchain()) as tc:
self.dds.build(root=self.root, build_root=self.build_root, toolchain=tc)
self.dds.build(root=self.root, build_root=self.build_root, toolchain=tc, more_args=['-ldebug'])

def compile_file(self, *paths: Pathish, toolchain: Optional[Pathish] = None) -> None:
with tc_mod.fixup_toolchain(toolchain or tc_mod.get_default_test_toolchain()) as tc:

Loading…
Peruuta
Tallenna