mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-18 11:11:27 +00:00
scripts/run-regression-tests: Add "make dpkg" test
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user