From 7201b2de5f8b80c06a64f9dadd9f258b3cd14fc1 Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Sun, 4 Mar 2018 19:37:03 +0000 Subject: [PATCH] scripts/run-regression-tests: Add "make dpkg" test git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7382 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- scripts/run-regression-tests | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/scripts/run-regression-tests b/scripts/run-regression-tests index 92e9eaaf1..43dc916c8 100755 --- a/scripts/run-regression-tests +++ b/scripts/run-regression-tests @@ -110,6 +110,18 @@ function make_rpm { done } +function make_dpkg { + local outputfile="${outputdir}/make-dpkg-output.txt" + + outputfile="${outputdir}/make-${t}-output.txt" + echo "Testing whether 'make dpkg' works fine ..." + if make dpkg > "${outputfile}" 2>&1; then + echo "OK" + else + echo "FAILED" + fi +} + function compile_scst { ( export KCFLAGS=-DCONFIG_SCST_MEASURE_LATENCY @@ -580,6 +592,9 @@ if [ "${run_local_compilation}" = "true" ]; then if type rpmbuild >/dev/null 2>&1; then make_rpm || exit $? fi + if type debuild >/dev/null 2>&1; then + make_dpkg || exit $? + fi fi first_iteration="true"