Skip to content

Commit 7f0c8b7

Browse files
committed
add UST_NCIDIA=1 in run_unit_test.sh
1 parent 37d2b78 commit 7f0c8b7

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

.github/scripts/ci/run_unit_test.sh

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,16 +102,17 @@ run_device_api() {
102102

103103
run_suite() {
104104
local suite_dir="$PROJECT_ROOT/test/unittest/$SUITE"
105+
local -a args=("${FLAGCX_CI_TEST_MAKE_ARGS[@]}")
105106
case "$SUITE" in
106107
adaptor|core|p2p|service)
107-
make -C "$suite_dir" run-unit
108+
make -C "$suite_dir" run-unit "${args[@]}"
108109
;;
109110
rma)
110-
make -C "$suite_dir" run-mpi
111+
make -C "$suite_dir" run-mpi "${args[@]}"
111112
;;
112113
runner)
113114
: "${FLAGCX_CI_RUNNER_NP:?The platform set_env script must define FLAGCX_CI_RUNNER_NP}"
114-
make -C "$suite_dir" run-unit
115+
make -C "$suite_dir" run-unit "${args[@]}"
115116
cd "$suite_dir"
116117
mpirun -np "$FLAGCX_CI_RUNNER_NP" --allow-run-as-root \
117118
./build/bin/runner_mpi_tests

0 commit comments

Comments
 (0)