mirror of
https://github.com/pocoproject/poco.git
synced 2024-12-13 10:32:57 +01:00
chore: fix local test run script
This commit is contained in:
parent
757fc32199
commit
79e54d88ba
@ -30,19 +30,27 @@ flag=$2
|
|||||||
|
|
||||||
make distclean -C CppUnit
|
make distclean -C CppUnit
|
||||||
make distclean -C Foundation
|
make distclean -C Foundation
|
||||||
make distclean -C "$library"
|
if [[ "$library" != "Foundation" ]]; then
|
||||||
|
make distclean -C "$library"
|
||||||
|
fi
|
||||||
make distclean -C "$library"/testsuite
|
make distclean -C "$library"/testsuite
|
||||||
|
|
||||||
if [ -n "${flag}" ]; then
|
if [ -n "${flag}" ]; then
|
||||||
make -s -j4 -C "$POCO_BASE"/CppUnit SANITIZEFLAGS+=-fsanitize="$flag"
|
make -s -j4 -C "$POCO_BASE"/CppUnit SANITIZEFLAGS+=-fsanitize="$flag"
|
||||||
make -s -j4 -C "$POCO_BASE"/Foundation SANITIZEFLAGS+=-fsanitize="$flag"
|
make -s -j4 -C "$POCO_BASE"/Foundation SANITIZEFLAGS+=-fsanitize="$flag"
|
||||||
make -s -j4 -C "$POCO_BASE"/"$library" SANITIZEFLAGS+=-fsanitize="$flag"
|
if [[ "$library" != "Foundation" ]]; then
|
||||||
|
make -s -j4 -C "$POCO_BASE"/"$library" SANITIZEFLAGS+=-fsanitize="$flag"
|
||||||
|
fi
|
||||||
make -s -j4 -C "$POCO_BASE"/"$library"/testsuite SANITIZEFLAGS+=-fsanitize="$flag"
|
make -s -j4 -C "$POCO_BASE"/"$library"/testsuite SANITIZEFLAGS+=-fsanitize="$flag"
|
||||||
else
|
else
|
||||||
make -s -j4 -C "$POCO_BASE"/CppUnit
|
make -s -j4 -C "$POCO_BASE"/CppUnit
|
||||||
make -s -j4 -C "$POCO_BASE"/Foundation
|
make -s -j4 -C "$POCO_BASE"/Foundation
|
||||||
make -s -j4 -C "$POCO_BASE"/"$library"
|
if [[ "$library" != "Foundation" ]]; then
|
||||||
|
make -s -j4 -C "$POCO_BASE"/"$library"
|
||||||
|
fi
|
||||||
make -s -j4 -C "$POCO_BASE"/"$library"/testsuite
|
make -s -j4 -C "$POCO_BASE"/"$library"/testsuite
|
||||||
fi
|
fi
|
||||||
"$library"/testsuite/bin/"$OSNAME"/"$OSARCH"/testrunner -all
|
|
||||||
"$library"/testsuite/bin/"$OSNAME"/"$OSARCH"/testrunnerd -all
|
cd "$basedir"/"$library"/testsuite/bin/"$OSNAME"/"$OSARCH"/ || exit
|
||||||
|
testrunner -all
|
||||||
|
testrunnerd -all
|
||||||
|
Loading…
Reference in New Issue
Block a user