[cairo] Test programs extension

Peter Weilbacher (Mozilla) mozilla at Weilbacher.org
Wed Dec 6 14:27:25 PST 2006


While everybody else is hard at work optimizing algorithms, let me raise
another more simpleminded question.

The tests in test/Makefile.am are currently listed without any file
extension. While that works fine on Linux, OS/2 has a problem with it.
Windows probably, too, but that is obviously using the Makefile.win32
now which works around that with $addsuffix. Without the file extension
not all necessary CFLAGS/LDFLAGS get assigned and compilation hence
doesn't find important things like cairo.h.

The question is now: can $(EXEEXT) be added to all test programs in 
test/Makefile.am? That includes the variables TESTS, NOLOG_TESTS,
XFAIL_TESTS, and SUPPORT_PROGS. EXEEXT will be empty on Unix, so it
should not create a problem. Something like
$(addsuffix $(EXEEXT),$(TESTS)) etc. would be easier but does not survive
automake...

I still have to figure out which of the tests actually make sense on
OS/2 but I guess most of them should...

Any suggestions?
   Peter.



More information about the cairo mailing list