C++ tests (1/2)

Patrik Stridvall ps at leissner.se
Thu Nov 14 15:11:06 CST 2002


This patch adds support for C++ tests.

If this patch is applied it is possible to just add as below
in each tests/Makefile.in to use C++ tests.

CXXTESTS = \
	test.cxx

As an additional feature it is also possible to do

CTESTS = \
	generated.c

CXXTESTS = \
	generated.c.cxx

To have the test generated.c be compiled and run
as both C and C++.

In the case of generated.c it is very useful since
alignment and that sort of thing might pontially be different
with C++. For other normal tests I'm not sure how useful
it is to tests with C++ as well. It can't hurt of course
but then it takes twice as long to run...

---8<---

*** cxx

* Make.rules.in,
  configure.ac,
  dlls/Maketest.rules.in,
  include/wine/test.h,
  tools/make_ctests,
  tools/runtest:
Added support for C++ tests.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: cxx.diff
Type: application/octet-stream
Size: 13686 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20021114/ff2bf403/cxx.obj


More information about the wine-patches mailing list