Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
IPDSnelting
mjtest-tests
Commits
2f9b23be
Commit
2f9b23be
authored
Dec 28, 2021
by
I-Al-Istannen
Browse files
Stream flammenwehrfer output so you get something if it times out
parent
fb2210ec
Pipeline
#184530
failed with stage
in 25 minutes and 29 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
flammenwehrfer.sh
View file @
2f9b23be
...
...
@@ -32,8 +32,12 @@ GITHUB_URL="https://api.github.com/repos/$GITHUB_PATH"
# | | __/\__ \ |_| | | | | (_| | _ _ _
# |_|\___||___/\__|_|_| |_|\__, | (_) (_) (_)
# |___/
MJ_OUTPUT
=
"
$(
/mjtest/mjt.py lexer syntax ast semantic compile-firm /compiler-under-test/run 2>&1
)
"
# Create copy of stdout to capture and stream stdout in subshell
exec
3>&1
MJ_OUTPUT
=
"
$(
/mjtest/mjt.py lexer syntax ast semantic compile-firm /compiler-under-test/run 2>&1 |
tee
/dev/fd/3
)
"
MJ_EXIT_CODE
=
"
$?
"
# Close copy
exec
3>&-
if
[[
"
$USE_FLAMMENWEHRFER
"
!=
1
]]
||
[[
"
$CI_COMMIT_BRANCH
"
!=
"master"
]]
;
then
echo
"Flammenwehrfer disabled, checked for branch '
$CI_COMMIT_BRANCH
'"
...
...
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