commit e22bf931b53b345ba06a2990152f928e1ff39935
parent 946178319c2c1395df6e54a90d750e8695274250
Author: Florian Dold <florian@dold.me>
Date: Wed, 6 May 2026 19:24:41 +0200
fix handling of standard flags in configure
Diffstat:
3 files changed, 13 insertions(+), 1 deletion(-)
diff --git a/Makefile.in b/Makefile.in
@@ -28,11 +28,16 @@ dist:
doxygen:
$(NINJA) -C $(mesonbuilddir) doxygen
-# Run tests
+# Run unit tests
.PHONY: check
check:
$(MESON) test -C $(mesonbuilddir)
+# Run all tests
+.PHONY: allcheck
+allcheck:
+ $(MESON) test -C $(mesonbuilddir) --setup=all
+
.PHONY: installcheck
installcheck:
$(MESON) test -C $(mesonbuilddir) --suite=installcheck
diff --git a/configure b/configure
@@ -101,6 +101,9 @@ while [ "$#" -gt "0" ]; do
for flag in $standard_utils $standard_flags standard_vars; do
[ "$flag" = "$arg" ] && eval "$flag=\"$argparam\""
done
+ for flag in $standard_utils $standard_flags; do
+ [ "$flag" = "$arg" ] && eval export "$flag"
+ done
;;
esac
diff --git a/meson.build b/meson.build
@@ -388,6 +388,10 @@ if not get_option('only-doc')
exclude_suites: ['perf', 'installcheck', 'integrationtests'],
is_default: true,
)
+ add_test_setup(
+ 'all',
+ env: ['TALER_MERCHANT_PREFIX=' + taler_prefix],
+ )
else
subdir('contrib')
if not get_option('disable-doc')