aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2024-10-01 15:40:46 -0400
committerJoseph Hunkeler <jhunkeler@gmail.com>2024-10-01 15:40:46 -0400
commit1ba1fcc61a200c833f4a89849dd9d2577693bfa0 (patch)
treea15709e53d65e2e722446f04b6527e6714186ccd
parent9366c5660b8626baa4b25a093d19babd294cad60 (diff)
downloadstasis-1ba1fcc61a200c833f4a89849dd9d2577693bfa0.tar.gz
Add comment about use of xtrace
-rw-r--r--src/delivery_test.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/delivery_test.c b/src/delivery_test.c
index e2bfe97..3809768 100644
--- a/src/delivery_test.c
+++ b/src/delivery_test.c
@@ -13,7 +13,9 @@ void delivery_tests_run(struct Delivery *ctx) {
} else {
memset(globals.workaround.conda_reactivate, 0, PATH_MAX);
}
- snprintf(globals.workaround.conda_reactivate, PATH_MAX - 1, "\nmamba activate ${CONDA_DEFAULT_ENV}\n");
+ // Test blocks always run with xtrace enabled. Disable, and reenable it. Conda's wrappers produce an incredible
+ // amount of debug information.
+ snprintf(globals.workaround.conda_reactivate, PATH_MAX - 1, "\nset +x; mamba activate ${CONDA_DEFAULT_ENV}; set -x\n");
if (!ctx->tests[0].name) {
msg(STASIS_MSG_WARN | STASIS_MSG_L2, "no tests are defined!\n");