mirror of
https://github.com/gcc-mirror/gcc.git
synced 2024-11-21 13:40:47 +00:00
testsuite: Adjust several dg-additional-files-options calls [PR115294]
A recent patch
commit bdc264a16e
Author: Alexandre Oliva <oliva@adacore.com>
Date: Thu May 30 02:06:48 2024 -0300
[testsuite] conditionalize dg-additional-sources on target and type
added two additional args to dg-additional-files-options.
Unfortunately, this completely broke several testsuites like
ERROR: tcl error sourcing /vol/gcc/src/hg/master/local/libatomic/testsuite/../../gcc/testsuite/lib/gcc-dg.exp.
wrong # args: should be "dg-additional-files-options options source dest type"
since the patch forgot to adjust some of the callers.
This patch fixes that.
Tested on i386-pc-solaris2.11, sparc-sun-solaris2.11, and
x86_64-pc-linux-gnu.
2024-05-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
libatomic:
PR testsuite/115294
* testsuite/lib/libatomic.exp (libatomic_target_compile): Pass new
dg-additional-files-options args.
libgomp:
PR testsuite/115294
* testsuite/lib/libgomp.exp (libgomp_target_compile): Pass new
dg-additional-files-options args.
libitm:
PR testsuite/115294
* testsuite/lib/libitm.exp (libitm_target_compile): Pass new
dg-additional-files-options args.
libphobos:
PR testsuite/115294
* testsuite/lib/libphobos.exp (libphobos_target_compile): Pass new
dg-additional-files-options args.
libvtv:
PR testsuite/115294
* testsuite/lib/libvtv.exp (libvtv_target_compile): Pass new
dg-additional-files-options args.
This commit is contained in:
parent
1b58f46ba2
commit
7e322d576e
@ -214,7 +214,7 @@ proc libatomic_target_compile { source dest type options } {
|
||||
set options [concat "$ALWAYS_CFLAGS" $options]
|
||||
}
|
||||
|
||||
set options [dg-additional-files-options $options $source]
|
||||
set options [dg-additional-files-options $options $source $dest $type]
|
||||
|
||||
set result [target_compile $source $dest $type $options]
|
||||
|
||||
|
@ -296,7 +296,7 @@ proc libgomp_target_compile { source dest type options } {
|
||||
set options [concat "$ALWAYS_CFLAGS" $options]
|
||||
}
|
||||
|
||||
set options [dg-additional-files-options $options $source]
|
||||
set options [dg-additional-files-options $options $source $dest $type]
|
||||
|
||||
set result [target_compile $source $dest $type $options]
|
||||
|
||||
|
@ -217,7 +217,7 @@ proc libitm_target_compile { source dest type options } {
|
||||
set options [concat "$ALWAYS_CFLAGS" $options]
|
||||
}
|
||||
|
||||
set options [dg-additional-files-options $options $source]
|
||||
set options [dg-additional-files-options $options $source $dest $type]
|
||||
|
||||
set result [target_compile $source $dest $type $options]
|
||||
|
||||
|
@ -281,7 +281,7 @@ proc libphobos_target_compile { source dest type options } {
|
||||
lappend options "compiler=$gdc_final"
|
||||
lappend options "timeout=[timeout_value]"
|
||||
|
||||
set options [dg-additional-files-options $options $source]
|
||||
set options [dg-additional-files-options $options $source $dest $type]
|
||||
set comp_output [target_compile $source $dest $type $options]
|
||||
|
||||
return $comp_output
|
||||
|
@ -212,7 +212,7 @@ proc libvtv_target_compile { source dest type options } {
|
||||
set options [concat "$ALWAYS_CFLAGS" $options]
|
||||
}
|
||||
|
||||
set options [dg-additional-files-options $options $source]
|
||||
set options [dg-additional-files-options $options $source $dest $type]
|
||||
|
||||
set result [target_compile $source $dest $type $options]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user