Skip to content

Commit a286d3e

Browse files
author
meihuisu
committed
run_unit
1 parent feb4c38 commit a286d3e

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

.github/workflows/uwlinca-ci.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,5 @@ jobs:
3030
uses: mxschmitt/action-tmate@v3
3131
with:
3232
limit-access-to-actor: true
33-
3433
- name: sleep to keep runner alive
3534
run: sleep 3600

test/run_unit

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
#!/bin/bash
22

3-
if [[ -z "${UCVM_INSTALL_PATH}" ]]; then
4-
if [[ -f "${UCVM_INSTALL_PATH}/model/uwlinca/lib" ]]; then
5-
env DYLD_LIBRARY_PATH=${UCVM_INSTALL_PATH}/model/uwlinca/lib ./test_uwlinca
3+
if [[ ! -z "${UCVM_INSTALL_PATH}" ]]; then
4+
if [[ -d "${UCVM_INSTALL_PATH}/model/uwlinca/lib" ]]; then
5+
env DYLD_LIBRARY_PATH=${UCVM_INSTALL_PATH}/model/uwlinca/lib:${DYLD_LIBRARY_PATH} ./test_uwlinca
66
exit
77
fi
88
fi
9-
env DYLD_LIBRARY_PATH=../src ./test_uwlinca
9+
env DYLD_LIBRARY_PATH=../src:${DYLD_LIBRARY_PATH} ./test_uwlinca

0 commit comments

Comments
 (0)