Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
T
typon-compiler
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
typon
typon-compiler
Commits
7044ede9
Commit
7044ede9
authored
Mar 27, 2024
by
Tom Niget
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix test runner
parent
e438908b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
typon/trans/.env.example
typon/trans/.env.example
+1
-1
typon/trans/test_runner.py
typon/trans/test_runner.py
+2
-0
No files found.
typon/trans/.env.example
View file @
7044ede9
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
typon/trans/test_runner.py
View file @
7044ede9
...
...
@@ -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"
),
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment