From 06eaf7232e9a920468c0f8d74dcf2fe8b555501c Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 13 Apr 2024 14:24:36 +0200 Subject: Adding upstream version 1:10.11.6. Signed-off-by: Daniel Baumann --- storage/maria/libmarias3/ci-scripts/asan.sh | 7 +++++++ storage/maria/libmarias3/ci-scripts/cppcheck.sh | 2 ++ storage/maria/libmarias3/ci-scripts/distcheck.sh | 4 ++++ storage/maria/libmarias3/ci-scripts/docs.sh | 4 ++++ storage/maria/libmarias3/ci-scripts/scanbuild.sh | 5 +++++ storage/maria/libmarias3/ci-scripts/tsan.sh | 7 +++++++ storage/maria/libmarias3/ci-scripts/usan.sh | 7 +++++++ storage/maria/libmarias3/ci-scripts/valgrind.sh | 4 ++++ storage/maria/libmarias3/ci-scripts/valgrind.supp | 0 9 files changed, 40 insertions(+) create mode 100755 storage/maria/libmarias3/ci-scripts/asan.sh create mode 100755 storage/maria/libmarias3/ci-scripts/cppcheck.sh create mode 100755 storage/maria/libmarias3/ci-scripts/distcheck.sh create mode 100755 storage/maria/libmarias3/ci-scripts/docs.sh create mode 100755 storage/maria/libmarias3/ci-scripts/scanbuild.sh create mode 100755 storage/maria/libmarias3/ci-scripts/tsan.sh create mode 100755 storage/maria/libmarias3/ci-scripts/usan.sh create mode 100755 storage/maria/libmarias3/ci-scripts/valgrind.sh create mode 100644 storage/maria/libmarias3/ci-scripts/valgrind.supp (limited to 'storage/maria/libmarias3/ci-scripts') diff --git a/storage/maria/libmarias3/ci-scripts/asan.sh b/storage/maria/libmarias3/ci-scripts/asan.sh new file mode 100755 index 00000000..ad3ff4b2 --- /dev/null +++ b/storage/maria/libmarias3/ci-scripts/asan.sh @@ -0,0 +1,7 @@ +#!/bin/sh +export CC=clang +export CFLAGS="-fsanitize=address" +autoreconf -fi +./configure --enable-debug=yes +make +make check 2>/dev/null diff --git a/storage/maria/libmarias3/ci-scripts/cppcheck.sh b/storage/maria/libmarias3/ci-scripts/cppcheck.sh new file mode 100755 index 00000000..a717b406 --- /dev/null +++ b/storage/maria/libmarias3/ci-scripts/cppcheck.sh @@ -0,0 +1,2 @@ +#!/bin/sh +cppcheck --quiet --enable=all --error-exitcode=1 . src tests libmarias3 diff --git a/storage/maria/libmarias3/ci-scripts/distcheck.sh b/storage/maria/libmarias3/ci-scripts/distcheck.sh new file mode 100755 index 00000000..e6c469b0 --- /dev/null +++ b/storage/maria/libmarias3/ci-scripts/distcheck.sh @@ -0,0 +1,4 @@ +#!/bin/sh +autoreconf -fi +./configure --enable-debug=yes +make distcheck 2>/dev/null diff --git a/storage/maria/libmarias3/ci-scripts/docs.sh b/storage/maria/libmarias3/ci-scripts/docs.sh new file mode 100755 index 00000000..d5c8dcb6 --- /dev/null +++ b/storage/maria/libmarias3/ci-scripts/docs.sh @@ -0,0 +1,4 @@ +#!/bin/sh +autoreconf -fi +./configure +make html diff --git a/storage/maria/libmarias3/ci-scripts/scanbuild.sh b/storage/maria/libmarias3/ci-scripts/scanbuild.sh new file mode 100755 index 00000000..541e7f6a --- /dev/null +++ b/storage/maria/libmarias3/ci-scripts/scanbuild.sh @@ -0,0 +1,5 @@ +#!/bin/sh +export CC="clang" +autoreconf -fi +./configure --enable-debug=yes +scan-build --use-cc=clang --use-c++=clang++ --status-bugs make diff --git a/storage/maria/libmarias3/ci-scripts/tsan.sh b/storage/maria/libmarias3/ci-scripts/tsan.sh new file mode 100755 index 00000000..9fa2b132 --- /dev/null +++ b/storage/maria/libmarias3/ci-scripts/tsan.sh @@ -0,0 +1,7 @@ +#!/bin/sh +export CC=clang +export CFLAGS="-fsanitize=thread" +autoreconf -fi +./configure --enable-debug=yes +make +make check 2>/dev/null diff --git a/storage/maria/libmarias3/ci-scripts/usan.sh b/storage/maria/libmarias3/ci-scripts/usan.sh new file mode 100755 index 00000000..9090c37d --- /dev/null +++ b/storage/maria/libmarias3/ci-scripts/usan.sh @@ -0,0 +1,7 @@ +#!/bin/sh +export CC=clang +export CFLAGS="-fsanitize=undefined -fsanitize=nullability" +autoreconf -fi +./configure --enable-debug=yes +make +make check 2>/dev/null diff --git a/storage/maria/libmarias3/ci-scripts/valgrind.sh b/storage/maria/libmarias3/ci-scripts/valgrind.sh new file mode 100755 index 00000000..0d6ac291 --- /dev/null +++ b/storage/maria/libmarias3/ci-scripts/valgrind.sh @@ -0,0 +1,4 @@ +#!/bin/sh +autoreconf -fi +./configure --enable-debug=yes +TESTS_ENVIRONMENT="./libtool --mode=execute valgrind --error-exitcode=1 --leak-check=full --track-fds=no --malloc-fill=A5 --free-fill=DE --suppressions=ci-scripts/valgrind.supp" make check diff --git a/storage/maria/libmarias3/ci-scripts/valgrind.supp b/storage/maria/libmarias3/ci-scripts/valgrind.supp new file mode 100644 index 00000000..e69de29b -- cgit v1.2.3