diff --git a/src/tests/make_test_list.py b/src/tests/make_test_list.py index dc7913ee8bd..effc2fc9463 100644 --- a/src/tests/make_test_list.py +++ b/src/tests/make_test_list.py @@ -4,6 +4,7 @@ import os import subprocess +import sys from pathlib import Path from typing import Any @@ -23,8 +24,8 @@ def get_makefile_envs(): ) if result.returncode != 0: - logger.error("ERROR: Failed to load environment variables from Makefile.envs") - exit_with_stdio(result) + print("ERROR: Failed to load environment variables from Makefile.envs") + sys.exit(1) environment = {} for line in result.stdout.splitlines():