Skip to content
This repository has been archived by the owner on Jan 3, 2023. It is now read-only.

Commit

Permalink
Formatting improvements in the test suite output
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Preisler committed Mar 24, 2016
1 parent 1311310 commit 3199e24
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
6 changes: 5 additions & 1 deletion tests/install_test
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,16 @@
# Authors:
# Martin Preisler <[email protected]>

echo -n -e "Running install test\t\t...\t"
echo "Running install tests..."
echo

PARENT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"

EXIT_CODE=0

test="setup.py --dry-run"
printf "%-60s %s ... " "$test"

pushd $PARENT_DIR/.. > /dev/null
output=`$PYTHON setup.py --dry-run install 2>&1`
if [ "$?" == "0" ]; then
Expand Down
2 changes: 1 addition & 1 deletion tests/integration/make_check
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ RUNWRAPPER_NO_FORK=1 source ../../runwrapper.sh
EXIT_CODE=0
for file in test_*.sh
do
echo -n -e "$file\t\t...\t"
printf "%-60s %s ... " "$file"
output=`./$file 2>&1`
if [ "$?" == "0" ]; then
echo "[ pass ]"
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/make_check
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ RUNWRAPPER_NO_FORK=1 source ../../runwrapper.sh
EXIT_CODE=0
for file in test_*.py
do
echo -n -e "$file\t\t...\t"
printf "%-60s %s ... " "$file"
output=`$PYTHON ./$file 2>&1`
if [ "$?" == "0" ]; then
echo "[ pass ]"
Expand Down

0 comments on commit 3199e24

Please sign in to comment.