parent
cf3bd4d745
commit
7b2e1dab3f
@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
./build.sh
|
||||
./test.sh
|
@ -0,0 +1,12 @@
|
||||
#!/bin/bash
|
||||
|
||||
FILENAME=$1
|
||||
|
||||
if [ -z "$1" ] ; then
|
||||
echo "Running all test cases. Usage for individual test cases: test.sh FILENAME (inside src/test/data/pa1/sample/ folder)"
|
||||
java -cp "chocopy-ref.jar:target/assignment.jar" chocopy.ChocoPy --pass=s --test --dir src/test/data/pa1/sample/
|
||||
exit 1
|
||||
fi
|
||||
|
||||
java -cp "chocopy-ref.jar:target/assignment.jar" chocopy.ChocoPy \
|
||||
--pass=s --test src/test/data/pa1/sample/${FILENAME}
|
Loading…
Reference in new issue