Github Use `harness = false` instead of `#![feature(custom_test_frameworks)]` by...
source link: https://github.com/rust-lang/miri/pull/1784
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Quoting from the comment in tests/compiletest.rs
:
Custom test runner, to avoid libtest being wrapped around compiletest which wraps libtest.
I believe harness = false
is more suitable for that purpose.
I have verified that both ./miri test
and LD_LIBRARY_PATH=$PWD/build/x86_64-unknown-linux-gnu/stage2/lib PATH=$PWD/build/bin:$PATH ./x.py test src/tools/miri
work well.
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK