From 181547f3141d41f33978cb0aeb8d13b27ecd01ab Mon Sep 17 00:00:00 2001 From: Michal Rakowski Date: Sun, 27 Dec 2020 12:47:57 +0100 Subject: [PATCH] regress: Add compilation check for test-plugin-test --- regress/tests/test-plugin-test | 10 ++++++++++ 1 file changed, 10 insertions(+) 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 -- 2.47.3