This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] c++-types-check: Do not run this test if there is no C++ support


I'm not sure if there is a way to mark this test as UNSUPPORTED.  With
the attached patch, at least it is no longer reported as FAIL.

Florian
 2015-10-26  Florian Weimer  <fweimer@redhat.com>
 
	* Makefile (c++-types-check.out): Change condition from CXX == no
	to CXX = "".
	(tests-special): Do not add c++-types-check.out.
	[CXX] (tests-special): Add c++-types-check.out.

diff --git a/Makefile b/Makefile
index b2dd771..e370770 100644
--- a/Makefile
+++ b/Makefile
@@ -250,11 +250,11 @@ mostlyclean: parent-mostlyclean
 tests-clean:
 	@$(MAKE) subdir_testclean no_deps=t
 
-tests-special += $(objpfx)c++-types-check.out $(objpfx)check-local-headers.out
-ifneq ($(CXX),no)
+tests-special += $(objpfx)check-local-headers.out
 
+ifneq ($(CXX),)
+tests-special += $(objpfx)c++-types-check.out
 vpath c++-types.data $(+sysdep_dirs)
-
 $(objpfx)c++-types-check.out: c++-types.data scripts/check-c++-types.sh
 	scripts/check-c++-types.sh $< $(CXX) $(filter-out -std=gnu99 $(+gccwarn-c),$(CFLAGS)) $(CPPFLAGS) > $@; \
 	$(evaluate-test)

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]