Created
April 21, 2017 00:07
-
-
Save vinnyoodles/64092c73f7625ec7661d53ce85f50545 to your computer and use it in GitHub Desktop.
Graph Shell Script
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
#!/bin/bash | |
echo "Compiling source code" | |
javac SSAD.java | |
echo "Running test" | |
for i in `seq 1 1 $1`; do | |
java -jar SSADGen.jar Graph${i}.txt profResults${i}.txt | |
java SSAD Graph${i}.txt log${i}.txt | |
java -jar LogComparator.jar profResults${i}.txt log${i}.txt | tail -n 1 | |
done | |
exit 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Here's an example:
Also, as a warning for every case, 3 files get created: the graph file, the prof results log file, and your log file, so be wary of running too many test cases.