From 3978357f171be5d3cd54de55e24f8b2bd2efd947 Mon Sep 17 00:00:00 2001 From: Dirk Zimoch Date: Mon, 5 Jul 2021 16:46:47 +0200 Subject: [PATCH] fix test after introducing ansiEscape() function --- streamApp/tests/testStreamBuffer | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/streamApp/tests/testStreamBuffer b/streamApp/tests/testStreamBuffer index 51bfb5f..4796ef6 100755 --- a/streamApp/tests/testStreamBuffer +++ b/streamApp/tests/testStreamBuffer @@ -1,6 +1,7 @@ rm -f test.* cat > test.cc << EOF +#include #include #include #include @@ -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