Ralf Jung
fa7811bbe1
use the cargo default for debug/release builds
2022-07-14 13:19:44 -04:00
Ralf Jung
efc76af134
don't forcefully enable debug assertions, but make -debug mode usable
...
still set those flags on CI though, we want to catch overflow there
2022-07-14 13:00:35 -04:00
Ralf Jung
52abae6826
fix comment in ./miri
2022-07-07 08:20:24 -04:00
Ralf Jung
d7a9989f52
add command to run our benchmarks
2022-07-04 15:23:31 -04:00
Ralf Jung
e71f8b0630
fix ./miri run with MIRI_TEST_TARGET
2022-07-03 08:35:44 -04:00
Ralf Jung
733b141789
./miri many-seeds: also print the seed before we try it
2022-07-02 16:06:23 -04:00
Ralf Jung
9bc7938bc2
more tweaks
2022-07-01 10:01:00 -04:00
Ralf Jung
7d09313727
add './miri many-seeds', and respect MIRIFLAGS in './miri run'
2022-07-01 09:55:02 -04:00
Ralf Jung
a1fabb9478
make miri script work from other working directories
2022-07-01 07:54:43 -04:00
Ralf Jung
e33efc7517
make ui_test pass clippy
2022-06-29 18:17:36 -04:00
Ralf Jung
02f8cb2d55
add ./miri clippy
2022-06-29 18:17:36 -04:00
David Tolnay
2cbc461389
Add './miri fmt' and use it in CI
2022-06-23 13:08:45 -07:00
Ralf Jung
b9d79a25ba
also 'check' the test suite
2022-05-30 12:30:54 +02:00
Oli Scherer
3832227734
Forward CARGO_BUILD_FLAGS to ui_test test suite
2022-05-30 07:26:47 +00:00
Oli Scherer
1b7e278922
Reintroduce path filters
2022-05-27 11:43:14 +00:00
Oli Scherer
e4d6c00aa2
Run tests for ui_test together with miri test
2022-05-25 18:26:33 +00:00
Oli Scherer
f1756c3ddd
Add a custom ui test runner and move all tests to it
2022-05-25 13:31:26 +00:00
Ralf Jung
82411c5840
stop relying on python being in the PATH
2022-05-10 12:20:55 +02:00
Ralf Jung
a9dd9b9571
macOS-compatible realpath
2021-12-20 23:14:17 +01:00
Ralf Jung
5d71528e4d
hack to work around RA quirk
2021-11-25 17:37:36 -05:00
Ralf Jung
16491aef42
Use bash to make sure &> works
2020-10-27 14:21:59 +01:00
Camelid
60a2c9b1f8
Hide readlink error in ./miri
...
`./miri` is just testing whether the platform supports `readlink -e`,
but it didn't hide properly hide the stderr output. This fixes that.
2020-10-23 13:00:33 -07:00
Ralf Jung
10f58b3eab
fix Miri script on macOS
2020-09-17 17:29:19 +02:00
Ralf Jung
2b3b83eb2c
canonicalize miri's directory
2020-09-17 17:29:19 +02:00
Ralf Jung
e310e2f0b9
set --target when building miri
...
This helps cargo tell apart `./miri` builds and `cargo check` (e.g. through rust-analyzer).
See https://github.com/rust-lang/cargo/issues/8440 .
2020-07-03 11:18:47 +02:00
Ralf Jung
35964b10b0
no workspace as that is incompatible with the rustc submodule
2020-05-28 08:53:44 +02:00
Ralf Jung
b71fea710c
just respect existing RUSTFLAGS instead of providing another override
2020-05-28 08:53:44 +02:00
Ralf Jung
0790f75ae4
make cargo-miri a separate crate in a workspace
2020-05-28 08:53:44 +02:00
Ralf Jung
3554f54173
make just ./miri print help text without 'unknown command'
2020-04-06 09:34:27 +02:00
Ralf Jung
0b07f6f5d3
set CARGO_INCREMENTAL=0 on CI, it's just a waste of time there
2020-04-02 09:49:48 +02:00
Ralf Jung
f751688396
miri build script: use incremental builds
2020-03-28 10:29:17 +01:00
Ralf Jung
eb3be2f97d
./miri check
2020-03-21 17:43:28 +01:00
Ralf Jung
274e72996e
miri script does not need to handle locally built rustc any more
2019-11-23 10:36:23 +01:00
Ralf Jung
324fed316f
print sysroot without any escaping
2019-10-19 16:38:37 +02:00
Ralf Jung
6ef7c0886c
deny warnings on CI
2019-08-15 11:14:45 +02:00
Ralf Jung
68d7e4ebb0
local rustc builds now also need a sysroot built
...
With the test-miri flag gone, the libstd of local builds isn't good enough for Miri any more.
2019-08-09 11:29:12 +02:00
Joshua Nelson
38b947b953
Show usage if run without arguments
...
Before, running `./miri` without arguments gave
'./miri: 92: shift: can't shift that many' if run with /bin/sh,
or no output at all when run with bash.
Although that gives some indication of the error, it's not as helpful as
showing the usage.
2019-06-27 21:47:09 -04:00
Ralf Jung
3b7ae049ee
make sure that find_sysroot always sets MIRI_SYSROOT
2019-06-09 19:41:58 +02:00
Ralf Jung
b0b082d4d8
do not handle MIRI_SYSROOT in the driver at all, rely fully on the --sysroot flag
2019-06-09 17:10:04 +02:00
Ralf Jung
16cc5ddacb
tweak logic for determining rustc default target
2019-05-29 09:39:49 +02:00
Ralf Jung
35b4d9fd8a
print usage information on invalid command
2019-05-29 09:36:59 +02:00
Ralf Jung
bf9f26401f
also pass flags to install
2019-05-28 19:20:01 +02:00
Ralf Jung
d55d04780c
reference cargo issue
2019-05-28 19:04:31 +02:00
Ralf Jung
ed0c6e8336
miri build script: support building miri in debug mode
2019-05-28 19:01:43 +02:00
Ralf Jung
0b6b7dad8f
fix more indentation
2019-05-27 15:35:48 +02:00
Ralf Jung
a358590679
fix indentation
2019-05-27 15:05:55 +02:00
Ralf Jung
7f3a298f6d
improve macOS-compatibility by being more awful
2019-05-27 15:02:17 +02:00
Ralf Jung
cf96396fcc
make miri script smarter: auto-determine MIRI_SYSROOT, handle MIRI_TEST_TARGET
2019-05-27 14:41:44 +02:00
Ralf Jung
eb85ced8c7
improve backtraces
2019-05-27 13:08:47 +02:00
Ralf Jung
ab1f60c910
comments
2019-05-27 13:04:18 +02:00