git://git.onelab.eu
/
nepi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tweaked Makefile to use either setup or twine to upload stuff onto pypi
[nepi.git]
/
all-tests
diff --git
a/all-tests
b/all-tests
index
6cae656
..
404f82a
100755
(executable)
--- a/
all-tests
+++ b/
all-tests
@@
-20,7
+20,7
@@
echo $COMMAND | grep -q 3 && { PYTHON=python3; version=3; }
hash=$(git log -n 1 | head -1 | sed -e 's,commit ,,' -e 's,\(........\).*,\1,')
# compute output file name
hash=$(git log -n 1 | head -1 | sed -e 's,commit ,,' -e 's,\(........\).*,\1,')
# compute output file name
-output="zz.
py$version.$hash
"
+output="zz.
$hash.py$version
"
# if there is any pending change, use another name
is_pristine=""
# if there is any pending change, use another name
is_pristine=""
@@
-46,7
+46,7
@@
function all_tests () {
make_retcod=$!
echo ========================================
end=$(date +%s)
make_retcod=$!
echo ========================================
end=$(date +%s)
- echo all-tests : end at
; date
; echo total duration $(($end-$begin)) seconds
+ echo all-tests : end at
$((date))
; echo total duration $(($end-$begin)) seconds
return $make_retcod
}
return $make_retcod
}