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

  1. #!/bin/sh
  2. echo -n $0: 'Recovery... '
  3. cat >test.in <<eof
  4. Checking for match directly after another match -- flip-flap.
  5. eof
  6. cat >test.db <<eof
  7. flip-~ flip prefix
  8. flap flap alarm
  9. eof
  10. cat >test.ref <<eof
  11. test.in:1: Checking for match directly after another match -- [flip- -> flip prefix][flap -> flap alarm].
  12. 2 phrases in 1 sentence found.
  13. eof
  14. sh ./test/rundiction -f test.db test.in >test.data
  15. if cmp test.ref test.data
  16. then
  17. rm -f test.*
  18. echo passed
  19. else
  20. echo failed
  21. exit 1
  22. fi