tests: add --testrunner flag so that column tests dont fail on startup
We added a startup panic to prevent users from running as debug mode, our tests are also hitting this. Add a new --testrunner flag which skips this check. We want this separate from the --debug flag so that the tests have a more consistent runtime environment. Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
@@ -130,6 +130,7 @@ mod tests {
|
||||
let datapath = create_tmp_dir();
|
||||
let dbpath = create_tmp_dir();
|
||||
let args: Vec<String> = vec![
|
||||
"--testrunner",
|
||||
"--datapath",
|
||||
&datapath.to_str().unwrap(),
|
||||
"--dbpath",
|
||||
@@ -155,6 +156,7 @@ mod tests {
|
||||
let tmpdir = create_tmp_dir();
|
||||
let npub = "npub1xtscya34g58tk0z605fvr788k263gsu6cy9x0mhnm87echrgufzsevkk5s";
|
||||
let args: Vec<String> = vec![
|
||||
"--testrunner",
|
||||
"--no-keystore",
|
||||
"--pub",
|
||||
npub,
|
||||
|
||||
Reference in New Issue
Block a user