Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions cargo-pgrx/src/command/regress.rs
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,10 @@ pub(crate) struct Regress {
/// Run the test suite this many times (default: 1)
#[clap(long, default_value_t = 1, value_name = "N")]
pub(crate) repeat: u32,

/// Run Postgres under valgrind while executing the regression tests
#[clap(long)]
pub(crate) valgrind: bool,
}

impl Regress {
Expand Down
2 changes: 1 addition & 1 deletion cargo-pgrx/src/command/run.rs
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ impl From<&Regress> for Run {
verbose: regress.verbose,
pgcli: false,
install_only: false,
valgrind: false,
valgrind: regress.valgrind,
}
}
}
Expand Down
Loading