about summary refs log tree commit diff
path: root/debug/Makefile
diff options
context:
space:
mode:
authorRoland McGrath <roland@hack.frob.com>2015-03-10 15:13:14 -0700
committerRoland McGrath <roland@hack.frob.com>2015-03-10 15:13:14 -0700
commit44a6213c8eebf3f69712a5fba9a33bbb90a79023 (patch)
tree692ef562f276436103f25b145b49d2f529705131 /debug/Makefile
parentd3821ab0ace5bd33e7132488c4564ea2371840d8 (diff)
downloadglibc-44a6213c8eebf3f69712a5fba9a33bbb90a79023.tar.gz
glibc-44a6213c8eebf3f69712a5fba9a33bbb90a79023.tar.xz
glibc-44a6213c8eebf3f69712a5fba9a33bbb90a79023.zip
Let tests result in UNSUPPORTED; use that for unbuildable C++ cases
Diffstat (limited to 'debug/Makefile')
-rw-r--r--debug/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/debug/Makefile b/debug/Makefile
index c775223ef2..9ff357b6a8 100644
--- a/debug/Makefile
+++ b/debug/Makefile
@@ -133,11 +133,13 @@ LDFLAGS-tst-backtrace6 = -rdynamic
 
 tests = backtrace-tst tst-longjmp_chk tst-chk1 tst-chk2 tst-chk3 \
 	tst-lfschk1 tst-lfschk2 tst-lfschk3 test-strcpy_chk test-stpcpy_chk \
+	tst-chk4 tst-chk5 tst-chk6 tst-lfschk4 tst-lfschk5 tst-lfschk6 \
 	tst-longjmp_chk2 tst-backtrace2 tst-backtrace3 tst-backtrace4 \
 	tst-backtrace5 tst-backtrace6
 
-ifneq (,$(CXX))
-tests += tst-chk4 tst-chk5 tst-chk6 tst-lfschk4 tst-lfschk5 tst-lfschk6
+ifeq (,$(CXX))
+tests-unsupported = tst-chk4 tst-chk5 tst-chk6 \
+		    tst-lfschk4 tst-lfschk5 tst-lfschk6
 endif
 
 extra-libs = libSegFault libpcprofile