include files put into include/pv

This commit is contained in:
Marty Kraimer
2011-06-07 08:30:15 -04:00
parent 9dda7a59dd
commit 619534b984
114 changed files with 894 additions and 379 deletions
-1
View File
@@ -1 +0,0 @@
testPVType.sh
+33
View File
@@ -0,0 +1,33 @@
#!/bin/sh
SELF="`basename "$0"`"
TEST="${SELF%.sh}"
if [ -z "$EPICS_HOST_ARCH" ]; then
echo "Please set EPICS_HOST_ARCH and run again"
exit 1
fi
rm -f $TEST ${TEST}Diff ${TEST}Aux
if ../bin/${EPICS_HOST_ARCH}/$TEST $TEST ${TEST}Aux 2>&1 >/dev/null
then
printf "" # OK
else
printf "$TEST Failed to complete\n"
fi
if [ -e $TEST -a -e ${TEST}Gold ]
then
diff -u ${TEST}Gold $TEST >> ${TEST}Diff
if [ -s "${TEST}Diff" ]
then
printf "$TEST Does not match expectations\n"
cat ${TEST}Diff
printf "\n\n"
else
printf "$TEST OK\n"
fi
else
printf "$TEST OK\n"
fi