Fork for poking around in the original "client implementation for p≡p update server".
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
downloadclient/run_tests.sh

20 lines
307 B

#!/bin/bash
TESTS=$*
i=0
RED='\033[0;31m'
GREEN='\033[0;32m'
C='\033[0m'
for t in $TESTS; do
if ./$t ; then
printf "\n${GREEN}TEST SUCCEEDED: $t${C}\n\n"
((i++))
else
printf "\n${RED}TEST FAILED: $t${C}\n\n"
fi
done
echo $i OF $(echo $TESTS | wc -w) TESTS SUCCEEDED