]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
LoongArch: Fix dwarf3 test cases from XPASS to PASS
authorLulu Cai <cailulu@loongson.cn>
Thu, 11 Jul 2024 11:00:43 +0000 (19:00 +0800)
committerliuzhensong <liuzhensong@loongson.cn>
Sat, 13 Jul 2024 02:00:02 +0000 (10:00 +0800)
In the past, the .align directive generated a label that did not match
the regular expression, and we set it to XFAIL.
But now it matches fine so it becomes XPASS. We fix it with PASS.

ld/testsuite/ld-elf/dwarf.exp

index 1ca1ec54763256b1fa0c4ebd7c8924a37456e449..670551f88ad2412c529868d50a718d69c9a07e3d 100644 (file)
@@ -52,9 +52,6 @@ set build_tests {
   {"DWARF parse during linker error"
    "" "-g -fno-toplevel-reorder"
    {dwarf2a.c dwarf2b.c} {{error_output "dwarf2.err"}} "dwarf2.x"}
-}
-
-set build_tests_dwarf3 {
   {"Handle no DWARF information"
    "" "-g0"
    {dwarf3.c} {{error_output "dwarf3.err"}} "dwarf3.x"}
@@ -75,8 +72,6 @@ set run_tests {
 set old_CFLAGS "$CFLAGS_FOR_TARGET"
 append CFLAGS_FOR_TARGET " $NOSANITIZE_CFLAGS"
 run_cc_link_tests $build_tests
-setup_xfail loongarch*-*-*
-run_cc_link_tests $build_tests_dwarf3
 run_ld_link_exec_tests $run_tests
 set CFLAGS_FOR_TARGET "$old_CFLAGS"