Test cases of the Decaf compiler PAs, for 2019 Fall.
In your decaf project root, clone this repository to TestCases/
:
git clone https://github.com/decaf-lang/decaf-2019-TestCases TestCases
When new testcases are published, you simply sync your folder with git pull
.
If you are using the Scala version, make sure you set the correct DECAF_JAR
in testAll.py
.
For Java & Scala versions, type ./testAll.py TARGET
to automatically run test cases.