3 catch
{ lsort
[glob
-nocomplain $
{srcdir
}/$
{subdir
}/*.out
] } srcfiles
4 verbose
"srcfiles are $srcfiles"
8 regsub
"\\.out$" $x "" prefix
9 set bname
[file tail $prefix
]
11 if [file
exists $srcdir
/$subdir
/$
{bname
}.xpo
] {
12 set resfile
"$srcdir/$subdir/${bname}.xpo"
13 set options
"regexp_match"
15 set resfile
"${prefix}.out"
19 if [file
exists $
{prefix
}.inp
] {
20 set inpfile $
{prefix
}.inp
25 set args [libjava_read_xfail $srcdir
/$subdir
/$bname.xfail
]
27 verbose
"inpfile is $inpfile"
29 test_libjava $options
"${prefix}.jar" "" $inpfile $resfile $args
30 test_libjava $options
"${prefix}.jar" "-O3" $inpfile $resfile $args