[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Misleading error message from lt_dlopen()
From: |
Ralf Wildenhues |
Subject: |
Re: Misleading error message from lt_dlopen() |
Date: |
Sat, 31 Jan 2009 16:10:35 +0100 |
User-agent: |
Mutt/1.5.18 (2008-05-17) |
* Ralf Wildenhues wrote on Fri, Jan 23, 2009 at 08:07:34AM CET:
> Unfortunately, I don't have a fix yet.
> But I have rewritten your example into a testsuite test:
I have pushed this test now, with one minor portability fix, as below.
Cheers,
Ralf
> 2009-01-23 Jeff Squyres <address@hidden>
> Ralf Wildenhues <address@hidden>
>
> New test, expose wrong error message from lt_dlopen.
> * tests/lt_dlopen.at (lt_dlopen error messages): New file,
> new test, marked as XFAIL for now.
> * Makefile.am: Adjust.
--- tests/lt_dlopen.at 2009-01-29 20:00:05.000000000 +0100
+++ tests/lt_dlopen.at 2009-01-31 16:07:22.000000000 +0100
@@ -1,6 +1,6 @@
# lt_dlopen.at -- test libltdl functionality -*- Autotest -*-
#
-# Copyright (C) 2008 Free Software Foundation, Inc.
+# Copyright (C) 2009 Free Software Foundation, Inc.
# This file is part of GNU Libtool.
#
# GNU Libtool is free software; you can redistribute it and/or
@@ -96,9 +96,8 @@
[-dlopen good-plugin.la -dlopen missing-symbol-plugin.la $LIBLTDL],
[], [ignore], [ignore])
-AT_CHECK([./main$EXEEXT ./good-plugin.la], [], [ignore], [ignore])
-AT_CHECK([./main$EXEEXT ./missing-symbol-plugin.la],
- [1], [ignore], [stderr])
+LT_AT_EXEC_CHECK([./main], [], [ignore], [ignore], [./good-plugin.la])
+LT_AT_EXEC_CHECK([./main], [1], [ignore], [stderr],
[./missing-symbol-plugin.la])
AT_CHECK([grep 'missing symbol' stderr], [], [ignore])
AT_CLEANUP