Created
December 11, 2018 21:57
-
-
Save camilajenny/9cb6aac598aa2f097f4b39330d93a618 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
rm -f mine/tests/*.out | |
for f in tests/*.in | |
do | |
./pol < $f > mine/$f | |
# do something on $f | |
done | |
cd mine/tests | |
for file in *.in; do | |
mv "$file" "$(basename "$file" .in).out" | |
done | |
cd ../.. | |
diff -x '*.in' -x '*.mine' tests mine/tests |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment