From: Ulya Trofimovich Date: Mon, 31 Jul 2017 11:03:28 +0000 (+0100) Subject: Added some more suggestions for pre-release testing. X-Git-Tag: 1.0~36 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=71b8897ebd707cb3850d2eb2dd9a3015598d0ba3;p=re2c Added some more suggestions for pre-release testing. --- diff --git a/release.sh b/release.sh index 9655924a..756af10a 100755 --- a/release.sh +++ b/release.sh @@ -4,6 +4,15 @@ set -e echo 'RUNME: cppcheck --enable=all --inconclusive --std=posix --quiet --force -I. src/' echo 'RUNME: for h in $(find src/ -name ''*.h*''); do echo "CHECKING $h"; g++ -I. -c $h -o foo.o; done' +echo "RUNME: uselex `find -type f -name '*.o'`" +echo 'RUNME: configure CFLAGS="-ffunction-sections -fdata-sections" LDFLAGS="-Wl,--gc-sections -Wl,--print-gc-sections"' +echo 'RUNME: configure CXX=clang++' +echo 'RUNME: configure CXXFLAGS="-m32"' +echo 'RUNME: configure --host i686-w64-mingw32, test with wine: make wtests' +echo 'RUNME: configure CXXFLAGS="-fsanitize=address"' +echo 'RUNME: configure CXXFLAGS="-fsanitize=undefined"' +echo 'RUNME: valgrind: make vtests' +echo 'RUNME: skeleton: ./run_tests.sh --skeleton' if [[ $# -ne 1 ]] then