I am running rustc bootstrap build tests via cmd:
python3 src/bootstrap/bootstrap.py test --exclude "some excluded test cases list" --no-fail-fast --bless --target x86_64-poky-linux-gnu
which give failures as follows:
Running unittests src/lib.rs (/home/build-st/tmp/work/core2-64-poky-linux/rust/1.77.0/rustc-1.77.0-src/build
/bootstrap/debug/deps/bootstrap-fca753a60bf3f353)
uploaded "/home/build-st/tmp/work/core2-64-poky-linux/rust/1.77.0/rustc-1.77.0-src/build/bootstrap/debug/deps/bootstrap-fca753a60bf3f353", waiting for result
thread 'main' panicked at src/tools/remote-test-client/src/main.rs:310:9:
client.read_exact(&mut header) failed with failed to fill whole buffer
note: run withRUST_BACKTRACE=1
environment variable to display a backtrace
error: test failed, to rerun pass--lib
error: test failed, to rerun pass--bin bootstrap
error: test failed, to rerun pass--bin rustc
error: test failed, to rerun pass--bin rustdoc
error: test failed, to rerun pass--bin sccache-plus-cl
error: 5 targets failed:
--lib
--bin bootstrap
--bin rustc
--bin rustdoc
--bin sccache-plus-cl
Since these unittests give build failures, how can I skip/disable(all unittest cases) them from running using the above cmd (any flag or option to be passed with cmd) so that the build is completed successfully.
Thanks.