From 17d6144a49c6289e43779c57b824d26c8200f512 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Petr=20=C5=A0tetiar?= Date: Fri, 1 Nov 2019 09:28:07 +0100 Subject: [PATCH] tests: shunit2: make it working under CMake MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit uci is being passed from CMake as environment variable. Signed-off-by: Petr Å tetiar --- tests/shunit2/tests.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) mode change 100644 => 100755 tests/shunit2/tests.sh diff --git a/tests/shunit2/tests.sh b/tests/shunit2/tests.sh old mode 100644 new mode 100755 index ee72c31..a7c6d90 --- 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 -- 2.30.2