Retro68/gcc/libgomp/testsuite/lib/libgomp-dg.exp

16 lines
452 B
Plaintext
Raw Normal View History

2012-03-27 23:13:14 +00:00
proc libgomp-dg-test { prog do_what extra_tool_flags } {
2019-06-02 15:48:37 +00:00
# Force the dumpbase for test.c to test.o, such that scan-offload-*-dump
# will work.
foreach opt $extra_tool_flags {
if { [regexp ^-foffload=-fdump- $opt] } {
lappend extra_tool_flags "-save-temps"
}
}
2012-03-27 23:13:14 +00:00
return [gcc-dg-test-1 libgomp_target_compile $prog $do_what $extra_tool_flags]
}
proc libgomp-dg-prune { system text } {
return [gcc-dg-prune $system $text]
}