Add back the default database path.
Allow default server_name when testing. Default to smoke test vector when testing. Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
@@ -149,6 +149,18 @@ pub struct Args {
|
||||
pub gc_muzzy: Option<bool>,
|
||||
}
|
||||
|
||||
impl Args {
|
||||
#[must_use]
|
||||
pub fn default_test(name: &str) -> Self {
|
||||
let mut args = Self::default();
|
||||
args.test.push(name.into());
|
||||
args.option
|
||||
.push("server_name=\"localhost\"".into());
|
||||
|
||||
args
|
||||
}
|
||||
}
|
||||
|
||||
impl Default for Args {
|
||||
fn default() -> Self { Self::parse() }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user