fix test after introducing ansiEscape() function

This commit is contained in:
2021-07-05 16:46:47 +02:00
parent a1ec9b99e8
commit 3978357f17

View File

@ -1,6 +1,7 @@
rm -f test.*
cat > test.cc << EOF
#include <StreamError.h>
#include <StreamBuffer.h>
#include <assert.h>
#include <stdio.h>
@ -55,14 +56,14 @@ EOF
if [ "$1" = "-sls" ]
then
O=../../O.*_$EPICS_HOST_ARCH/StreamBuffer.o
O=../../O.*_$EPICS_HOST_ARCH
else
O=../../src/O.$EPICS_HOST_ARCH/StreamBuffer.o
O=../../src/O.$EPICS_HOST_ARCH
fi
for o in $O
do
g++ -I ../../src $o test.cc -o test.exe
g++ -I ../../src $o/StreamBuffer.o $o/StreamError.o test.cc -o test.exe
./test.exe
if [ $? != 0 ]
then