Ralf Jung
|
5ff67363cb
|
fix warning
|
2018-12-12 19:51:52 +01:00 |
|
Ralf Jung
|
8ec371747a
|
do not auto-detect the targets in the sysroot, instead specify target manually through env var
|
2018-12-12 11:03:42 +01:00 |
|
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 |
|
Ralf Jung
|
0f43321178
|
no need to do run-time formatting
|
2017-08-03 12:39:55 -07:00 |
|
Ralf Jung
|
de1376f923
|
Add a build script to inform the binary about its profile, and use that in the test suite
|
2017-08-03 11:38:00 -07:00 |
|
Oliver Schneider
|
40677a5c47
|
Choose release miri for release tests
|
2017-08-02 18:28:12 +02:00 |
|
Oliver Schneider
|
11e30a65e6
|
Split up miri into the librustc_mir and bin parts
|
2017-08-01 09:56:21 +02:00 |
|
Oliver Schneider
|
4cfa7c5d12
|
Prep miri repository for rustc merger
|
2017-07-21 11:30:56 +02:00 |
|
Oliver Schneider
|
f2d0101065
|
Also test optimized MIR
|
2017-07-20 20:25:43 +02:00 |
|
Oliver Schneider
|
101e5a8ba0
|
Move rustc tests from tests to a binary, since they are only run manually anyway
|
2017-07-20 13:11:40 +02:00 |
|
Ralf Jung
|
e38ee0a30a
|
split up the test suite
|
2017-07-19 12:52:20 -07:00 |
|
Ralf Jung
|
8101592ab2
|
run fullmir tests against rustc; add output explaining what is being tested
|
2017-06-21 14:28:13 -07:00 |
|
Oliver Schneider
|
a6cd7a2e08
|
Also move some compile-fail tests to fullmir-only
|
2017-06-21 15:07:40 +02:00 |
|
Oliver Schneider
|
ef29e6a30b
|
Add fullmir tests
|
2017-06-21 08:57:17 +02:00 |
|
Ralf Jung
|
44a45f7c34
|
run test suite also against libstd with full MIR
|
2017-05-31 13:39:40 -07:00 |
|
Oliver Schneider
|
da3860a293
|
Address things complained about by clippy
|
2017-05-05 10:34:38 +02:00 |
|
Oliver Schneider
|
df9440d5ac
|
Also test subdirectories of rust/src/test/run-pass
|
2017-04-25 17:08:12 +02:00 |
|
Oliver Schneider
|
6d97d02c52
|
autogenerate markdown for rustc test suite result
|
2017-02-10 09:34:09 +01:00 |
|
Oliver Schneider
|
5118aadee2
|
reenable rustc run pass tests
|
2017-02-07 12:32:39 +01:00 |
|
Oliver Schneider
|
ccfcc12a58
|
aux tests only run if the host is set
|
2017-01-12 08:45:09 +01:00 |
|
Oliver Schneider
|
2f51310a80
|
clamp down on hacks in compiletest
|
2017-01-12 08:41:22 +01:00 |
|
Oliver Schneider
|
1f40819315
|
try to pin down the travis failure
|
2017-01-12 08:41:12 +01:00 |
|
Oliver Schneider
|
5d7b92a6e3
|
fix travis
|
2017-01-12 08:40:53 +01:00 |
|
Oliver Schneider
|
32cd8efb97
|
re-enable auxiliary tests for the host only
|
2017-01-12 08:40:16 +01:00 |
|
Scott Olson
|
96b83ebb7c
|
Improve compiletest target detection.
|
2016-12-17 00:54:37 -08:00 |
|
Scott Olson
|
33223fdd76
|
Allow compiletest to see symlinked targets.
|
2016-12-16 23:43:58 -08:00 |
|
Scott Olson
|
6ec3d65068
|
Revert "Revert "rustup to rustc 1.15.0-dev (ace092f56 2016-12-13)""
|
2016-12-16 17:10:16 -08:00 |
|
Scott Olson
|
0deabf9c00
|
Revert "rustup to rustc 1.15.0-dev (ace092f56 2016-12-13)"
|
2016-12-15 01:16:06 -08:00 |
|
Oliver Schneider
|
8b8c7430f1
|
re-use mir-opt compiletest instead of rolling our own
|
2016-12-14 17:06:36 +01:00 |
|
Scott Olson
|
fc3e1c0064
|
compiletest: Don't automatically enable MIRI_LOG=trace.
|
2016-11-26 23:21:25 -08:00 |
|
Oliver Schneider
|
4ebf7bfea6
|
rustup allows one to install the rust source, that's obviously not a target
|
2016-11-17 11:31:53 +01:00 |
|
Oliver Schneider
|
13f22f8344
|
print traces only when not running on the rust run-pass test suite (since tracing is slow)
|
2016-11-15 14:33:07 +01:00 |
|
Oliver Schneider
|
73f6d6e418
|
fix run-pass test error message parsing
|
2016-09-28 14:53:43 +02:00 |
|
Oliver Schneider
|
9e9d05e3ef
|
run compile-fail tests after run-pass tests
it's annoying when debugging miri to have compile-fail tests fail due to some temporary
assertions or panics.
|
2016-09-28 14:53:11 +02:00 |
|
Oliver Schneider
|
622d407e0e
|
don't abort on the first failed test
|
2016-09-27 17:02:24 +02:00 |
|
Oliver Schneider
|
e28f873756
|
actually error on failing miri-pass tests
+ remove a test that never succeeded
|
2016-09-26 17:49:53 +02:00 |
|
Oliver Schneider
|
0d2a403a51
|
run all tests found in folder given by MIRI_RUSTC_TEST env var
|
2016-09-15 16:13:54 +02:00 |
|
Oliver Schneider
|
eb594da409
|
forbid warnings only in the actual run-pass tests, not in the miri-pass tests
|
2016-09-15 16:12:36 +02:00 |
|
Oliver Schneider
|
055b6a8d38
|
store full TargetDataLayout in Memory instead of just pointer size
|
2016-06-23 09:36:37 +02:00 |
|
Oliver Schneider
|
a1082b9b1a
|
Merge remote-tracking branch 'origin/master' into oflo
|
2016-06-20 12:33:09 +02:00 |
|
Oliver Schneider
|
d9776427b4
|
compiletest 2.0 uses json errors and doesn't depend on the output format anymore
|
2016-06-20 10:34:55 +02:00 |
|
Scott Olson
|
35c76c6862
|
Ignore non-Rust files in run-pass.
Specifically, Vim's .<filename>.swp files were being run as tests.
|
2016-06-17 21:06:25 -06:00 |
|
Oliver Schneider
|
6376ef4228
|
run the *compiled* run-pass tests on the host machine
|
2016-06-17 15:21:01 +02:00 |
|
Oliver Schneider
|
3ba4f6db04
|
remove code repetition and fix overflowing intrinsics
|
2016-06-17 15:16:41 +02:00 |
|
Oliver Schneider
|
58b4fac1ce
|
implement overflowing ops
|
2016-06-17 13:09:20 +02:00 |
|
Oliver Schneider
|
60f2bb9c70
|
miri knows about --sysroot
|
2016-06-16 11:05:10 +02:00 |
|
Oliver Schneider
|
f01be91997
|
miri needs to be *built* with RUST_SYSROOT, not *run*
|
2016-06-16 11:00:46 +02:00 |
|
Oliver Schneider
|
2ed6f1c90a
|
caught by travis
|
2016-06-16 10:54:10 +02:00 |
|
Oliver Schneider
|
453a22a1e0
|
forward RUST_SYSROOT to miri test calls
|
2016-06-16 10:52:23 +02:00 |
|
Oliver Schneider
|
b6fca7355c
|
error out if a run-pass test fails
|
2016-06-16 10:50:23 +02:00 |
|
Oliver Schneider
|
9cceef0663
|
simplify target name extraction
|
2016-06-16 10:34:05 +02:00 |
|