Skip to content
This repository has been archived by the owner on Oct 4, 2024. It is now read-only.

Commit

Permalink
Improve shell test runner reporting
Browse files Browse the repository at this point in the history
  • Loading branch information
vgrichina committed Sep 20, 2019
1 parent 7c8b864 commit f8f907e
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions test/index.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
#!/bin/bash
set -ex
./test/new_project.sh
./test/account_operations.sh
#./test/contract_tests.sh
OVERALL_RESULT=$(true)
for test in ./test/test_*; do
echo ""
echo "Running $test"
"$test"
if [ $? -ne 0 ]; then
echo "$test FAIL"
OVERALL_RESULT=1
else
echo "$test SUCCESS"
fi
done

exit $OVERALL_RESULT
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit f8f907e

Please sign in to comment.