summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJerome Lambourg <lambourg@adacore.com>2020-12-31 21:37:56 -0300
committerAlexandre Oliva <oliva@gnu.org>2021-01-01 02:00:55 -0300
commit59cd72afce43a286e025cc9338b0a081a05a512c (patch)
tree11a1a436b2b397ecc4dea09b0ecd2e1a33514aa8
parent75df9435f3f1b3c0800b1b47ac2ebc143807b90b (diff)
downloadgcc-59cd72afce43a286e025cc9338b0a081a05a512c.tar.gz
Skip testsuite/g++.old-deja/g++.pt/const2.C on vxworks_kernel
Linking in vxworks kernel-mode is partial linking, so missing symbols are not detected. for gcc/testsuite/ChangeLog * g++.old-deja/g++.pt/const2.C: Skip on vxworks kernel.
-rw-r--r--gcc/testsuite/g++.old-deja/g++.pt/const2.C1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.pt/const2.C b/gcc/testsuite/g++.old-deja/g++.pt/const2.C
index 3ca4a532b19..7340ff4e982 100644
--- a/gcc/testsuite/g++.old-deja/g++.pt/const2.C
+++ b/gcc/testsuite/g++.old-deja/g++.pt/const2.C
@@ -1,4 +1,5 @@
// { dg-do link }
+// { dg-skip-if "VxWorks dkms use partial link" { vxworks_kernel } }
// This test should get a linker error for the reference to A<int>::i.
// { dg-prune-output "ld: symbol" }
// { dg-message "i" "" { target *-*-* } 0 }