[COMMITTED] testsuite: Skip g++.dg/modules/pr120458-1 etc. on non-UCN targets
Checks
Commit Message
Two new tests FAIL on Solaris with the native assembler:
FAIL: g++.dg/modules/pr120458-1 -std=c++17 link
FAIL: g++.dg/modules/pr120458-1 -std=c++20 link
FAIL: g++.dg/modules/pr120458-1 -std=c++26 link
FAIL: g++.dg/modules/pr120458-2 -std=c++17 link
FAIL: g++.dg/modules/pr120458-2 -std=c++20 link
FAIL: g++.dg/modules/pr120458-2 -std=c++26 link
They don't assemble because as lacks UCN support:
Assembler: pr120458-1_a.C
"pr120458-1_a.s", line 3 : Syntax error
Near line: " .globl _ZW6영혼1fj"
[...]
Too many errors - Goodbye
Fixed by skipping the tests on non-UCN targets.
Tested on i386-pc-solaris2.11, sparc-sun-solaris2.11 (as and gas), and
x86_64-pc-linux-gnu.
Committed to trunk.
Rainer
@@ -1,5 +1,6 @@
// { dg-module-do link }
// { dg-additional-options "-fmodules -finput-charset=UTF-8" }
+// { dg-skip-if "" { ! ucn } }
export module 영혼;
// { dg-module-cmi }
@@ -1,6 +1,7 @@
// { dg-module-do link }
// { dg-additional-options "-fmodules -fmodule-mapper=[srcdir]/pr120458-2.map " }
// { dg-additional-options "-finput-charset=UTF-8 " }
+// { dg-skip-if "" { ! ucn } }
// { dg-additional-files "pr120458-2.map" }
export module 灵魂;