David Tolnay
33323b61c7
Normalize syntax tree before roundtrip comparison
2020-11-23 16:33:32 -08:00
David Tolnay
f4c65bc03e
Work around ParseSess cache in test_round_trip
2020-11-23 14:35:01 -08:00
David Tolnay
5477dfdbb5
Pick up fs::read_to_string helper in test suite
2020-11-23 14:33:58 -08:00
David Tolnay
52293819dd
Factor out round trip helper to process dir entry
2020-11-23 14:32:14 -08:00
David Tolnay
94be55d332
Move SpanlessEq check outside of catch_unwind
2020-11-23 14:28:00 -08:00
David Tolnay
ab059367b4
Condense some import blocks
2020-09-05 22:04:36 -07:00
David Tolnay
27071442ef
Update test suite to nightly-2020-08-09
2020-08-08 19:35:28 -07:00
David Tolnay
d5bdf68749
Update test suite to nightly-2020-07-11
2020-07-10 19:50:19 -07:00
David Tolnay
08a1fcfab2
Remove references to libsyntax
2020-05-25 01:54:35 -07:00
David Tolnay
c2671386b4
Remove dependency of benchmarks on librustc_span
2020-05-25 01:54:35 -07:00
David Tolnay
17de596e78
Parse dyn-2015-no-warnings-without-lints test case using 2015 edition
2020-05-25 01:19:11 -07:00
David Tolnay
9289ffcf38
Make cargo test
fail more helpfully
2020-05-15 20:11:08 -07:00
David Tolnay
c384d91489
Raise rayon thread pool stack size
2020-05-15 19:16:29 -07:00
David Tolnay
e1c8908603
Rustc syntax crate has been renamed to rustc_ast
2020-03-02 00:36:24 -08:00
David Tolnay
a2f25fc8ad
Update test suite to nightly-2020-02-02
2020-02-02 00:07:58 -08:00
David Tolnay
15c3d40bcc
Update test suite to nightly-2020-01-11
2020-01-12 10:35:30 -08:00
David Tolnay
4489ebe19e
Update test suite to nightly-2020-01-05
2020-01-05 00:00:10 -08:00
David Tolnay
9a0f850404
Update test suite to nightly-2019-12-31
2019-12-30 21:32:22 -05:00
Igor Gnatenko
e9560720c3
Remove executable bit from files which do not need it
...
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
2019-12-03 19:15:18 +01:00
David Tolnay
f27b792e34
Remove error return from clone_rust
...
We can still use `?` but take care of checking the error centrally.
2019-11-23 16:32:45 -08:00
Andrew Gauger
95de7455cf
Rust implementation of download and extract source code ( #707 )
...
* Rust implementation of download and extract source code
* Use tar/gz files
* Extract rust into test directory
2019-11-23 16:26:21 -08:00
David Tolnay
19dfe7db7e
Update test suite to nightly-2019-11-23
2019-11-22 23:22:44 -08:00
David Tolnay
760ffd59d2
Update test suite to nightly-2019-11-11
2019-11-10 23:28:09 -08:00
David Tolnay
676bc161a0
Update test suite to nightly-2019-11-10
2019-11-09 18:37:04 -08:00
David Tolnay
148dcd955c
Update test suite to nightly-2019-10-17
2019-10-17 11:13:30 -04:00
David Tolnay
2ccf0206c9
Remove extern crate from tests
2019-08-27 20:48:18 -07:00
David Tolnay
4d156fd9d6
Module for rust-lang/rust repo related functions
2019-06-30 12:02:52 -07:00
David Tolnay
e6eb5903be
Update test suite to nightly-2019-05-23
2019-05-23 00:00:26 -07:00
David Tolnay
e9b448f367
Replace macro_use extern crate in tests
2019-03-10 22:46:38 -07:00
David Tolnay
f83b6c9816
Disable nightly-only tests on non nightly compiler
2019-03-10 00:13:33 -08:00
cad97
286b19f3da
Ignore .sh-requiring tests on Windows
2019-01-23 23:08:25 -05:00
David Tolnay
6259e46642
Copyright/license headers
...
The following changes are included:
- Delete per-file license notices at the top of each file.
- Delete the first paragraph of LICENSE-MIT (an inaccurate
pseudo-copyright line), leaving only the text of the MIT license.
Nothing about the license of Syn code has changed, only our
understanding of how to correctly communicate that license has changed.
This mirrors an equivalent change being applied in the rust-lang/rust
repository.
2018-11-24 16:20:31 -08:00
David Tolnay
c3f98562a8
Diagnose when test features are missing
2018-11-02 08:55:05 -07:00
David Tolnay
59e9631b80
No longer require so much stack space
2018-09-01 11:50:25 -07:00
David Tolnay
d1c31cc713
Update tests to nightly-2018-08-23
2018-08-24 15:26:17 -04:00
David Tolnay
ecd024d452
Implement eq for libsyntax data structures
2018-07-21 13:06:31 -07:00
Alex Crichton
3fec393878
Fix up some final issues
2018-05-20 16:41:41 -07:00
David Tolnay
eb7d79b35f
Format with rustfmt 0.4.1
2018-03-31 22:52:17 +02:00
Alex Crichton
9a4dca26c9
Update to proc-macro2 0.3 and tweak apis
2018-03-31 16:55:52 +02:00
David Tolnay
5d1a3ee883
Set up libsyntax globals for tests
2018-03-17 19:41:36 -07:00
Igor Gnatenko
951a52be05
deps: update walkdir to 2
...
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
2018-03-12 10:44:09 +01:00
David Tolnay
555350115f
Add license boilerplate to source files
2018-01-05 16:39:26 -08:00
David Tolnay
dd12556f30
Create 'delimited!' macro for tests
2017-12-31 02:16:22 -05:00
David Tolnay
5138205475
Format with rustfmt 0.3.4-nightly
2017-12-27 13:46:21 -05:00
David Tolnay
3cede94385
Resolve clippy lints in tests
2017-12-26 12:29:24 -05:00
David Tolnay
3eaf7d88a5
Abort more promptly on test failure
2017-12-17 23:14:52 -08:00
David Tolnay
e959425c39
Use syntax_pos::FileName
2017-12-17 21:53:42 -08:00
David Tolnay
ee97dbfc2f
Run round-trip and precedence tests in parallel
2017-11-19 15:29:38 -08:00
David Tolnay
cfa5cc0382
Test with libsyntax instead of syntex
2017-11-13 01:05:11 -08:00
Alex Crichton
6498031ec4
Remove unused crates
2017-08-28 09:55:02 -07:00