tests: improve circular reference tests to make use of the circular reference diagnostic
ci/woodpecker/push/woodpecker Pipeline was successful Details

pull/242/head
Ariadne Conill 2022-08-07 01:35:12 +00:00
parent 7edfdbff0b
commit 9aa0006c27
1 changed files with 4 additions and 4 deletions

View File

@ -212,16 +212,16 @@ libs_circular2_body()
{ {
export PKG_CONFIG_PATH="${selfdir}/lib1" export PKG_CONFIG_PATH="${selfdir}/lib1"
atf_check \ atf_check \
-o inline:"-lcircular-3 -lcircular-1 -lcircular-2 \n" \ -o inline:"circular-1: breaking circular reference (circular-1 -> circular-2 -> circular-1)\n" \
pkgconf --libs circular-2 pkgconf circular-2 --validate
} }
libs_circular1_body() libs_circular1_body()
{ {
export PKG_CONFIG_PATH="${selfdir}/lib1" export PKG_CONFIG_PATH="${selfdir}/lib1"
atf_check \ atf_check \
-o inline:"-lcircular-2 -lcircular-3 -lcircular-1 \n" \ -o inline:"circular-3: breaking circular reference (circular-3 -> circular-1 -> circular-3)\n" \
pkgconf --libs circular-1 pkgconf circular-1 --validate
} }
libs_circular_directpc_body() libs_circular_directpc_body()