bug-make
[Top][All Lists]
Advanced

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

Re: make tests which don't work: features/conditionals


From: Paul D. Smith
Subject: Re: make tests which don't work: features/conditionals
Date: Thu, 3 Feb 2005 08:57:03 -0500

%% David Baird <address@hidden> writes:

  db> I am running the tests with the latest sources in CVS. My goal is
  db> to enable them to run on Windows XP with and without Cygwin, and
  db> then add some tests specific to those platforms.

That would be cool!

  db> I found that not all the tests run, even on Linux. For example,
  db> the second test of features/conditionals fail with a syntax error
  db> on:

  db> DEF3 = no
  db> FUNC = $1
  db> ifdef $(call FUNC,DEF)3
  db>   DEF3 = yes
  db> endif

This works for me with CVS make (on Linux).

Are you sure you're not using an older version of make during the tests?
After building, try running this make directly:

    cd tests
    ./run_make_tests -make ../make features/conditionals

I get:

    features/conditionals ................................... ok     (2 passed)

  db> Are all the tests of the latest CVS supposed to run on any platform?

They're supposed to.  Before committing changes we run the tests on our
platforms.  That means they should always pass on Linux and probably
Solaris systems.  For Windows, for example, I don't have any way to test
it.

-- 
-------------------------------------------------------------------------------
 Paul D. Smith <address@hidden>          Find some GNU make tips at:
 http://www.gnu.org                      http://make.paulandlesley.org
 "Please remain calm...I may be mad, but I am a professional." --Mad Scientist




reply via email to

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