From: Michal Rakowski Date: Sun, 27 Dec 2020 11:47:57 +0000 (+0100) Subject: regress: Add compilation check for test-plugin-test X-Git-Tag: Release-11.3.2~703 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=181547f3141d41f33978cb0aeb8d13b27ecd01ab;p=thirdparty%2Fbacula.git regress: Add compilation check for test-plugin-test --- diff --git a/regress/tests/test-plugin-test b/regress/tests/test-plugin-test index 66ed35443..2e45ac299 100755 --- a/regress/tests/test-plugin-test +++ b/regress/tests/test-plugin-test @@ -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