Skip to content

Commit 9990bd8

Browse files
committed
[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.
1 parent c067718 commit 9990bd8

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

integration-tests/tests/integration/fixtures.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ pub fn save_cargo_metadata(p: &TempProject) {
185185
}
186186

187187
#[track_caller]
188-
pub fn build_tests(p: &TempProject) {
188+
pub fn save_binaries_metadata(p: &TempProject) {
189189
let output = CargoNextestCli::new()
190190
.args([
191191
"--manifest-path",

integration-tests/tests/integration/main.rs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ fn test_list_full_after_build() {
222222
set_env_vars();
223223

224224
let p = TempProject::new().unwrap();
225-
build_tests(&p);
225+
save_binaries_metadata(&p);
226226

227227
let output = CargoNextestCli::new()
228228
.args([
@@ -244,7 +244,7 @@ fn test_list_host_after_build() {
244244
set_env_vars();
245245

246246
let p = TempProject::new().unwrap();
247-
build_tests(&p);
247+
save_binaries_metadata(&p);
248248

249249
let output = CargoNextestCli::new()
250250
.args([
@@ -268,7 +268,7 @@ fn test_list_target_after_build() {
268268
set_env_vars();
269269

270270
let p = TempProject::new().unwrap();
271-
build_tests(&p);
271+
save_binaries_metadata(&p);
272272

273273
let output = CargoNextestCli::new()
274274
.args([
@@ -292,7 +292,7 @@ fn test_run_no_tests() {
292292
set_env_vars();
293293

294294
let p = TempProject::new().unwrap();
295-
build_tests(&p);
295+
save_binaries_metadata(&p);
296296

297297
let output = CargoNextestCli::new()
298298
.args([
@@ -597,7 +597,7 @@ fn test_run_after_build() {
597597
set_env_vars();
598598

599599
let p = TempProject::new().unwrap();
600-
build_tests(&p);
600+
save_binaries_metadata(&p);
601601

602602
let output = CargoNextestCli::new()
603603
.args([
@@ -626,7 +626,7 @@ fn test_relocated_run() {
626626
let custom_target_path = custom_target_dir.path();
627627
let p = TempProject::new_custom_target_dir(custom_target_path).unwrap();
628628

629-
build_tests(&p);
629+
save_binaries_metadata(&p);
630630
save_cargo_metadata(&p);
631631

632632
let mut p2 = TempProject::new().unwrap();

0 commit comments

Comments
 (0)