diff options
| author | Petr Štetiar | 2019-11-01 08:28:07 +0000 |
|---|---|---|
| committer | Petr Štetiar | 2019-11-14 16:11:08 +0000 |
| commit | 17d6144a49c6289e43779c57b824d26c8200f512 (patch) | |
| tree | 0682ac98a7b1f6644ca75692682f4064f1effda0 | |
| parent | a6e8bbefd8609a51d3e6e1e7ddd8902c14b940ab (diff) | |
| download | uci-17d6144a49c6289e43779c57b824d26c8200f512.tar.gz | |
tests: shunit2: make it working under CMake
uci is being passed from CMake as environment variable.
Signed-off-by: Petr Štetiar <ynezz@true.cz>
| -rwxr-xr-x[-rw-r--r--] | tests/shunit2/tests.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/shunit2/tests.sh b/tests/shunit2/tests.sh index ee72c31..a7c6d90 100644..100755 --- a/tests/shunit2/tests.sh +++ b/tests/shunit2/tests.sh @@ -6,7 +6,7 @@ CHANGES_DIR="/tmp/.uci" TMP_DIR=${TESTS_DIR}"/tmp" FULL_SUITE=${TESTS_DIR}"/full_suite.sh" -UCI_BIN="../uci" +UCI_BIN=${UCI_BIN:-"../uci"} [ -x $UCI_BIN ] || { echo "uci is not present." >&2 return 1 |