From a31a9b7ef81f47d6972a2a74fe9c660c4d250d55 Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Thu, 14 Mar 2024 16:04:09 -0400 Subject: Add fix_tox_conf function * If the user calls tox in a test script like so: tox {{ workaround.tox_posargs }}, then a temporary tox configuration will be generated and the appropriate arguments to use it will be injected into tox's command line arguments --- src/main.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/main.c') diff --git a/src/main.c b/src/main.c index b7b4e3f..a2682ac 100644 --- a/src/main.c +++ b/src/main.c @@ -254,6 +254,7 @@ int main(int argc, char *argv[], char *arge[]) { tpl_register("system.platform", &ctx.system.platform[DELIVERY_PLATFORM_RELEASE]); tpl_register("deploy.jfrog.repo", &globals.jfrog.repo); tpl_register("deploy.docker.registry", &ctx.deploy.docker.registry); + tpl_register("workaround.tox_posargs", &globals.workaround.tox_posargs); // Set up PREFIX/etc directory information // The user may manipulate the base directory path with OMC_SYSCONFDIR -- cgit