automake
[Top][All Lists]
Advanced

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

Re: problem with a test that is expected to fail, on cygwin only...


From: Ed Hartnett
Subject: Re: problem with a test that is expected to fail, on cygwin only...
Date: Tue, 16 Jan 2007 06:29:15 -0700
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.4 (gnu/linux)

Brian Dessent <address@hidden> writes:

> Ed Hartnett wrote:
>
>> TESTFILES = nctst tst_failure
>> [...]
>> TESTS = $(TESTFILES) run_nc_tests.sh
>> XFAIL_TESTS = tst_failure
>> [...]
>> XFAIL: tst_failure
>> [...]
>> FAIL: tst_failure.exe
>
> Notice the difference?  You probably should specify "TESTFILES =
> nctst$(EXEEXT) tst_failure$(EXEEXT)" and "XFAIL_TESTS =
> tst_failure$(EXEEXT)" instead, as technically the name of the test
> includes the extension.  On Cygwin you can get away with execing ./foo
> if ./foo.exe exists which is why sometimes this problem isn't noticed
> immediately.
>
> Brian
>

Yes, this fixed it just fine! Thanks!

Under what circumstances should I use $(EXEEXT)? I never use it
anywhere and this is the first time there's been a problem...

Thanks!

Ed

-- 
Ed Hartnett  -- address@hidden





reply via email to

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