C++ tests (1/2)

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

 



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.

Attachment: cxx.diff
Description: Binary data


[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux