The codegen tests rely on a Linux host, so you need to either use a VM or the Docker image.
To use Docker, run:
./build-container.sh
./run-docker-tests.shThis opens a linux shell for you. Once this is running, back on your host, run the PublicCodegenTests class in your IDE.
It will assemble and run the decaf code in the docker container, while running the Scala code on the host. This is much faster
than doing both inside the container.