diff options
| author | LuuuX <luuux98@163.com> | 2023-08-22 15:15:00 +0800 |
|---|---|---|
| committer | LuuuX <luuux98@163.com> | 2023-09-08 17:10:32 +0800 |
| commit | 45abd8caf2d596a520a8b712967aa19d799d002b (patch) | |
| tree | 9d19cda5d3d49d6c619b3d8d84c35b0a4b12d72f /src/bootstrap/builder | |
| parent | 32aa40538e473f58e504a09331c8a23a939ae88a (diff) | |
| download | rust-45abd8caf2d596a520a8b712967aa19d799d002b.tar.gz rust-45abd8caf2d596a520a8b712967aa19d799d002b.zip | |
Fix Issue 112009
modify fuction clond() -> cloned() optimize the code Handle the problem that the pathset is empty and modify the judgment of the builder::tests::test_exclude_kind Delete unnecessary judegment conditions skip test for library/std duo to OOM in benches as library/alloc Add FIXME for WASM32
Diffstat (limited to 'src/bootstrap/builder')
| -rw-r--r-- | src/bootstrap/builder/tests.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bootstrap/builder/tests.rs b/src/bootstrap/builder/tests.rs index 43b4a34fe5b..80e66622e8b 100644 --- a/src/bootstrap/builder/tests.rs +++ b/src/bootstrap/builder/tests.rs @@ -136,9 +136,9 @@ fn test_exclude_kind() { let mut config = configure("test", &["A"], &["A"]); // Ensure our test is valid, and `test::Rustc` would be run without the exclude. assert!(run_build(&[], config.clone()).contains::<test::CrateLibrustc>()); - // Ensure tests for rustc are skipped. + // Ensure tests for rustc are not skipped. config.skip = vec![path.clone()]; - assert!(!run_build(&[], config.clone()).contains::<test::CrateLibrustc>()); + assert!(run_build(&[], config.clone()).contains::<test::CrateLibrustc>()); // Ensure builds for rustc are not skipped. assert!(run_build(&[], config).contains::<compile::Rustc>()); } |
