On Mon, Dec 7, 2015 at 2:56 PM, Nathan Sidwell <nat...@acm.org> wrote: > On 12/06/15 03:56, Dmitry Vyukov wrote: >> >> Hello, >> >> Sancov tests submitted in 231296 assume that asan is supported on all >> platforms. >> This patch fixes that assumption. > > >> * gcc.target/powerpc/recip-sqrtf.c: New test. >> Index: gcc.dg/sancov/sancov.exp >> =================================================================== > > >> -gcc-dg-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.c]] "" "" >> +gcc-dg-runtest [lsort [glob -nocomplain $srcdir/$subdir/basic*.c]] "" "" >> >> +if [check_effective_target_fsanitize_address] { >> + gcc-dg-runtest [lsort [glob -nocomplain $srcdir/$subdir/asan*.c]] "" "" >> +} >> + >> torture-finish >> dg-finish >> > > Thanks for addressing this. FWIW I think canonical form in .exp files is to > place something like > > if { ! [is this for me?] } then { > return > } > > as early as possible (before the dg-init call)
Only asan.c is not for me, but other tests still need to be executed.