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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [gcc-4.5.1/] [contrib/] [reghunt/] [examples/] [30643.test] - Blame information for rev 865

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 265 jeremybenn
#! /bin/sh
2
 
3
ID=$1
4
 
5
LOGID=`printf "%04d" ${ID}`
6
LOG=${BUGID}.${LOGID}.out
7
MSGID="bug ${BUGID}, id ${ID}"
8
ASM=${BUGID}.${LOGID}.s
9
 
10
$REG_TEST_COMPILER $REG_OPTS $REG_TESTCASE > ${LOG} 2>&1
11
 
12
if [ $? -ne 0 ]; then
13
    echo "`date`  compilation failed unexpectedly for ${MSGID}"
14
    exit REG_ERROR
15
fi
16
 
17
cp ${BUGID}.s $ASM
18
 
19
grep -q abort $ASM
20
if [ $? -eq 0 ]; then
21
    echo "`date`  abort call exists for ${MSGID}"
22
    exit $REG_FAIL
23
fi
24
 
25
echo "`date`  no call to abort for ${MSGID}"
26
exit $REG_PASS

powered by: WebSVN 2.1.0

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