Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
kazoo
Commits
10ed0de6
Commit
10ed0de6
authored
Sep 03, 2019
by
Thanassis Tsiodras
Browse files
Flush after every build completion.
parent
bb2a7e2f
Changes
1
Hide whitespace changes
Inline
Side-by-side
test/test.py
View file @
10ed0de6
...
...
@@ -24,8 +24,9 @@ def main():
with
futures
.
ProcessPoolExecutor
(
max_workers
=
cpu_count
())
as
executor
:
for
result
in
executor
.
map
(
partial
(
make
,
rule
),
paths
):
print
(
"%40s: %s"
%
(
result
[
3
],
colorMe
(
result
[
0
],
print
(
"%40s: %s"
%
(
result
[
3
]
.
replace
(
"/"
,
""
)
,
colorMe
(
result
[
0
],
'[OK]'
if
result
[
0
]
==
0
else
'[FAILED]'
)))
sys
.
stdout
.
flush
()
results
.
append
(
result
)
executor
.
map
(
partial
(
make
,
'clean'
),
paths
)
sys
.
stdout
.
write
(
'
\n
'
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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