

set -ex



test -f $PREFIX/bin/nvprof
test -f $PREFIX/lib/pkgconfig/cuinj64*.pc
test -f $PREFIX/lib/pkgconfig/accinj64*.pc
test -L $PREFIX/lib/libaccinj64.so
test -L $PREFIX/lib/libaccinj64.so.12.4
test -L $PREFIX/lib/libaccinj64.so.12.4.127
test -L $PREFIX/lib/libcuinj64.so
test -L $PREFIX/lib/libcuinj64.so.12.4
test -L $PREFIX/lib/libcuinj64.so.12.4.127
test -L $PREFIX/targets/x86_64-linux/lib/libaccinj64.so
test -L $PREFIX/targets/x86_64-linux/lib/libaccinj64.so.12.4
test -f $PREFIX/targets/x86_64-linux/lib/libaccinj64.so.12.4.127
test -L $PREFIX/targets/x86_64-linux/lib/libcuinj64.so
test -L $PREFIX/targets/x86_64-linux/lib/libcuinj64.so.12.4
test -f $PREFIX/targets/x86_64-linux/lib/libcuinj64.so.12.4.127
bash test-rpath.sh
exit 0
