skip testsuite/g++.dg/other/anon5.C on vxworks_kernel targets
authorJerome Lambourg <lambourg@adacore.com>
Fri, 1 Jan 2021 04:55:00 +0000 (01:55 -0300)
committerAlexandre Oliva <oliva@gnu.org>
Fri, 1 Jan 2021 04:56:25 +0000 (01:56 -0300)
The vxworks kernel-mode linking is partial linking, so it cannot
detect missing symbols.

for  gcc/testsuite/ChangeLog

* g++.dg/other/anon5.C: Skip on vxworks kernel.

gcc/testsuite/g++.dg/other/anon5.C

index dadd92ef9e4a1126c27c298b23af4ad40e698149..09853d4c6515e60a8741adf952ed55e7ddf68876 100644 (file)
@@ -1,6 +1,9 @@
 // PR c++/34094
 // { dg-do link { target { ! { *-*-darwin* *-*-hpux* *-*-solaris2.* } } } }
 // { dg-require-effective-target nonpic }
+// Skip on vxworks kernel: The link being partial, the linker doesn't see
+// the undefined reference
+// { dg-skip-if "partial link" { vxworks_kernel } }
 // { dg-options "-gdwarf-2" }
 // Ignore additional message on powerpc-ibm-aix
 // { dg-prune-output "obtain more information" } */