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: Brian Dessent
Subject: Re: problem with a test that is expected to fail, on cygwin only...
Date: Mon, 15 Jan 2007 18:33:27 -0800

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




reply via email to

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