more trailing spaces + tabs outside of "src" dir

This commit is contained in:
Karel Miko 2017-02-24 20:50:37 +01:00
parent 477d621224
commit 953080bcea
14 changed files with 189 additions and 189 deletions

View File

@ -20,9 +20,9 @@ bash build.sh " $1" " $2" " $3 COVERAGE=1" "$4 -fprofile-arcs -ftest-coverage "
if [ -a testok.txt ] && [ -f testok.txt ]; then if [ -a testok.txt ] && [ -f testok.txt ]; then
echo echo
else else
echo echo
echo "Test failed" echo "Test failed"
exit 1 exit 1
fi fi
./sizes ./sizes
@ -30,9 +30,9 @@ fi
# if this was executed as './coverage.sh ...' create coverage locally # if this was executed as './coverage.sh ...' create coverage locally
if [[ "${0%% *}" == "./${0##*/}" ]]; then if [[ "${0%% *}" == "./${0##*/}" ]]; then
make lcov-single make lcov-single
else else
cpp-coveralls -e 'demos/' -e 'testprof/' -e 'notes/' -e 'src/headers/' cpp-coveralls -e 'demos/' -e 'testprof/' -e 'notes/' -e 'src/headers/'
fi fi
exit 0 exit 0

View File

@ -3,7 +3,7 @@
version=$(git describe --tags --always --dirty 2>/dev/null) version=$(git describe --tags --always --dirty 2>/dev/null)
if [ ! -e ".git" ] || [ -z $version ] if [ ! -e ".git" ] || [ -z $version ]
then then
version=$(grep "^VERSION=" makefile | sed "s/.*=//") version=$(grep "^VERSION=" makefile | sed "s/.*=//")
fi fi
echo "Testing version:" $version echo "Testing version:" $version
#grep "VERSION=" makefile | perl -e "@a = split('=', <>); print @a[1];"` #grep "VERSION=" makefile | perl -e "@a = split('=', <>); print @a[1];"`
@ -14,7 +14,7 @@ echo "uname="`uname -a`
# get gcc name # get gcc name
if [ -z ${CC} ] if [ -z ${CC} ]
then then
CC="gcc" CC="gcc"
fi fi
echo "${CC}="`${CC} -dumpversion` echo "${CC}="`${CC} -dumpversion`
echo echo

18
run.sh
View File

@ -7,9 +7,9 @@ bash build.sh " $1" "$2 -O2" "$3 IGNORE_SPEED=1" "$4" "$5"
if [ -a testok.txt ] && [ -f testok.txt ]; then if [ -a testok.txt ] && [ -f testok.txt ]; then
echo echo
else else
echo echo
echo "Test failed" echo "Test failed"
exit 1 exit 1
fi fi
rm -f testok.txt rm -f testok.txt
@ -17,9 +17,9 @@ bash build.sh " $1" "$2 -Os" " $3 IGNORE_SPEED=1 LTC_SMALL=1" "$4" "$5"
if [ -a testok.txt ] && [ -f testok.txt ]; then if [ -a testok.txt ] && [ -f testok.txt ]; then
echo echo
else else
echo echo
echo "Test failed" echo "Test failed"
exit 1 exit 1
fi fi
rm -f testok.txt rm -f testok.txt
@ -27,9 +27,9 @@ bash build.sh " $1" " $2" " $3 " "$4" "$5"
if [ -a testok.txt ] && [ -f testok.txt ]; then if [ -a testok.txt ] && [ -f testok.txt ]; then
echo echo
else else
echo echo
echo "Test failed" echo "Test failed"
exit 1 exit 1
fi fi
exit 0 exit 0

View File

@ -1099,7 +1099,7 @@ void time_rsa(void)
t2 <<= 8; t2 <<= 8;
break; break;
#endif #endif
} }
t2 >>= 8; t2 >>= 8;
fprintf(stderr, "RSA-%lu sign_hash took %15"PRI64"u cycles\n", x, t2); fprintf(stderr, "RSA-%lu sign_hash took %15"PRI64"u cycles\n", x, t2);
@ -1121,7 +1121,7 @@ void time_rsa(void)
t2 <<= 11; t2 <<= 11;
break; break;
#endif #endif
} }
t2 >>= 11; t2 >>= 11;
fprintf(stderr, "RSA-%lu verify_hash took %15"PRI64"u cycles\n", x, t2); fprintf(stderr, "RSA-%lu verify_hash took %15"PRI64"u cycles\n", x, t2);
fprintf(stderr, "\n\n"); fprintf(stderr, "\n\n");
@ -1317,7 +1317,7 @@ void time_ecc(void)
t2 <<= 8; t2 <<= 8;
break; break;
#endif #endif
} }
t2 >>= 8; t2 >>= 8;
fprintf(stderr, "ECC-%lu sign_hash took %15"PRI64"u cycles\n", x*8, t2); fprintf(stderr, "ECC-%lu sign_hash took %15"PRI64"u cycles\n", x*8, t2);
@ -1339,7 +1339,7 @@ void time_ecc(void)
t2 <<= 8; t2 <<= 8;
break; break;
#endif #endif
} }
t2 >>= 8; t2 >>= 8;
fprintf(stderr, "ECC-%lu verify_hash took %15"PRI64"u cycles\n", x*8, t2); fprintf(stderr, "ECC-%lu verify_hash took %15"PRI64"u cycles\n", x*8, t2);