From: ildumi95 Date: Mon, 7 Feb 2022 14:47:57 +0000 (+0100) Subject: [PATCH] link with libatomic for test X-Git-Tag: archive/raspbian/2.0.52-1+rpi1^2~3^2^2~1 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=6ce4d8bba149b5566c8f3d82e768c7e00a1c801d;p=siridb-server.git [PATCH] link with libatomic for test Gbp-Pq: Name 0001-link-with-libatomic-for-test.patch --- diff --git a/test/test.sh b/test/test.sh index 2683a52c..de9bd235 100755 --- a/test/test.sh +++ b/test/test.sh @@ -25,7 +25,7 @@ run () { OUT=$1.out rm "$OUT" 2> /dev/null - gcc -I"../include" -O0 -g3 -Wall -Wextra -Winline -std=gnu99 $SOURCE $C_SRC -lm -lpcre2-8 -lcleri -luuid -luv -lyajl $LCRYPT -o "$OUT" + gcc -I"../include" -O0 -g3 -Wall -Wextra -Winline -std=gnu99 $SOURCE $C_SRC -lm -latomic -lpcre2-8 -lcleri -luuid -luv -lyajl $LCRYPT -o "$OUT" if [[ "$NOMEMTEST" -ne "1" ]]; then valgrind --tool=memcheck --error-exitcode=1 --leak-check=full -q ./$OUT else @@ -45,4 +45,4 @@ else run "test_$name" fi -exit $RET \ No newline at end of file +exit $RET