Skip to content

Commit

Permalink
ignore test for arm for now as crossbuild can't find some files
Browse files Browse the repository at this point in the history
  • Loading branch information
john30 committed Feb 13, 2022
1 parent 71b4fd8 commit 4cdac87
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions make_debian.sh
Original file line number Diff line number Diff line change
Expand Up @@ -96,14 +96,17 @@ if [ -n "$RUNTEST" ]; then
cat test.txt || true
exit 1
}
($RELEASE/usr/bin/ebusd -f -c src/lib/ebus/test -d /dev/null --log=all:debug --inject=stop 10fe0900040000803e/ > test.txt) || testdie "float conversion"
egrep "received update-read broadcast test QQ=10: 0\.25$" test.txt || testdie "float result"
if [ "$RUNTEST" = "full" ]; then
(cd src/lib/ebus/test && make test_filereader && ./test_filereader) > test.txt || testdie "filereader"
(cd src/lib/ebus/test && make test_data && ./test_data) > test.txt || testdie "data"
(cd src/lib/ebus/test && make test_message && ./test_message) > test.txt || testdie "message"
(cd src/lib/ebus/test && make test_symbol && ./test_symbol) > test.txt || testdie "symbol"
fi
if [ "${ARCH#*arm}" = "$ARCH" ]; then
# only run on non-arm as crossbuild can't read some files
("$RELEASE/usr/bin/ebusd" -f -c src/lib/ebus/test -d /dev/null --log=all:debug --inject=stop 10fe0900040000803e/ > test.txt) || testdie "float conversion"
egrep "received update-read broadcast test QQ=10: 0\.25$" test.txt || testdie "float result"
fi
fi

echo
Expand Down

0 comments on commit 4cdac87

Please sign in to comment.