summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2020-05-27 09:27:47 +0100
committerColin Watson <cjwatson@debian.org>2020-05-27 09:27:47 +0100
commite8372e8165e30d921bb987a349a8c50a45bf3e1c (patch)
treeecfa45560de77c886ea687aeb283f8aaae3023e8
parent27fd39a8aa267abbcf321ff8d1005f8e0cf03349 (diff)
Use dpkg-buildflags when building regression tests
-rwxr-xr-xdebian/run-regression-tests.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/debian/run-regression-tests.sh b/debian/run-regression-tests.sh
index 2271e5e..1ce5bf8 100755
--- a/debian/run-regression-tests.sh
+++ b/debian/run-regression-tests.sh
@@ -15,6 +15,10 @@ cleanup() {
15 15
16trap cleanup 0 INT QUIT ABRT PIPE TERM 16trap cleanup 0 INT QUIT ABRT PIPE TERM
17 17
18eval "$(dpkg-buildflags --export=sh)"
19export CFLAGS="$CFLAGS $CPPFLAGS"
20export CXXFLAGS="$CFLAGS $CXXFLAGS"
21
18# regress/ tests are only included when the build type is set to Debug, so 22# regress/ tests are only included when the build type is set to Debug, so
19# we build it again in a separate directory as we don't want a Debug build 23# we build it again in a separate directory as we don't want a Debug build
20# in the shipped packages 24# in the shipped packages