From 59cd72afce43a286e025cc9338b0a081a05a512c Mon Sep 17 00:00:00 2001 From: Jerome Lambourg Date: Thu, 31 Dec 2020 21:37:56 -0300 Subject: [PATCH] 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. --- gcc/testsuite/g++.old-deja/g++.pt/const2.C | 1 + 1 file changed, 1 insertion(+) 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::i. // { dg-prune-output "ld: symbol" } // { dg-message "i" "" { target *-*-* } 0 } -- 2.30.2