aboutsummaryrefslogtreecommitdiff
path: root/tests/test_conda.c
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@users.noreply.github.com>2026-06-18 14:05:46 -0400
committerGitHub <noreply@github.com>2026-06-18 14:05:46 -0400
commite2008513b5fb4ae71d87ca6d05bdab5f3cb3a53f (patch)
tree46faf70adbcbe727f6f74f07f387f8330ee390ab /tests/test_conda.c
parent252b9646c1cb0538123d51ced4a733f3dcfc266b (diff)
downloadstasis-e2008513b5fb4ae71d87ca6d05bdab5f3cb3a53f.tar.gz
Micromamba improvement (#148)HEAD1.7.0master
* Update micromamba installation logic * Split installation from micromamba() into micromamba_install() * Return -1 when micromamba cannot be installed * Add stasis.ini option "indexer.micromamba_download_url" * Add global variable micromamba_download_url * The installation function attempts two known-good URLs by default * * Add indexer arugment '--micromamba-download-url' * Add is_file_compressed() function to utils * Call micromamba_install() from tests * Add space in usage statement * Fix usage output when option array contains arguments without short options * Add --micromamba-download-url to README.md
Diffstat (limited to 'tests/test_conda.c')
-rw-r--r--tests/test_conda.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/test_conda.c b/tests/test_conda.c
index bbbef3c..4d0b4d8 100644
--- a/tests/test_conda.c
+++ b/tests/test_conda.c
@@ -26,6 +26,7 @@ void test_micromamba() {
for (size_t i = 0; i < sizeof(tc) / sizeof(*tc); i++) {
struct testcase *item = &tc[i];
+ STASIS_ASSERT(micromamba_install(&item->mminfo) == 0, "micromamba installation failed");
int result = micromamba(&item->mminfo, (char *) item->cmd);
if (result > 0) {
result = result >> 8;