This contains my bachelors thesis and associated tex files, code snippets and maybe more. Topic: Data Movement in Heterogeneous Memories with Intel Data Streaming Accelerator
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

29 lines
492 B

#!/bin/sh
echo -n $0: 'Recovery... '
cat >test.in <<eof
Checking for match directly after another match -- flip-flap.
eof
cat >test.db <<eof
flip-~ flip prefix
flap flap alarm
eof
cat >test.ref <<eof
test.in:1: Checking for match directly after another match -- [flip- -> flip prefix][flap -> flap alarm].
2 phrases in 1 sentence found.
eof
sh ./test/rundiction -f test.db test.in >test.data
if cmp test.ref test.data
then
rm -f test.*
echo passed
else
echo failed
exit 1
fi