Ralf Jung
|
5689366a0d
|
use rustc_version also to parse host in compiletest
|
2018-12-10 13:20:04 +01:00 |
|
Ralf Jung
|
f044205b5f
|
the test suite assumes a libstd with full MIR; run test suite on xargo-built foreign libstds
|
2018-12-10 10:04:55 +01:00 |
|
Oliver S̶c̶h̶n̶e̶i̶d̶e̶r Scherer
|
e73d0a3bca
|
Merge branch 'master' into fixme
|
2018-12-03 09:38:32 +01:00 |
|
Wim Looman
|
91f0b28ecc
|
Skip testing targets that don't ship libstd
|
2018-12-02 12:47:15 +01:00 |
|
Ralf Jung
|
429d84f068
|
remove/fix outdated FIXMEs in tests
|
2018-12-02 11:14:24 +01:00 |
|
Ralf Jung
|
1ae536b03e
|
use 2018 edition for tests
|
2018-11-20 12:41:34 +01:00 |
|
Ralf Jung
|
827e5180f2
|
stacked borrows is broken without full MIR
|
2018-11-16 10:01:54 +01:00 |
|
Ralf Jung
|
a87e952102
|
Separate deref and access into different operations; add special exception for creating raw references
|
2018-11-15 09:35:40 +01:00 |
|
Ralf Jung
|
54307cd888
|
bump compiletest so that we can share the tempdir() call
|
2018-11-09 14:04:22 +01:00 |
|
Ralf Jung
|
97302e86c2
|
remove unused import
|
2018-11-09 11:51:39 +01:00 |
|
Ralf Jung
|
45e14f8dc5
|
use custom test runner so that we can get proper test filtering
|
2018-11-09 11:50:34 +01:00 |
|
Ralf Jung
|
7ac0e79ad5
|
stub Retag hook; fix tests for removal of -Zmir-emit-validate
|
2018-11-01 08:58:03 +01:00 |
|
Ralf Jung
|
6cbe280094
|
Merge remote-tracking branch 'origin/master' into rustup
|
2018-10-30 09:40:18 +01:00 |
|
Ralf Jung
|
cba30e8e8b
|
opt level 3 works again :)
|
2018-10-29 11:51:22 +01:00 |
|
Ralf Jung
|
fe83ef323c
|
also run compile-fail tests with and without optimizations
|
2018-10-23 13:09:17 +02:00 |
|
Ralf Jung
|
957d18c343
|
Merge remote-tracking branch 'origin/master' into rustup
|
2018-10-22 08:41:01 +02:00 |
|
Ralf Jung
|
0b6e349417
|
automalically use start-fn if we have all the MIR
|
2018-10-19 10:07:17 +02:00 |
|
Ralf Jung
|
1907782b64
|
reenable some tests that work now, and organize them better with directories
|
2018-10-17 16:58:54 +02:00 |
|
Ralf Jung
|
37de74f015
|
test with opt levels 0 and 1
|
2018-10-16 17:57:03 +02:00 |
|
Ralf Jung
|
ee98799185
|
we no longer need to mess with the environment in our test suite
|
2018-07-26 16:49:10 +02:00 |
|
Ralf Jung
|
d11c668a39
|
no longer run rustc on the tests; instead make sure we actually deny all warnings
Also fix the fallout from that
|
2018-07-16 08:39:06 +02:00 |
|
Ralf Jung
|
25c067ac7a
|
testsuite: put everything into a single test to fix interleaved output mess
|
2018-07-12 15:05:25 +02:00 |
|
Ralf Jung
|
9718d73ac8
|
colored test output!
|
2018-07-12 11:26:09 +02:00 |
|
Ralf Jung
|
8ce16a7c30
|
remove xargo logic; instead rely on MIRI_SYSROOT being set to run full MIR tests
|
2018-07-12 11:02:48 +02:00 |
|
Ralf Jung
|
01578ca6b3
|
don't run all compile-fail tests with full MIR
|
2018-07-12 11:02:48 +02:00 |
|
Ralf Jung
|
5f2f254695
|
move tests that no longer need MIR out of fullmir
|
2018-07-12 10:22:23 +02:00 |
|
Ralf Jung
|
ff5b0fee33
|
fix many tests and ignore some others; enable compile_fail tests again
|
2018-07-12 10:22:23 +02:00 |
|
Ralf Jung
|
d4e8d0b935
|
fix deprecation warning: use dirs crate for home_dir
|
2018-07-11 17:42:35 +02:00 |
|
bjorn3
|
569792acbc
|
Address some review comments
|
2018-06-05 18:08:18 +02:00 |
|
Oliver Schneider
|
0eb3c18565
|
Use a deterministic method for executing the start lang item
|
2018-05-07 10:46:32 +02:00 |
|
bjorn3
|
e09a996b2a
|
Fix some more tests with some unsafe code
|
2018-04-13 16:04:57 +02:00 |
|
Oliver Schneider
|
cd89e56f15
|
Get the tests one step further
|
2018-04-13 16:04:57 +02:00 |
|
Oliver Schneider
|
709ab245df
|
Merge branch 'master' into windows
|
2017-09-16 15:06:26 +02:00 |
|
Oliver Schneider
|
cf92528426
|
Add windows support
|
2017-09-16 14:02:59 +02:00 |
|
Ralf Jung
|
5a5aa49db7
|
get rid of the --miri_host_target hack
|
2017-09-16 13:29:38 +02:00 |
|
Ralf Jung
|
060bb2fa9f
|
use ui test mode rather than mir-opt
These tests are not run per default
|
2017-09-16 12:36:31 +02:00 |
|
Oliver Schneider
|
ce3576f7d8
|
Use correct rustc in rust's CI
|
2017-09-11 11:01:26 +02:00 |
|
Ralf Jung
|
9fe0d60da6
|
disable optimized tests until rustc is fixed
|
2017-09-06 10:30:00 +02:00 |
|
Ralf Jung
|
8dff161bcb
|
update compiletest; we do not need tempdir any more
|
2017-09-04 13:02:55 +02:00 |
|
Oliver Schneider
|
f817f1c660
|
Get rid of env var race condition once and for all
|
2017-08-28 17:32:21 +02:00 |
|
Ralf Jung
|
2307d6fc5b
|
Merge branch 'master' into memory
|
2017-08-26 13:51:13 +02:00 |
|
Ralf Jung
|
2e28e14474
|
reorder lets so that build_dir is deleted last
|
2017-08-26 13:23:04 +02:00 |
|
Ralf Jung
|
df20c0684c
|
use tempdir to create a dedicated directory for each test
|
2017-08-26 13:12:55 +02:00 |
|
Ralf Jung
|
ac80212f7e
|
move tests with MIR-opt to their own function we we can run them separately
|
2017-08-25 19:21:10 +02:00 |
|
Oliver Schneider
|
8019deb0a9
|
Update compiletest.rs
|
2017-08-10 19:39:32 +02:00 |
|
Oliver Schneider
|
33ff32cac8
|
Get the test suite working inside the rustc test suite
|
2017-08-10 18:32:06 +02:00 |
|
Ralf Jung
|
1326aed02c
|
rustfmt
Except for error.rs, the result there looks rather ugly
|
2017-08-10 08:48:41 -07:00 |
|
Ralf Jung
|
9458111681
|
for now, disable validation on optimized tests -- inlining breaks validation
|
2017-08-03 18:13:23 -07:00 |
|
Ralf Jung
|
766a69f656
|
make test suite MIR validation aware. run-pass passes with and without fullmir, if optimizations are disabled!
|
2017-08-03 18:13:22 -07:00 |
|
Ralf Jung
|
2cf394955b
|
actually, we can use a plain constant
|
2017-08-03 12:58:34 -07:00 |
|