[go: up one dir, main page]

Menu

[32ec18]: / test / check_fit.sh  Maximize  Restore  History

Download this file

25 lines (20 with data), 457 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/bin/sh
# Copyright: CC0
# Enable running in test directory or via make distcheck when $srcdir is defined
if [ -z "$srcdir" ]; then
srcdir=.
fi
LOADFILE=$srcdir/Stonehenge.fit
count=0
count=`expr $count + 1`
result=$(./test_file_load $LOADFILE)
if [ $? != 0 ]; then
echo "Part $count: result=$result"
exit 1
fi
count=`expr $count + 1`
result=$(./test_file_load -e $LOADFILE)
if [ $? != 0 ]; then
echo "Part $count: result=$result"
exit 1
fi