The test suits for minidecaf compiler.
Recommended: install GNU parallel to speed up checking by 3x more. Any version should be fine.
Usage: just ./check.sh. For each test case,
OKindicates success;FAILindicates divergence between your output and standard answer;ERRindicates that your compiler crashed, or produced malformed assembly.
In the same directory as the input files are the diagnostics, e.g. for xx.c:
xx.err: in case ofERR, the error messagexx.expected: the standard answer (by gcc)xx.actual: your output which you can diff againstxx.expectedxx.{gcc,my}: executables
Reference: