Skip to content

Commit

Permalink
Switch utils test to python3 and reduce noise from upload test.
Browse files Browse the repository at this point in the history
  • Loading branch information
petterreinholdtsen committed Jan 19, 2019
1 parent dcb37a0 commit 93965a1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ docker_push:
docker push ${project}
test:
fkbeta/manage.py test fkbeta
python utils/test_*.py
python3 utils/test_*.py
utils/run-move_and_process
upload/test-fkupload
4 changes: 3 additions & 1 deletion upload/test-fkupload
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ set -e

cleanup() {
for pid in $pids; do
if kill -0 $pid ; then
if kill -0 $pid >/dev/null 2>&1; then
kill $pid
else
echo "Process $pid already exited, not killed"
Expand Down Expand Up @@ -53,3 +53,5 @@ if [ ! -z $(diff $test_file $uploaded_file) ]; then
ls -l $uploaded_file
exit 99
fi

exit 0

0 comments on commit 93965a1

Please sign in to comment.