projects
/
pycomedi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
81f264d
)
test.sh: use Python-3-compatible print().
author
W. Trevor King
<wking@tremily.us>
Tue, 16 Oct 2012 19:45:28 +0000
(15:45 -0400)
committer
W. Trevor King
<wking@tremily.us>
Tue, 16 Oct 2012 19:45:28 +0000
(15:45 -0400)
test.sh
patch
|
blob
|
history
diff --git
a/test.sh
b/test.sh
index 0cc185fd502c8e291931e141577d8bf109034ff7..b5ea21ecea4aa9d8c069beba4d5b9daf37a70633 100755
(executable)
--- a/
test.sh
+++ b/
test.sh
@@
-6,7
+6,7
@@
nosetests --with-doctest pycomedi
ls pycomedi | grep '.pyx$'| while read file; do
mod="${file/.pyx/}"
echo "$mod"
- python -c "import doctest, sys; import pycomedi.$mod as m; r = doctest.testmod(m); print
r
; sys.exit(r.failed)"
+ python -c "import doctest, sys; import pycomedi.$mod as m; r = doctest.testmod(m); print
(r)
; sys.exit(r.failed)"
done
nosetests --with-doctest --doctest-extension=.txt doc
nosetests --with-doctest doc/demo/*.py