]> git.lizzy.rs Git - rust.git/commit
Add dedicated pretty-printer tests with new pp-exact directive
authorBrian Anderson <banderson@mozilla.com>
Mon, 1 Aug 2011 21:10:59 +0000 (14:10 -0700)
committerBrian Anderson <banderson@mozilla.com>
Tue, 2 Aug 2011 17:39:13 +0000 (10:39 -0700)
commit0fbb6782bbdbe8d3bd703ca46110c989aec3e2ff
treee8658c0147ae9734bf6b963b76eedffc7990d365
parenteea888af253083d658319382352181df7f255c03
Add dedicated pretty-printer tests with new pp-exact directive

Add a new src/test/pretty directory to hold just source files for testing the
pretty-printer.

Add a new pp-exact directive. When this directive is followed by a file name
it specifies a file containing the output that the pretty-printer should
generate. When pp-exact is not followed by a filename it says that the file
should pretty-print as written.
configure
mk/tests.mk
src/test/compiletest/header.rs
src/test/compiletest/runtest.rs
src/test/pretty/example1.rs [new file with mode: 0644]
src/test/pretty/example2.pp [new file with mode: 0644]
src/test/pretty/example2.rs [new file with mode: 0644]