Ok, the tests are done. I added a few invocations to
Driver/driver-compile.swift like you suggested, and I thought it best to also add a new invocation to
You also said to test the frontend similarly to
Frontend/batch-mode.swift, so I added a new file called
Frontend/ast-dump.swift that did something similar. To be honest, maybe the new file tests a bit more than it should for a frontend test, but I can always move some tests or delete them if need be.
I'm still not sure I understand everything about the test system, so feel free to point out any corrections. For instance, do I need to add the new file to a list of files somewhere?
I should also say that a few of the existing tests in
driver_compile.swift are failing in my computer, but they were also failing on my build from the master branch, so it doesn't seem to be something I did...
Anyway, the PR is updated if you want to take a look. I'm trying to get it done in time for the last Swift 5 merge on the 16th, so this will be my priority for the next few days :)