@ -1,6 +1,6 @@
#!/usr/bin/env python3
#!/usr/bin/env python3
# SPDX-License-Identifier: Apache-2.0
# SPDX-License-Identifier: Apache-2.0
# Copyright © 2021-2023 Intel Corporation
# Copyright © 2021-2024 Intel Corporation
""" Script for running a single project test.
""" Script for running a single project test.
@ -15,7 +15,7 @@ import typing as T
from mesonbuild import mlog
from mesonbuild import mlog
from run_tests import handle_meson_skip_test
from run_tests import handle_meson_skip_test
from run_project_tests import TestDef , load_test_json , run_test , BuildStep
from run_project_tests import TestDef , load_test_json , run_test , BuildStep
from run_project_tests import setup_commands , detect_system_compiler , print_tool_version s
from run_project_tests import setup_commands , detect_system_compiler , detect_tool s
if T . TYPE_CHECKING :
if T . TYPE_CHECKING :
from run_project_tests import CompilerArgumentType
from run_project_tests import CompilerArgumentType
@ -47,7 +47,7 @@ def main() -> None:
setup_commands ( args . backend )
setup_commands ( args . backend )
if not args . quick :
if not args . quick :
detect_system_compiler ( args )
detect_system_compiler ( args )
print_tool_versions ( )
detect_tools ( not args . quick )
test = TestDef ( args . case , args . case . stem , [ ] )
test = TestDef ( args . case , args . case . stem , [ ] )
tests = load_test_json ( test , False )
tests = load_test_json ( test , False )