From c74c1bb0d7ad342d9a2c87b9f6ccf101ab290af6 Mon Sep 17 00:00:00 2001 From: Rain Date: Mon, 9 Dec 2024 05:24:47 +0000 Subject: [PATCH] [integration-tests] rename build_tests to save_binaries_metadata The fact that tests are being built here is not hugely important here, and in upcoming work that's going to change anyway. --- integration-tests/tests/integration/fixtures.rs | 2 +- integration-tests/tests/integration/main.rs | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/integration-tests/tests/integration/fixtures.rs b/integration-tests/tests/integration/fixtures.rs index dcee4622552..98a3ffe1cc0 100644 --- a/integration-tests/tests/integration/fixtures.rs +++ b/integration-tests/tests/integration/fixtures.rs @@ -185,7 +185,7 @@ pub fn save_cargo_metadata(p: &TempProject) { } #[track_caller] -pub fn build_tests(p: &TempProject) { +pub fn save_binaries_metadata(p: &TempProject) { let output = CargoNextestCli::new() .args([ "--manifest-path", diff --git a/integration-tests/tests/integration/main.rs b/integration-tests/tests/integration/main.rs index 7e43b74409e..1464abda7aa 100644 --- a/integration-tests/tests/integration/main.rs +++ b/integration-tests/tests/integration/main.rs @@ -222,7 +222,7 @@ fn test_list_full_after_build() { set_env_vars(); let p = TempProject::new().unwrap(); - build_tests(&p); + save_binaries_metadata(&p); let output = CargoNextestCli::new() .args([ @@ -244,7 +244,7 @@ fn test_list_host_after_build() { set_env_vars(); let p = TempProject::new().unwrap(); - build_tests(&p); + save_binaries_metadata(&p); let output = CargoNextestCli::new() .args([ @@ -268,7 +268,7 @@ fn test_list_target_after_build() { set_env_vars(); let p = TempProject::new().unwrap(); - build_tests(&p); + save_binaries_metadata(&p); let output = CargoNextestCli::new() .args([ @@ -292,7 +292,7 @@ fn test_run_no_tests() { set_env_vars(); let p = TempProject::new().unwrap(); - build_tests(&p); + save_binaries_metadata(&p); let output = CargoNextestCli::new() .args([ @@ -597,7 +597,7 @@ fn test_run_after_build() { set_env_vars(); let p = TempProject::new().unwrap(); - build_tests(&p); + save_binaries_metadata(&p); let output = CargoNextestCli::new() .args([ @@ -626,7 +626,7 @@ fn test_relocated_run() { let custom_target_path = custom_target_dir.path(); let p = TempProject::new_custom_target_dir(custom_target_path).unwrap(); - build_tests(&p); + save_binaries_metadata(&p); save_cargo_metadata(&p); let mut p2 = TempProject::new().unwrap();