projects
/
project
/
uci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a6e8bbe
)
tests: shunit2: make it working under CMake
author
Petr Štetiar
<ynezz@true.cz>
Fri, 1 Nov 2019 08:28:07 +0000
(09:28 +0100)
committer
Petr Štetiar
<ynezz@true.cz>
Thu, 14 Nov 2019 16:11:08 +0000
(17:11 +0100)
uci is being passed from CMake as environment variable.
Signed-off-by: Petr Štetiar <ynezz@true.cz>
tests/shunit2/tests.sh
[changed mode: 0644->0755]
patch
|
blob
|
history
diff --git
a/tests/shunit2/tests.sh
b/tests/shunit2/tests.sh
old mode 100644
(file)
new mode 100755
(executable)
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