From 5d23ad9db68ea1436420fc06875932e46f8486df Mon Sep 17 00:00:00 2001 From: bunnie Date: Mon, 4 Jul 2022 17:55:23 +0800 Subject: [PATCH] add the `pddb-btest` target, for secret basis stress testing --- xtask/src/main.rs | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/xtask/src/main.rs b/xtask/src/main.rs index 25a459834..d1390a5b7 100644 --- a/xtask/src/main.rs +++ b/xtask/src/main.rs @@ -395,6 +395,17 @@ fn main() -> Result<(), Box> { false, )? } + Some("pddb-btest") => { + generate_app_menus(&Vec::::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> { 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") => {