Use public headers for abi test
authorJonathan Dieter <jdieter@gmail.com>
Mon, 11 Jun 2018 19:12:48 +0000 (22:12 +0300)
committerJonathan Dieter <jdieter@gmail.com>
Mon, 11 Jun 2018 19:12:48 +0000 (22:12 +0300)
Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
test/abi.sh

index 0a94f39c0ede17ef7be77e786c60687af34459af..99431603d03d92aa09f750441231ff8aa185a61c 100755 (executable)
@@ -15,14 +15,14 @@ find abi -type l -delete
 
 # Redump abi/stable
 cd abi/stable
-abi-dumper libzck.so.* -lver `cat zck.h | grep ZCK_VERSION | head -n 1 | awk '{ print $3 }' | sed s/\"//g`
+abi-dumper libzck.so.* -lver `cat zck.h | grep ZCK_VERSION | head -n 1 | awk '{ print $3 }' | sed s/\"//g` -public-headers `pwd abi/stable`
 if [ "$?" -ne 0 ]; then
     exit 1
 fi
 
 # Dump abi/new
 cd ../new
-abi-dumper libzck.so.* -lver `cat zck.h | grep ZCK_VERSION | head -n 1 | awk '{ print $3 }' | sed s/\"//g`
+abi-dumper libzck.so.* -lver `cat zck.h | grep ZCK_VERSION | head -n 1 | awk '{ print $3 }' | sed s/\"//g` -public-headers `pwd abi/new`
 if [ "$?" -ne 0 ]; then
     exit 1
 fi