From 6f8cfc32b5f3ebf36d3542cec5a186443d526a77 Mon Sep 17 00:00:00 2001 From: Benjamin Bertrand <benjamin.bertrand@ess.eu> Date: Fri, 27 Mar 2020 14:27:50 +0100 Subject: [PATCH] Allow to load test version without specifying it require didn't allow to load a test version without specifying it. With conda, as there is always only one version in the environment, the version found should always be loaded (even if test version). JIRA ICSHWI-4144 #action In Progress --- require.c | 1 + 1 file changed, 1 insertion(+) diff --git a/require.c b/require.c index bf5a14f1..98886ec5 100644 --- a/require.c +++ b/require.c @@ -1440,6 +1440,7 @@ require_priv(const char* module, switch ((status = compareVersions(currentFilename, version))) { + case TESTVERS: /* test version found */ case EXACT: /* exact match found */ case MATCH: /* all given numbers match. */ { -- GitLab