]> eyrie.org Git - kerberos/krb5-strength.git/blobdiff - ci/test
Use new support for SPDX check exclusions
[kerberos/krb5-strength.git] / ci / test
diff --git a/ci/test b/ci/test
index cd75a5df767dcde15b599c3ace5265ab013c946e..64e8b6c47cc118e94bb00793561eea3d5215155e 100755 (executable)
--- a/ci/test
+++ b/ci/test
@@ -25,5 +25,18 @@ else
 fi
 make warnings
 
-# Run tests.
-make check
+# Run the tests with valgrind for one of the compilers.  Arbitrarily
+# pick the GCC build.  (The assumption here is that other compilers won't
+# produce sufficiently different code as to create memory management
+# problems.)
+if [ "$COMPILER" = 'gcc' ]; then
+    make check-valgrind
+else
+    make check
+fi
+
+# Run some additional checks for one of the builds.  Arbitrarily pick the GCC
+# MIT build.
+if [ "$COMPILER" = 'gcc' ] && [ "$KERBEROS" = 'mit' ]; then
+    make check-cppcheck
+fi