bug-automake
[Top][All Lists]
Advanced

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

bug#26033: EXEEXT not exported to tests


From: Hans-Bernhard Bröker
Subject: bug#26033: EXEEXT not exported to tests
Date: Thu, 9 Mar 2017 21:46:16 +0100
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0

Am 08.03.2017 um 20:52 schrieb Peter Selinger:

The tests require this information, for
example when they are shell scripts starting up executable programs
to be tested.

Not really. On the platforms where EXEEXT is non-empty, scripts do _not_ need to know about it to start executables, i.e.

Trying to test the behaviour of $(EXEEXT) on platforms where it's normally empty is, IMHO, futile. This isn't an autoconf test whose result one should ever override.

Although the test script
check/mytest2.sh specified ../src/someprogram$EXEEXT, the EXEEXT
setting was not exported to the script.

You don't need $(EXEEXT) to run the executable --- only to check the file, which tests won't have to do.







reply via email to

[Prev in Thread] Current Thread [Next in Thread]