]> git.ipfire.org Git - thirdparty/bacula.git/commitdiff
regress: Add compilation check for test-plugin-test
authorMichal Rakowski <michal.rakowski@baculasystems.com>
Sun, 27 Dec 2020 11:47:57 +0000 (12:47 +0100)
committerEric Bollengier <eric@baculasystems.com>
Thu, 24 Mar 2022 08:03:00 +0000 (09:03 +0100)
regress/tests/test-plugin-test

index 66ed354430c6eeb71f55146eee597e0baf91ec05..2e45ac299e427f4e7c6c4ee5d5e36ea61f9eecb9 100755 (executable)
@@ -22,7 +22,17 @@ echo "${cwd}/build/src" >${cwd}/tmp/file-list
 # Build and install the test plugin
 cd ${cwd}/build/src/plugins/fd
 make
+if [ $? -ne 0 ]; then
+   print_debug "Failed to build test plugin!"
+   exit 1
+fi
+
 make install-test-plugin
+if [ $? -ne 0 ]; then
+   print_debug "Failed to install test plugin!"
+   exit 1
+fi
+
 cd ${cwd}
 
 start_test