Commit 7044ede9 authored by Tom Niget's avatar Tom Niget

Fix test runner

parent e438908b
ALT_RUNNER='(g++-13 -O3 -Wno-deprecated-declarations -Wno-return-type -Wno-unused-result -std=c++20 -o {name_bin} {name_cpp_posix} $(python3 __main__.py --cpp-flags {bonus_flags}) || exit 2) && ({run_file} || exit 0) && (echo "** Running"; {test_exec} || exit 3)'
ALT_RUNNER='(g++-13 -O3 -Wno-deprecated-declarations -Wno-return-type -Wno-unused-result -std=c++20 -o {name_bin} {name_cpp_posix} $(python3 __main__.py --cpp-flags {bonus_flags}) || exit 2) && ({run_file} || exit 7) && (echo "** Running"; {test_exec} || exit 3)'
# don't use Windows SSH client
\ No newline at end of file
......@@ -44,10 +44,12 @@ class TestStatus(enum.Enum):
SKIPPED = 4
PYTHON_ERROR = 5
TIMEOUT = 6
NOT_RAN = 7
def ascii(self):
color, msg = {
TestStatus.SUCCESS: (cf.green, "✓"),
TestStatus.NOT_RAN: (cf.green, "✓ built"),
TestStatus.TYPON_ERROR: (cf.red, "Typon"),
TestStatus.CLANG_ERROR: (cf.red, "C++"),
TestStatus.RUNTIME_ERROR: (cf.red, "Run"),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment