diff --git a/tests/run-next-cfi-self.sh b/tests/run-next-cfi-self.sh
index 2c42ea3f..fa91b746 100755
--- a/tests/run-next-cfi-self.sh
+++ b/tests/run-next-cfi-self.sh
@@ -18,4 +18,5 @@
 . $srcdir/test-subr.sh

 # Sanity check toolchain/dwarf_next_cfi
-testrun_on_self ${abs_builddir}/next_cfi
+testrun_on_self_exe ${abs_builddir}/next_cfi
+testrun_on_self_lib ${abs_builddir}/next_cfi