]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Skip testsuite/g++.old-deja/g++.pt/const2.C on vxworks_kernel
authorJerome Lambourg <lambourg@adacore.com>
Fri, 1 Jan 2021 00:37:56 +0000 (21:37 -0300)
committerAlexandre Oliva <oliva@gnu.org>
Fri, 1 Jan 2021 05:00:55 +0000 (02:00 -0300)
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

index 3ca4a532b19878b284f427326eba2648e327c839..7340ff4e982ce35c65c16356e208833ccec272b9 100644 (file)
@@ -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 }