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

Subversion Repositories amber

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /amber/trunk
    from Rev 55 to Rev 56
    Reverse comparison

Rev 55 → Rev 56

/hw/tools/set_timeout.sh
46,13 → 46,17
TICKS=$2
 
# is test already in list ?
egrep "^${TEST} " $TOFILE > /dev/null
TEST_LISTED=$?
if [ -e $TOFILE ]; then
egrep "^${TEST} " $TOFILE > /dev/null
TEST_LISTED=$?
 
# If the test is already in the list
if [ $TEST_LISTED == 0 ]; then
egrep -v "^${TEST} " $TOFILE > ${TOFILE}1
mv ${TOFILE}1 $TOFILE
# If the test is already in the list
if [ $TEST_LISTED == 0 ]; then
egrep -v "^${TEST} " $TOFILE > ${TOFILE}1
mv ${TOFILE}1 $TOFILE
fi
else
echo "Creating $TOFILE"
fi
echo "${TEST} ${TICKS}" >> ${TOFILE}
 
/hw/tools/get_timeout.sh
45,12 → 45,16
TEST=$1
 
# is test already in list ?
egrep "^${TEST} " $TOFILE > /dev/null
TEST_LISTED=$?
if [ -e $TOFILE ]; then
egrep "^${TEST} " $TOFILE > /dev/null
TEST_LISTED=$?
 
# If the test is already in the list
if [ $TEST_LISTED == 0 ]; then
egrep "^${TEST} " $TOFILE | awk '{print $2}'
# If the test is already in the list
if [ $TEST_LISTED == 0 ]; then
egrep "^${TEST} " $TOFILE | awk '{print $2}'
else
echo "0"
fi
else
echo "0"
fi
/hw/tests/timeouts.txt File deleted
hw/tests Property changes : Modified: svn:ignore ## -3,3 +3,4 ## *.map *.mem *.dis +timeouts.txt

powered by: WebSVN 2.1.0

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