Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mitogen
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
nexedi
mitogen
Commits
0c771070
Commit
0c771070
authored
Mar 21, 2018
by
David Wilson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
issue #96: fail test.sh if any test fails
parent
1ed86774
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
test.sh
test.sh
+6
-1
No files found.
test.sh
View file @
0c771070
...
...
@@ -24,5 +24,10 @@ sys.exit(1)
for
f
in
tests/
*
_test.py
;
do
echo
$f
timeout
10 python
$f
timeout
10 python
$f
||
fail
=
1
done
if
[
"
$fail
"
]
;
then
echo
"AT LEAST ONE TEST FAILED"
>
&2
exit
1
fi
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