From ceb3616990bc952539e5e5928bd93cd16ba5ce4f 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 e4b74355985..428f09f0ab8 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=x86_64-pc-linux-gnu --cflags dummy-pkg -> process exited with code 0 -> stdout: + | --personality=x86_64-pc-linux-gnu | --cflags | dummy-pkg - run: $TESTCASE_ROOT/_build/default/.bin/pkgconf --libs dummy-pkg + run: $TESTCASE_ROOT/_build/default/.bin/pkgconf --personality=x86_64-pc-linux-gnu --libs dummy-pkg -> process exited with code 0 -> stdout: + | --personality=x86_64-pc-linux-gnu | --libs | dummy-pkg