Skip to content

Commit 0a74be7

Browse files
committed
test(cli): isolate OMP env overrides
Signed-off-by: DavidHLP <lysf15520112973@163.com>
1 parent fa3a3ea commit 0a74be7

4 files changed

Lines changed: 8 additions & 0 deletions

File tree

‎scripts/smoke-local.sh‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,8 @@ env \
201201
-u CBM_TRAE_CONFIG_PATH \
202202
-u CBM_ROO_CONFIG_PATH \
203203
-u CBM_CODY_CONFIG_PATH \
204+
-u OMP_PROFILE \
205+
-u PI_CODING_AGENT_DIR \
204206
-u CBM_TEST_WINDOWS_USER_PATH_RUN_ID \
205207
HOME="$SMOKE_HOME" \
206208
USERPROFILE="$SMOKE_HOME" \

‎test-infrastructure/vm/vm-smoke.sh‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -221,6 +221,8 @@ env \
221221
-u CBM_TRAE_CONFIG_PATH \
222222
-u CBM_ROO_CONFIG_PATH \
223223
-u CBM_CODY_CONFIG_PATH \
224+
-u OMP_PROFILE \
225+
-u PI_CODING_AGENT_DIR \
224226
-u CBM_TEST_WINDOWS_USER_PATH_RUN_ID \
225227
HOME="$(cygpath -m "$SMOKE_HOME")" \
226228
USERPROFILE="$(cygpath -m "$SMOKE_HOME")" \

‎tests/test_main.c‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,8 @@ static const char *const tf_client_home_overrides[] = {
195195
"CBM_TRAE_CONFIG_PATH",
196196
"CBM_ROO_CONFIG_PATH",
197197
"CBM_CODY_CONFIG_PATH",
198+
"OMP_PROFILE",
199+
"PI_CODING_AGENT_DIR",
198200
};
199201

200202
static bool tf_setup_cache_sentinel(void) {

‎tests/test_smoke_fixture_contract.sh‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,8 @@ CLIENT_HOME_OVERRIDES = (
9595
"CBM_TRAE_CONFIG_PATH",
9696
"CBM_ROO_CONFIG_PATH",
9797
"CBM_CODY_CONFIG_PATH",
98+
"OMP_PROFILE",
99+
"PI_CODING_AGENT_DIR",
98100
)
99101
100102
# The C suite exercises the same install/uninstall paths as the shell fixtures,

0 commit comments

Comments
 (0)