Commit 7bee00c3 by Jakub Jelinek Committed by Jakub Jelinek

i386.exp: Only run vect-args.c tests if runtest_file_p says they should be run.

	* gcc.target/i386/i386.exp: Only run vect-args.c tests
	if runtest_file_p says they should be run.

From-SVN: r215135
parent ca78482d
2014-09-10 Jakub Jelinek <jakub@redhat.com>
* gcc.target/i386/i386.exp: Only run vect-args.c tests
if runtest_file_p says they should be run.
2014-09-10 Alan Lawrence <alan.lawrence@arm.com>
* gcc.target/aarch64/vstN_1.c: New test.
......
......@@ -316,13 +316,16 @@ if ![info exists DEFAULT_CFLAGS] then {
dg-init
clearcap-init
global runtests
# Special case compilation of vect-args.c so we don't have to
# replicate it 10 times.
foreach type { "" -mmmx -m3dnow -msse -msse2 } {
foreach level { "" -O } {
set flags "$type $level"
verbose -log "Testing vect-args, $flags" 1
dg-test $srcdir/$subdir/vect-args.c $flags ""
if [runtest_file_p $runtests $srcdir/$subdir/vect-args.c] {
foreach type { "" -mmmx -m3dnow -msse -msse2 } {
foreach level { "" -O } {
set flags "$type $level"
verbose -log "Testing vect-args, $flags" 1
dg-test $srcdir/$subdir/vect-args.c $flags ""
}
}
}
......
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