Skip to content

Commit 72036b9

Browse files
author
meihuisu
committed
run_unit
1 parent 9f1e0ae commit 72036b9

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

test/run_unit

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

3-
if [[ -z "${UCVM_INSTALL_PATH}" ]]; then
4-
if [[ -f "${UCVM_INSTALL_PATH}/model/cca/lib" ]]; then
3+
if [[ ! -z "${UCVM_INSTALL_PATH}" ]]; then
4+
if [[ -d "${UCVM_INSTALL_PATH}/model/cca/lib" ]]; then
55
env DYLD_LIBRARY_PATH=${UCVM_INSTALL_PATH}/model/cca/lib:${DYLD_LIBRARY_PATH} ./test_cca
66
exit
77
fi

0 commit comments

Comments
 (0)