OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libmudflap/] [testsuite/] [libmudflap.c/] [cfrags.exp] - Rev 738

Compare with Previous | Blame | View Log

global MUDFLAP_FLAGS
set MUDFLAP_FLAGS [list {} {-static} {-O2} {-O3}]

libmudflap-init c

dg-init

global srcdir
foreach flags $MUDFLAP_FLAGS {
    foreach srcfile [lsort [glob -nocomplain \
                            ${srcdir}/libmudflap.c/*frag.c \
                            ${srcdir}/libmudflap.c/heap*.c \
                            ${srcdir}/libmudflap.c/hook*.c \
                            ${srcdir}/libmudflap.c/pass*.c]] {
        set bsrc [file tail $srcfile]
        setenv MUDFLAP_OPTIONS "-viol-segv"
        dg-runtest $srcfile $flags "-fmudflap -lmudflap"
    }
}

dg-finish

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.