[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Libtool head: LT_AT_EXEC_CHECK drops exit status
From: |
Ralf Wildenhues |
Subject: |
Re: Libtool head: LT_AT_EXEC_CHECK drops exit status |
Date: |
Fri, 16 Sep 2005 10:28:01 +0200 |
User-agent: |
Mutt/1.4.1i |
Hi Peter,
* Peter Ekberg wrote on Fri, Sep 16, 2005 at 10:04:07AM CEST:
>
> I have realized that LT_AT_EXEC_CHECK destroys the
> exit status from the tested program so that AT_CHECK
> is always satisfied with it.
>
> * tests/testsuite.at (LT_AT_EXEC_CHECK): Make sure
> that the exit status of the tested program is
> propagated as the exit status of the expression
> fed to AT_CHECK.
>
> I don't know if AT_CHECK is designed to handle a list of
> semicolon separated commands, so I don't know if this
> patch is correct. It works much better than the current
> version though...
Yes, it is. Please install, but rename at_status to lt_status, we
should not infringe upon Autotest's namespace. By the way, it also
mistreats its third and fourth arguments in some cases, I believe.
We could either add some m4_case machinery to fix this or just decide
they should be `ignore,ignore' anyway..
Thanks for the patch!
Cheers,
Ralf