From 92a4c9db8227262f903b80a4f6678c4d75bae3db Mon Sep 17 00:00:00 2001 From: Pierre Boutillier Date: Wed, 18 Sep 2024 15:45:00 +0200 Subject: [PATCH] configurator tests with personality Signed-off-by: Pierre Boutillier --- .../test/blackbox-tests/pkg-config-args.t/run.t | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/otherlibs/configurator/test/blackbox-tests/pkg-config-args.t/run.t b/otherlibs/configurator/test/blackbox-tests/pkg-config-args.t/run.t index e4b743559856..167c6ad6bd23 100644 --- a/otherlibs/configurator/test/blackbox-tests/pkg-config-args.t/run.t +++ b/otherlibs/configurator/test/blackbox-tests/pkg-config-args.t/run.t @@ -1,18 +1,20 @@ These tests show that setting `PKG_CONFIG_ARGN` passes extra args to `pkg-config` - $ dune build 2>&1 | awk '/run:.*bin\/pkgconf/{a=1}/stderr/{a=0}a' + $ dune build 2>&1 | awk '/run:.*bin\/pkgconf/{a=1}/stderr/{a=0}a' | sed 's/--personality=[^ ]*/--personality=TARGET/g' run: $TESTCASE_ROOT/_build/default/.bin/pkgconf --print-errors dummy-pkg -> process exited with code 0 -> stdout: | dummy-pkg - run: $TESTCASE_ROOT/_build/default/.bin/pkgconf --cflags dummy-pkg + run: $TESTCASE_ROOT/_build/default/.bin/pkgconf --personality=TARGET --cflags dummy-pkg -> process exited with code 0 -> stdout: + | --personality=TARGET | --cflags | dummy-pkg - run: $TESTCASE_ROOT/_build/default/.bin/pkgconf --libs dummy-pkg + run: $TESTCASE_ROOT/_build/default/.bin/pkgconf --personality=TARGET --libs dummy-pkg -> process exited with code 0 -> stdout: + | --personality=TARGET | --libs | dummy-pkg