diff --git a/TestScripts/cryptest-symbols.sh b/TestScripts/cryptest-symbols.sh index dac2b01b..0455187d 100755 --- a/TestScripts/cryptest-symbols.sh +++ b/TestScripts/cryptest-symbols.sh @@ -9,7 +9,7 @@ ############################################ # Tags to test -OLD_VERSION_TAG=CRYPTOPP_5_6_5 +OLD_VERSION_TAG=CRYPTOPP_6_1_0 NEW_VERSION_TAG=master ############################################ @@ -208,7 +208,7 @@ fi "$MAKE" distclean &>/dev/null -rm -f GNUmakefile-symbols bench1.cpp bench.cpp +rm -f GNUmakefile-symbols git checkout master -f &>/dev/null cp GNUmakefile GNUmakefile-symbols @@ -234,17 +234,6 @@ else "$SED" "$SED_OPTS" -e 's|$(TESTOBJS) ./libcryptopp.a |$(TESTOBJS) ./libcryptopp.so |g' GNUmakefile-symbols fi -echo -echo "****************************************************************" -echo "Patching bench.cpp as needed" -echo "****************************************************************" -echo - -if [[ (-e bench.cpp) ]]; then - "$SED" "$SED_OPTS" -e 's|bench1.cpp|bench.cpp|g' GNUmakefile-symbols - "$SED" "$SED_OPTS" -e 's|bench1.o|bench.o|g' GNUmakefile-symbols -fi - echo echo "****************************************************************" echo "Building dynamic library for $OLD_VERSION_TAG" @@ -306,18 +295,6 @@ if [[ "$?" -ne "0" ]]; then [[ "$0" = "$BASH_SOURCE" ]] && exit 1 || return 1 fi - -echo -echo "****************************************************************" -echo "Patching bench.cpp as needed" -echo "****************************************************************" -echo - -if [[ (-e bench1.cpp) ]]; then - "$SED" "$SED_OPTS" -e 's|bench.cpp|bench1.cpp|g' GNUmakefile-symbols - "$SED" "$SED_OPTS" -e 's|bench.o|bench1.o|g' GNUmakefile-symbols -fi - echo echo "****************************************************************" echo "Building dynamic library for $NEW_VERSION_TAG" @@ -352,4 +329,4 @@ if [[ "$?" -ne "0" ]]; then [[ "$0" = "$BASH_SOURCE" ]] && exit 1 || return 1 fi -[[ "$0" = "$BASH_SOURCE" ]] && exit 0 || return 0 \ No newline at end of file +[[ "$0" = "$BASH_SOURCE" ]] && exit 0 || return 0