URL
https://opencores.org/ocsvn/amber/amber/trunk
[/] [amber/] [trunk/] [hw/] [tools/] [get_timeout.sh] - Diff between revs 15 and 56
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 15 |
Rev 56 |
Line 43... |
Line 43... |
|
|
TOFILE=../tests/timeouts.txt
|
TOFILE=../tests/timeouts.txt
|
TEST=$1
|
TEST=$1
|
|
|
# is test already in list ?
|
# is test already in list ?
|
|
if [ -e $TOFILE ]; then
|
egrep "^${TEST} " $TOFILE > /dev/null
|
egrep "^${TEST} " $TOFILE > /dev/null
|
TEST_LISTED=$?
|
TEST_LISTED=$?
|
|
|
# If the test is already in the list
|
# If the test is already in the list
|
if [ $TEST_LISTED == 0 ]; then
|
if [ $TEST_LISTED == 0 ]; then
|
egrep "^${TEST} " $TOFILE | awk '{print $2}'
|
egrep "^${TEST} " $TOFILE | awk '{print $2}'
|
else
|
else
|
echo "0"
|
echo "0"
|
fi
|
fi
|
|
else
|
|
echo "0"
|
|
fi
|
|
|
No newline at end of file
|
No newline at end of file
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.