add the pddb-btest target, for secret basis stress testing

This commit is contained in:
bunnie 2022-07-04 17:55:23 +08:00
parent ae8fe799bc
commit 5d23ad9db6

View file

@ -395,6 +395,17 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
false,
)?
}
Some("pddb-btest") => {
generate_app_menus(&Vec::<String>::new());
// for hosted runs, compile in the pddb test routines by default...for now.
run(false, &hw_pkgs,
Some(&[
"--features", "pddbtest",
"--features", "autobasis", // this will make secret basis tracking synthetic and automated for stress testing
"--features", "pddb/deterministic",
"--features", "autobasis-ci",
]), false)?
}
Some("run") => {
let mut args = env::args();
args.nth(1);
@ -414,10 +425,8 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
run(false, &pkgs,
Some(&[
"--features", "pddbtest",
"--features", "autobasis", // this will make secret basis tracking synthetic and automated for stress testing
"--features", "ditherpunk",
"--features", "tracking-alloc",
"--features", "pddb/deterministic",
]), false)?
}
Some("hosted-ci") => {