Heya, I had another look and it turns out there are a couple more test cases in other directoories. So it makes sense to just call the default dh_auto_test target. I had to disable one test case because it did not link, though.
Updated patch attached. Michael
diff -Nru openmpi-1.6.5/debian/patches/fix-testsuite-compile openmpi-1.6.5/debian/patches/fix-testsuite-compile --- openmpi-1.6.5/debian/patches/fix-testsuite-compile 1970-01-01 01:00:00.000000000 +0100 +++ openmpi-1.6.5/debian/patches/fix-testsuite-compile 2013-08-17 14:55:52.000000000 +0200 @@ -0,0 +1,12 @@ +--- ./ompi/debuggers/Makefile.am.orig 2013-08-17 14:22:15.400508429 +0200 ++++ ./ompi/debuggers/Makefile.am 2013-08-17 14:22:23.472550111 +0200 +@@ -21,9 +21,6 @@ + pkglib_LTLIBRARIES = libompi_dbg_msgq.la + + check_PROGRAMS = predefined_gap_test +-if OPAL_HAVE_DLOPEN +-check_PROGRAMS += dlopen_test +-endif + + TESTS = $(check_PROGRAMS) + diff -Nru openmpi-1.6.5/debian/patches/series openmpi-1.6.5/debian/patches/series --- openmpi-1.6.5/debian/patches/series 2012-11-07 11:50:22.000000000 +0100 +++ openmpi-1.6.5/debian/patches/series 2013-08-17 14:56:12.000000000 +0200 @@ -10,3 +10,4 @@ #fix-fakeroot-execution.patch arm_detection.diff fix-bashims.diff +fix-testsuite-compile diff -Nru openmpi-1.6.5/debian/rules openmpi-1.6.5/debian/rules --- openmpi-1.6.5/debian/rules 2013-06-05 10:58:53.000000000 +0200 +++ openmpi-1.6.5/debian/rules 2013-08-17 14:56:07.000000000 +0200 @@ -96,5 +96,3 @@ override_dh_strip: dh_strip --dbg-package=libopenmpi1.6-dbg - -override_dh_auto_test:

