Skip to content
This repository has been archived by the owner on Aug 16, 2021. It is now read-only.

Commit

Permalink
Improve (and fix) testing system
Browse files Browse the repository at this point in the history
  • Loading branch information
Jacajack committed May 30, 2016
1 parent feec4d2 commit 233f8fd
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,3 @@ bin
*.o
*.morse
tests/*.morse
tests/*.txt
10 changes: 7 additions & 3 deletions tests/test.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
../bin/cmorse -i test.txt > out1.morse
../bin/cmorse -i test.txt -o out2.morse
../bin/cmorse -i out1.morse -d -o out1.txt
../bin/cmorse -i test.txt -o morse
../bin/cmorse -d -i morse -o text
if ! cmp test.txt text
then
echo "Files are not the same!"
fi
rm -f morse text

0 comments on commit 233f8fd

Please sign in to comment.