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
G
gast
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
4
Issues
4
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
gast
Commits
5fb78ab6
Commit
5fb78ab6
authored
Jul 09, 2018
by
Camil Staps
🚀
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'fflush' into 'master'
flush stdout after each event See merge request
!21
parents
1b4dc990
6b558c56
Pipeline
#13133
passed with stage
in 47 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
Libraries/Gast/CommandLine.icl
Libraries/Gast/CommandLine.icl
+2
-1
No files found.
Libraries/Gast/CommandLine.icl
View file @
5fb78ab6
...
...
@@ -16,6 +16,7 @@ import Data.List
import
Data
.
Tuple
import
System
.
CommandLine
import
System
.
Options
import
System
.
File
import
Testing
.
Options
import
Text
...
...
@@ -85,7 +86,7 @@ where
where
stream
::
!
PrintConfig
![
GastEvent
]
!*
File
!*
World
->
*(!*
File
,
!*
World
)
stream
pc
[
ge
:
ges
]
io
w
#
io
=
foldl
(
<<<
)
io
$
printEvents
pc
[
ge
]
#
io
=
foldl
(
\
io
ev
->
snd
$
fflush
$
io
<<<
ev
)
io
$
printEvents
pc
[
ge
]
#
w
=
case
ge
of
GE_TestFinished
_
{
resultType
=
CounterExpls
_
_
_}
_
_
->
setReturnCode
1
w
GE_TestFinished
_
{
resultType
=
Undefined
_}
_
_
->
setReturnCode
1
w
...
...
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