Re: [Autotest] Prefixing commands launched by AT_CHECK

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Thomas Moulard on 4/12/2009 8:01 PM:
> However, I still have an issue with the other scenario (MinGW cross-compiling):
> in that case, my binaries are suffixed with '.exe'.
> 
> Is is easy to make Autotest aware of EXEEXT, however AT_TESTED does not
> do what I want:
> 
> atlocal.in:
>  EXEEXT="@EXEEXT";

Missing a close @?  Here, the "" are redundant since @EXEEXT@ will never
expand to multiple shell words.

>  export EXEEXT;
> 
> simple-test.at:
>  # [...]
>  AT_TESTED([simple-test$EXEEXT])
> Is there any way to work around this issue?

Unfortunately, AT_TESTED treats its arguments as literals.  This complaint
has come up in the past, and the idea was to introduce AT_TESTED_NOESCAPE
that allows shell expansion rather than escaping the metacharacters, but
no one has written a patch.

- --
Don't work too hard, make some time for fun as well!

Eric Blake             ebb9@xxxxxxx
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAknjJuEACgkQ84KuGfSFAYBuTACgimd+MyuWCPVIp4MDNU4aO/1y
BE8AnjkEZkqVqx6O441g7wq8vLwMQZya
=Z4AF
-----END PGP SIGNATURE-----


_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf

[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux