Skip to content

Commit

Permalink
[integration-tests] rename build_tests to save_binaries_metadata
Browse files Browse the repository at this point in the history
The fact that tests are being built here is not hugely important here, and in
upcoming work that's going to change anyway.
  • Loading branch information
sunshowers committed Dec 9, 2024
1 parent c067718 commit c74c1bb
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion integration-tests/tests/integration/fixtures.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
12 changes: 6 additions & 6 deletions integration-tests/tests/integration/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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([
Expand All @@ -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([
Expand All @@ -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([
Expand All @@ -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([
Expand Down Expand Up @@ -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([
Expand Down Expand Up @@ -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();
Expand Down

0 comments on commit c74c1bb

Please sign in to comment.