aboutsummaryrefslogtreecommitdiff
path: root/tests/test_conda.c
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2026-05-12 12:37:27 -0400
committerJoseph Hunkeler <jhunkeler@gmail.com>2026-05-12 12:37:27 -0400
commit96bc699d269ff79bf31dad182f1a2b96226e8ce5 (patch)
tree9af5549537afa7e0083e1811f70371069dbde62f /tests/test_conda.c
parent9b7a784099f11fa20312a118c74d08a2c25572fc (diff)
downloadstasis-96bc699d269ff79bf31dad182f1a2b96226e8ce5.tar.gz
Replace __FUNCTION__ with __func__ (portable)
Diffstat (limited to 'tests/test_conda.c')
-rw-r--r--tests/test_conda.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_conda.c b/tests/test_conda.c
index f6ee2f8..bbbef3c 100644
--- a/tests/test_conda.c
+++ b/tests/test_conda.c
@@ -110,13 +110,13 @@ void test_conda_setup_headless() {
void test_conda_env_create_from_uri() {
const char *url = "https://ssb.stsci.edu/jhunk/stasis_test/test_conda_env_create_from_uri.yml";
- char *name = strdup(__FUNCTION__);
+ char *name = strdup(__func__);
STASIS_ASSERT(conda_env_create_from_uri(name, (char *) url, "3.11") == 0, "creating an environment from a remote source failed");
free(name);
}
void test_conda_env_create_export_remove() {
- char *name = strdup(__FUNCTION__);
+ char *name = strdup(__func__);
STASIS_ASSERT(conda_env_create(name, "3", "fitsverify") == 0, "unable to create a simple environment");
STASIS_ASSERT(conda_env_export(name, ".", name) == 0, "unable to export an environment");
STASIS_ASSERT(conda_env_remove(name) == 0, "unable to remove an environment");