From 2158621366c19dc32418ace48f49f4474a40c669 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Wed, 19 Dec 2018 09:25:29 +0100 Subject: Add aligned_alloc() and memalign() Ensure that the C++17 aligned new operator works. Close #3666. --- testsuites/sptests/Makefile.am | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'testsuites/sptests/Makefile.am') diff --git a/testsuites/sptests/Makefile.am b/testsuites/sptests/Makefile.am index 8f92873d2b..a3c9b1e3bf 100644 --- a/testsuites/sptests/Makefile.am +++ b/testsuites/sptests/Makefile.am @@ -772,6 +772,18 @@ spcpuset01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spcpuset01) \ $(support_includes) -DSMPTEST endif +if HAS_CPLUSPLUS +if TEST_spcxx01 +sp_tests += spcxx01 +sp_screens += spcxx01/spcxx01.scn +sp_docs += spcxx01/spcxx01.doc +spcxx01_SOURCES = spcxx01/init.cc +spcxx01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spcxx01) \ + $(support_includes) +spcxx01_CXXFLAGS = $(AM_CXXFLAGS) -std=gnu++17 +endif +endif + if TEST_spedfsched01 sp_tests += spedfsched01 sp_screens += spedfsched01/spedfsched01.scn -- cgit v1.2.3