Make tests compile/run standalone

This commit is contained in:
Anthony Green
2018-03-17 22:49:58 -04:00
parent d974207cd6
commit 1f99701fad
3 changed files with 181 additions and 167 deletions

View File

@@ -32,13 +32,13 @@ if { [string match $compiler_vendor "gnu"] } {
set tlist [lsort [glob -nocomplain -- $srcdir/$subdir/test-call.c]]
for {set i 1} {$i < 82} {incr i} {
run-many-tests $tlist [format "-DTEST%02d %s" $i $warning_options]
run-many-tests $tlist [format "-DDGTEST=%d %s" $i $warning_options]
}
set tlist [lsort [glob -nocomplain -- $srcdir/$subdir/test-callback.c]]
for {set i 1} {$i < 73} {incr i} {
run-many-tests $tlist [format "-DTEST%02d %s" $i $warning_options]
for {set i 1} {$i < 81} {incr i} {
run-many-tests $tlist [format "-DDGTEST=%d %s" $i $warning_options]
}
dg-finish