Commit f4fa7bb4 by Alan Lawrence Committed by Alan Lawrence

[ARM/AArch64 Testsuite] Cleanup advsimd-intrinsics.exp, removing unnecessary loop

	* gcc.target/aarch64/advsimd-intrinsics/advsimd-intrinsics.exp: Pass
	wildcard to gcc-dg-runtest; remove loop and unnecessary initialization.

From-SVN: r223928
parent 29764870
2015-06-01 Alan Lawrence <alan.lawrence@arm.com>
* gcc.target/aarch64/advsimd-intrinsics/advsimd-intrinsics.exp: Pass
wildcard to gcc-dg-runtest; remove loop and unnecessary initialization.
2015-06-01 Richard Biener <rguenther@suse.de> 2015-06-01 Richard Biener <rguenther@suse.de>
PR tree-optimization/66280 PR tree-optimization/66280
......
...@@ -27,8 +27,6 @@ load_lib gcc-dg.exp ...@@ -27,8 +27,6 @@ load_lib gcc-dg.exp
# Initialize `dg'. # Initialize `dg'.
load_lib c-torture.exp load_lib c-torture.exp
load_lib target-supports.exp
load_lib torture-options.exp
dg-init dg-init
...@@ -48,29 +46,15 @@ if {[istarget arm*-*-*]} then { ...@@ -48,29 +46,15 @@ if {[istarget arm*-*-*]} then {
} }
} }
torture-init
set-torture-options $C_TORTURE_OPTIONS {{}} $LTO_TORTURE_OPTIONS set-torture-options $C_TORTURE_OPTIONS {{}} $LTO_TORTURE_OPTIONS
# Make sure Neon flags are provided, if necessary. # Make sure Neon flags are provided, if necessary.
set additional_flags [add_options_for_arm_neon ""] set additional_flags [add_options_for_arm_neon ""]
# Main loop. # Main loop.
foreach src [lsort [glob -nocomplain $srcdir/$subdir/*.c]] { gcc-dg-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.c]] \
# If we're only testing specific files and this isn't one of them, skip it. "" ${additional_flags}
if ![runtest_file_p $runtests $src] then {
continue
}
# runtest_file_p is already run above, and the code below can run
# runtest_file_p again, make sure everything for this test is
# performed if the above runtest_file_p decided this runtest
# instance should execute the test
gcc_parallel_test_enable 0
gcc-dg-runtest $src "" $additional_flags
gcc_parallel_test_enable 1
}
# All done. # All done.
set dg-do-what-default ${save-dg-do-what-default} set dg-do-what-default ${save-dg-do-what-default}
torture-finish
dg-finish dg-finish
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment