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
echo
else
echo
echo "Test failed"
exit 1
echo
echo "Test failed"
exit 1
fi
./sizes
@ -30,9 +30,9 @@ fi
# if this was executed as './coverage.sh ...' create coverage locally
if [[ "${0%% *}" == "./${0##*/}" ]]; then
make lcov-single
make lcov-single
else
cpp-coveralls -e 'demos/' -e 'testprof/' -e 'notes/' -e 'src/headers/'
cpp-coveralls -e 'demos/' -e 'testprof/' -e 'notes/' -e 'src/headers/'
fi
exit 0

View File

@ -3,7 +3,7 @@
version=$(git describe --tags --always --dirty 2>/dev/null)
if [ ! -e ".git" ] || [ -z $version ]
then
version=$(grep "^VERSION=" makefile | sed "s/.*=//")
version=$(grep "^VERSION=" makefile | sed "s/.*=//")
fi
echo "Testing version:" $version
#grep "VERSION=" makefile | perl -e "@a = split('=', <>); print @a[1];"`
@ -14,7 +14,7 @@ echo "uname="`uname -a`
# get gcc name
if [ -z ${CC} ]
then
CC="gcc"
CC="gcc"
fi
echo "${CC}="`${CC} -dumpversion`
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
echo
else
echo
echo "Test failed"
exit 1
echo
echo "Test failed"
exit 1
fi
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
echo
else
echo
echo "Test failed"
exit 1
echo
echo "Test failed"
exit 1
fi
rm -f testok.txt
@ -27,9 +27,9 @@ bash build.sh " $1" " $2" " $3 " "$4" "$5"
if [ -a testok.txt ] && [ -f testok.txt ]; then
echo
else
echo
echo "Test failed"
exit 1
echo
echo "Test failed"
exit 1
fi
exit 0

View File

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