aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2024-03-14 16:04:09 -0400
committerJoseph Hunkeler <jhunkeler@gmail.com>2024-03-14 16:04:09 -0400
commita31a9b7ef81f47d6972a2a74fe9c660c4d250d55 (patch)
treebf83edd8e11690892dae92b5109d49f8e265bcf9 /src/main.c
parent0c21db396d0ca18db4326c53fe69137a69e3f4cb (diff)
downloadstasis-a31a9b7ef81f47d6972a2a74fe9c660c4d250d55.tar.gz
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
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c1
1 files changed, 1 insertions, 0 deletions
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