This (based on the pretty branch) moves the test suite to its own crate, within a Cargo workspace.
The first test I ported is the largest one, which parses, pretty-prints and reparses several thousand files from the GCC test suite. (They are in a tarball in the repo which is unpacked by the new test.sh script.)
In the process, I fixed some outstanding bugs, so now all of those files are parseable and after pretty-printing, parsing that results in the same AST.
This (based on the
pretty
branch) moves the test suite to its own crate, within a Cargo workspace.The first test I ported is the largest one, which parses, pretty-prints and reparses several thousand files from the GCC test suite. (They are in a tarball in the repo which is unpacked by the new
test.sh
script.)In the process, I fixed some outstanding bugs, so now all of those files are parseable and after pretty-printing, parsing that results in the same AST.