Skip to content

Commit

Permalink
configurator tests with personality
Browse files Browse the repository at this point in the history
Signed-off-by: Pierre Boutillier <pierre.boutillier@laposte.net>
  • Loading branch information
pirbo committed Oct 15, 2024
1 parent 317a5a4 commit ceb3616
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -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

Expand Down

0 comments on commit ceb3616

Please sign in to comment.