Commit 10d2b6a7 authored by Jakob Olsson's avatar Jakob Olsson

dbg

parent c2c06a9c
Pipeline #913 passed with stages
in 1 minute and 9 seconds
......@@ -66,6 +66,7 @@ IF(RPCSYS_SUPPORT)
ENDIF()
IF (IWINFO_SUPPORT)
MESSAGE("IWINFO SUPPRT ONN!!!!")
SET(PLUGINS ${PLUGINS} iwinfo_plugin)
ADD_LIBRARY(iwinfo_plugin MODULE iwinfo.c)
TARGET_LINK_LIBRARIES(iwinfo_plugin ubox ubus iwinfo)
......@@ -81,6 +82,7 @@ ELSE()
ENDIF()
IF(ENABLE_BUILD_TESTS)
MESSAGE("TESTS ARE ENABLED!!!")
FIND_PACKAGE(CMocka)
if(CMOCKA_FOUND)
INCLUDE(CodeCoverage)
......
......@@ -12,6 +12,7 @@ echo "admin:admin"|chpasswd
mkdir build
pushd build
echo cmake .. -DCMAKE_BUILD_TYPE=Debug -DIWINFO_SUPPORT=OFF
cmake .. -DCMAKE_BUILD_TYPE=Debug -DIWINFO_SUPPORT=OFF
make
make install
......
......@@ -4,9 +4,13 @@ echo "-- Starting unit-tests --"
pwd
echo ls
ls
echo ls ./build
ls ./build
echo ls ./build/test
ls ./build/test
echo ls ./build/test/cmocka
ls ./build/test/cmocka
make unit-test -C ./build
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment