Skip to content
Snippets Groups Projects
Commit 232ced8c authored by kongr45gpen's avatar kongr45gpen
Browse files

Add basic style checking for tests and fix some issues

parent 714bbdee
No related branches found
No related tags found
No related merge requests found
......@@ -10,4 +10,4 @@
echo -e "\033[0;34mRunning cppcheck...\033[0m"
cd "$(dirname "$0")/.."
cppcheck --enable=all --error-exitcode=1 -I inc src
cppcheck --enable=all --error-exitcode=1 -I inc src tests
......@@ -10,4 +10,4 @@
echo -e "\033[0;34mRunning vera++...\033[0m"
cd "$(dirname "$0")/.."
vera++ --error --profile custom `find src inc -type f -regextype posix-egrep -regex '.*\.(cpp|hpp|c|h)'`
vera++ --error --profile custom `find src inc tests -type f -regextype posix-egrep -regex '.*\.(cpp|hpp|c|h)'`
......@@ -68,7 +68,7 @@ TEST_CASE("Requirement 7.3.2 (Boolean)", "[message][ecss]") {
REQUIRE(message.dataSize == 2);
CHECK(!message.readBoolean());
CHECK_FALSE(message.readBoolean());
CHECK(message.readBoolean());
}
......
......@@ -30,4 +30,3 @@ TEST_CASE("TM[17,3]", "[service][st17]") {
REQUIRE(response.dataSize == 2);
CHECK(response.readEnum16() == 40);
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment