fix test after introducing ansiEscape() function
This commit is contained in:
@ -1,6 +1,7 @@
|
|||||||
rm -f test.*
|
rm -f test.*
|
||||||
|
|
||||||
cat > test.cc << EOF
|
cat > test.cc << EOF
|
||||||
|
#include <StreamError.h>
|
||||||
#include <StreamBuffer.h>
|
#include <StreamBuffer.h>
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
@ -55,14 +56,14 @@ EOF
|
|||||||
|
|
||||||
if [ "$1" = "-sls" ]
|
if [ "$1" = "-sls" ]
|
||||||
then
|
then
|
||||||
O=../../O.*_$EPICS_HOST_ARCH/StreamBuffer.o
|
O=../../O.*_$EPICS_HOST_ARCH
|
||||||
else
|
else
|
||||||
O=../../src/O.$EPICS_HOST_ARCH/StreamBuffer.o
|
O=../../src/O.$EPICS_HOST_ARCH
|
||||||
fi
|
fi
|
||||||
|
|
||||||
for o in $O
|
for o in $O
|
||||||
do
|
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
|
./test.exe
|
||||||
if [ $? != 0 ]
|
if [ $? != 0 ]
|
||||||
then
|
then
|
||||||
|
Reference in New Issue
Block a user