diff options
Diffstat (limited to 'src/delivery.c')
-rw-r--r-- | src/delivery.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/delivery.c b/src/delivery.c index 6dcfb4b..2d2273c 100644 --- a/src/delivery.c +++ b/src/delivery.c @@ -1789,7 +1789,9 @@ void delivery_tests_run(struct Delivery *ctx) { puts(cmd); char runner_cmd[PATH_MAX] = {0}; - sprintf(runner_cmd, "set -x\n%s", cmd); + char *full_runtime = conda_runtime_dump(ctx->storage.conda_install_prefix); + sprintf(runner_cmd, "%s\nset -x\n%s", full_runtime, cmd); + guard_free(full_runtime); status = shell(&proc, runner_cmd); if (status) { msg(STASIS_MSG_ERROR, "Script failure: %s\n%s\n\nExit code: %d\n", ctx->tests[i].name, ctx->tests[i].script, status); |