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.

28 lines
421 B

  1. #!/bin/sh
  2. echo -n $0: 'Stemming... '
  3. cat >test.in <<eof
  4. Checking for word stems -- frobnification.
  5. eof
  6. cat >test.db <<eof
  7. frob~ frob is evil
  8. eof
  9. cat >test.ref <<eof
  10. test.in:1: Checking for word stems -- [frob -> frob is evil]nification.
  11. 1 phrase in 1 sentence found.
  12. eof
  13. sh ./test/rundiction -f test.db test.in >test.data
  14. if cmp test.ref test.data
  15. then
  16. rm -f test.*
  17. echo passed
  18. else
  19. echo failed
  20. exit 1
  21. fi