- This bites us with make check (read MTT) on static builds (read jaguar)
Only test using dlopen, when we do have it... cmr:v1.5 This commit was SVN r22483.
Этот коммит содержится в:
родитель
f66b6cae23
Коммит
9efd8cfedc
@ -1094,6 +1094,9 @@ AC_DEFINE_UNQUOTED(OPAL_WANT_LIBLTDL, $OPAL_ENABLE_DLOPEN_SUPPORT,
|
||||
AC_DEFINE_UNQUOTED(OPAL_HAVE_LTDL_ADVISE, $OPAL_HAVE_LTDL_ADVISE,
|
||||
[Whether libltdl appears to have the lt_dladvise interface])
|
||||
|
||||
AM_CONDITIONAL(OPAL_HAVE_DLOPEN, $OPAL_ENABLE_DLOPEN_SUPPORT )
|
||||
|
||||
|
||||
############################################################################
|
||||
# final compiler config
|
||||
############################################################################
|
||||
|
@ -19,7 +19,12 @@
|
||||
|
||||
noinst_LTLIBRARIES = libdebuggers.la libompi_debugger_canary.la
|
||||
pkglib_LTLIBRARIES = libompi_dbg_msgq.la
|
||||
if OPAL_HAVE_DLOPEN
|
||||
check_PROGRAMS = dlopen_test
|
||||
else
|
||||
check_PROGRAMS =
|
||||
endif
|
||||
|
||||
TESTS = $(check_PROGRAMS)
|
||||
|
||||
# This is not quite in the Automake spirit, but we have to do it.
|
||||
|
@ -66,7 +66,7 @@ int main(int argc, char *argv[])
|
||||
printf("File opened with dladvise_global\n");
|
||||
return 1;
|
||||
}
|
||||
printf("File failed to opene with dladvise_global: %s\n", lt_dlerror());
|
||||
printf("File failed to open with dladvise_global: %s\n", lt_dlerror());
|
||||
|
||||
return 2;
|
||||
}
|
||||
|
Загрузка…
Ссылка в новой задаче
Block a user