Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
clean-test
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
2
Issues
2
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
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
clean-and-itasks
clean-test
Commits
a8e2fe3a
Commit
a8e2fe3a
authored
Jun 25, 2018
by
Steffen Michels
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
read rest of child output, also if child exists with error
parent
62371f47
Pipeline
#12459
passed with stage
in 40 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
cleantest.icl
cleantest.icl
+10
-10
No files found.
cleantest.icl
View file @
a8e2fe3a
...
...
@@ -289,7 +289,7 @@ where
=
return
event
r
io
w
#
rcode
=
fromOk
t
// Check return code
|
rcode
==
Just
0
|
isJust
rcode
#
(_,
output
,
io
,
w
)
=
readPipes
output
pio
io
w
#
results
=
map
(
fromJSON
o
fromString
)
$
filter
((<>)
""
)
output
.
lines
|
any
isNothing
results
...
...
@@ -302,16 +302,16 @@ where
=
return
event
r
io
w
#
ee
=
mergeResults
$
map
fromJust
results
#
io
=
emit
(
EndEvent
ee
)
io
|
fromJust
rcode
<>
0
#
event
=
Failed
Nothing
#
io
=
emit
(
EndEvent
{
name
=
r
.
TestRun
.
name
,
event
=
event
,
message
=
"Child process exited with "
<+
fromJust
rcode
}
)
io
=
return
event
r
io
w
=
return
ee
.
event
r
io
w
|
isJust
rcode
#
(_,
output
,
io
,
w
)
=
readPipes
output
pio
io
w
#
event
=
Failed
Nothing
#
io
=
emit
(
EndEvent
{
name
=
r
.
TestRun
.
name
,
event
=
event
,
message
=
"Child process exited with "
<+
fromJust
rcode
})
io
=
return
event
r
io
w
#
w
=
snd
$
fclose
io
w
=
redirect
output
h
pio
r
w
where
...
...
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