Skip to content

Local code intelligence for developers and AI agents. Connect code, docs and infrastructure in a persistent graph, with CBM Lens, MCP tools, agent integrations and change-aware test selection.

test(cli): isolate OMP env overrides

DavidHLP0a74be79a307
diff --git a/scripts/smoke-local.sh b/scripts/smoke-local.sh
index 4a58f1293..888348ae9 100755
--- a/scripts/smoke-local.sh
+++ b/scripts/smoke-local.sh
@@ -201,6 +201,8 @@ env \
-u CBM_TRAE_CONFIG_PATH \
-u CBM_ROO_CONFIG_PATH \
-u CBM_CODY_CONFIG_PATH \
+ -u OMP_PROFILE \
+ -u PI_CODING_AGENT_DIR \
-u CBM_TEST_WINDOWS_USER_PATH_RUN_ID \
HOME="$SMOKE_HOME" \
USERPROFILE="$SMOKE_HOME" \
diff --git a/test-infrastructure/vm/vm-smoke.sh b/test-infrastructure/vm/vm-smoke.sh
index 37184080e..47facd241 100755
--- a/test-infrastructure/vm/vm-smoke.sh
+++ b/test-infrastructure/vm/vm-smoke.sh
@@ -221,6 +221,8 @@ env \
-u CBM_TRAE_CONFIG_PATH \
-u CBM_ROO_CONFIG_PATH \
-u CBM_CODY_CONFIG_PATH \
+ -u OMP_PROFILE \
+ -u PI_CODING_AGENT_DIR \
-u CBM_TEST_WINDOWS_USER_PATH_RUN_ID \
HOME="$(cygpath -m "$SMOKE_HOME")" \
USERPROFILE="$(cygpath -m "$SMOKE_HOME")" \
diff --git a/tests/test_main.c b/tests/test_main.c
index ba6f26d45..a89df3275 100644
--- a/tests/test_main.c
+++ b/tests/test_main.c
@@ -195,6 +195,8 @@ static const char *const tf_client_home_overrides[] = {
"CBM_TRAE_CONFIG_PATH",
"CBM_ROO_CONFIG_PATH",
"CBM_CODY_CONFIG_PATH",
+ "OMP_PROFILE",
+ "PI_CODING_AGENT_DIR",
};
static bool tf_setup_cache_sentinel(void) {
diff --git a/tests/test_smoke_fixture_contract.sh b/tests/test_smoke_fixture_contract.sh
index 43fb248fd..d6da876d2 100755
--- a/tests/test_smoke_fixture_contract.sh
+++ b/tests/test_smoke_fixture_contract.sh
@@ -95,6 +95,8 @@ CLIENT_HOME_OVERRIDES = (
"CBM_TRAE_CONFIG_PATH",
"CBM_ROO_CONFIG_PATH",
"CBM_CODY_CONFIG_PATH",
+ "OMP_PROFILE",
+ "PI_CODING_AGENT_DIR",
)
# The C suite exercises the same install/uninstall paths as the shell fixtures,