Anas Nashif
320c078c02
tests: mqtt_packet: fix README and adapt for cmake
...
Use built-in macro for build instructions.
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2018-01-11 12:50:14 -05:00
Anas Nashif
5f42cb1b12
tests: mem_protect: fix README and adapt for cmake
...
Use built-in macro for build instructions.
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2018-01-11 12:50:14 -05:00
Anas Nashif
e029e94100
tests: fs: fix README and adapt for cmake
...
Change build instructions to use CMake and remove confusing
'Troubleshooting' section.
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2018-01-11 12:50:14 -05:00
Anas Nashif
911be994d1
tests: enable coverage
...
coverage option was dropped by mistake moving away from IS_TEST.
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2018-01-09 11:13:08 -05:00
Adithya Baglody
34b8b3b5ee
tests: kernel: fatal: x86: Fixed the issue with stack alignment.
...
The test case used a stack which was not aligned to 4kB. Hence an
assert was catching this issue.
GH-5539
Signed-off-by: Adithya Baglody <adithya.nagaraj.baglody@intel.com>
2018-01-09 08:22:05 -05:00
Mariusz Skamra
a45e18ec2e
Bluetooth: tester: Set BT_MESH_LABEL_COUNT
...
This is required to run tests related to Virtual Addresses
Signed-off-by: Mariusz Skamra <mariusz.skamra@codecoup.pl>
2018-01-09 10:29:10 +02:00
Anas Nashif
af00e22d07
tests: remove test.config
...
Remove this magic addition of configuration options and control
everything using CONFIG_TEST.
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2018-01-08 10:03:57 -05:00
Anas Nashif
a2eaae57f0
tests: add help text for TEST_EXTRA_STACKSIZE
...
Add a description of the configuration option.
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2018-01-08 10:03:57 -05:00
Anas Nashif
829598be2b
tests: add CONFIG_TEST for marking tests
...
Mark tests with CONFIG_TEST to allow for test specific setup and
configuration.
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2018-01-08 10:03:57 -05:00
Anas Nashif
94066e0f15
tests/samples: remove unknown option LOG_CBUFFER/LOGGER_BACKEND
...
Those options are not part of Zephyr.
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2018-01-08 08:08:45 -05:00
Anas Nashif
c78296dab4
tests: remove obsolete CONFIG_MDEF
...
CONFIG_MDEF is no more..
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2018-01-08 08:08:45 -05:00
Anas Nashif
3858b3c85f
tests: minor cleanup of test file headers
...
Create a doxygen header
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2018-01-08 08:08:45 -05:00
Anas Nashif
51e93dd105
tests: remove empty test header
...
Empty file with no value...
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2018-01-08 08:08:45 -05:00
Anas Nashif
9b20fa22ac
tests: static_idt: do not include test cmake
...
We should not include test/CMakeLists.txt directly, it is included by
cmake already.
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2018-01-08 08:08:45 -05:00
Punit Vara
71948788eb
tests: logger-hook: convert sample to ztest and move to test/
...
issue: #3302
Signed-off-by: Punit Vara <punit.vara@intel.com>
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2018-01-05 18:17:59 -05:00
Mariusz Skamra
0083634f73
Bluetooth: tester: Increase Mesh model group count
...
BT_MESH_MODEL_GROUP_COUNT has to be increased to meet the
PTS requirements.
Signed-off-by: Mariusz Skamra <mariusz.skamra@codecoup.pl>
2018-01-05 18:53:42 +02:00
Punit Vara
72a5f06ceb
tests: obj_tracing: Convert legacy test to ztest
...
Use ztest API in legacy test to support ztest
framework and also update README according to new
output.
Signed-off-by: Punit Vara <punit.vara@intel.com>
2018-01-05 07:21:32 -05:00
Anas Nashif
d872010f93
tests: test sys_kernel_version_get()
...
Basic test for sys_kernel_version_get verifying macros work correctly
and we get the expected version parts using the macros.
Fixes #4777
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2018-01-04 13:29:03 -05:00
Mariusz Skamra
9d6bb0995c
Bluetooth: tester: Do not start LPN automatically
...
This disables CONFIG_BT_MESH_LPN_AUTO flag in Kconfig.
LPN is enabled by calling BTP Low Power Node command
if requested.
Signed-off-by: Mariusz Skamra <mariusz.skamra@codecoup.pl>
2018-01-04 15:03:33 +01:00
Anas Nashif
8a67369887
tests: coverage depends on native applications
...
Build with coverage enabled for any other boards or applications is
useless at least right now. Make sure we only enable coverage for native
applications.
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2018-01-03 13:12:03 -05:00
Mariusz Skamra
813ec50838
Bluetooth: btp: Add event indicating expiration of incomp timer
...
This event indicates that segmented message incomplete timer
expired.
Signed-off-by: Mariusz Skamra <mariusz.skamra@codecoup.pl>
2018-01-03 10:48:13 +01:00
Mariusz Skamra
8274cbabf6
Bluetooth: btp: Add Mesh Clear Replay Protection List Cache command
...
This command is needed for Bluetooth Mesh testing against PTS.
Signed-off-by: Mariusz Skamra <mariusz.skamra@codecoup.pl>
2018-01-03 10:48:13 +01:00
Mariusz Skamra
a909aa3a0b
Bluetooth: btp: Add LPN Subscribe/Unsubscribe commands
...
This adds commands to manage Friend node Subscription List.
Those will be used to add or remove and group/virtual address
from subscription list.
Signed-off-by: Mariusz Skamra <mariusz.skamra@codecoup.pl>
2018-01-03 10:48:13 +01:00
Mariusz Skamra
0bd3790d5b
Bluetooth: btp: Add event indicating invalid provisioning BearerOpcode
...
This adds BTP event indicating reception of provisioning message
with invalid (RFU) BearerOpcode.
Signed-off-by: Mariusz Skamra <mariusz.skamra@codecoup.pl>
2018-01-03 10:48:13 +01:00
Mariusz Skamra
083937be32
Bluetooth: tester: Do not send BTP error if fault_update failed
...
This may fail, if model publication was not set by remote.
Signed-off-by: Mariusz Skamra <mariusz.skamra@codecoup.pl>
2018-01-03 10:48:13 +01:00
Mariusz Skamra
0d71cef1f2
Bluetooth: tester: Add BTP Mesh Model Send command implementation
...
This command will be used to test if model can properly send
segmented and unsegmented messages to a given destination address.
Signed-off-by: Mariusz Skamra <mariusz.skamra@codecoup.pl>
2018-01-03 10:48:13 +01:00
Sebastian Bøe
6f642a19fd
cmake: Ported mbedTLS to use Zephyr interface libraries
...
mbedTLS include directories will now default to be in the 'app'
include path when mbedTLS has been enabled.
Signed-off-by: Sebastian Bøe <sebastian.boe@nordicsemi.no>
2018-01-02 22:09:01 -05:00
Paul Sokolovsky
e25df54eae
various: Update/fix some textual material and code comments.
...
Of these, only struct net_ipv6_nbr_data::send_ns is a descriptive
change:
send_ns is used for timing Neighbor Solicitations in general, not
just for DAD.
The rest are typo/grammar fixes.
Signed-off-by: Paul Sokolovsky <paul.sokolovsky@linaro.org>
2017-12-29 09:45:39 -05:00
Anas Nashif
c263f2a208
tests: timer_api: remove build_only, exclude arches
...
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2017-12-28 20:24:29 -05:00
Anas Nashif
83fcd1cded
tests: gdb server is build_only
...
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2017-12-28 20:24:29 -05:00
Anas Nashif
d4784555d0
tests: remove build_only option
...
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2017-12-28 20:24:29 -05:00
Anas Nashif
2292d7881d
tests: move gdb_server to test_build
...
No need for this to be a standalone test.
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2017-12-28 20:24:29 -05:00
Anas Nashif
7bdf166bdb
tests: benchmark: rename default .conf file
...
Have the default config be prj.conf
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2017-12-28 20:24:29 -05:00
Anas Nashif
38e40427ec
tests: kernel: move build test out of kernel
...
This test has nothing related to kernel.
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2017-12-28 20:24:29 -05:00
Anas Nashif
e1e68c7af3
tests: uart: fixed filtering and make test global
...
Remove build_only and improved platform filtering.
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2017-12-28 20:24:29 -05:00
Anas Nashif
f07d66fcef
tests: rtc: fix dependencies
...
Depend on RTC driver being available on the device.
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2017-12-28 20:24:29 -05:00
Anas Nashif
5f34003da2
tests: integrate quark clock test in build test
...
This is just a build test, so integrate in the build_only test.
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2017-12-28 20:24:29 -05:00
Anas Nashif
7aec3948ec
tests: pwm: fix dependencies and use depends_on
...
We should only build and run on supported devices.
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2017-12-28 20:24:29 -05:00
Anas Nashif
8383fa65d1
tests: pinmux: depend on pinmux and support harness
...
Make sure we only build and run on supported platforms.
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2017-12-28 20:24:29 -05:00
Anas Nashif
a67a407c5d
tests: pci: fix tags
...
Add correct tag to the testcase.
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2017-12-28 20:24:29 -05:00
Anas Nashif
f2dc220387
tests: ipm: fix testcase tags
...
Add correct tag to the testcase.
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2017-12-28 20:24:29 -05:00
Anas Nashif
e9abafa5fb
tests: integrate nsim test in build test
...
This is just a build test, so make it part of the overall build test
instead of having a special test case for it.
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2017-12-28 20:24:29 -05:00
Anas Nashif
c859ebe02e
tests: i2c: make test depend on i2c
...
Build only for platforms that have an I2C driver.
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2017-12-28 20:24:29 -05:00
Anas Nashif
a0ba239886
tests: gpio: make test depend on gpio capability
...
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2017-12-28 20:24:29 -05:00
Anas Nashif
9e91d910e8
tests: remove standalone enc28j60 build test
...
We do already test building this driver somewhere else, this is a
duplicate.
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2017-12-28 20:24:29 -05:00
Anas Nashif
de4835902e
tests: dma: use depends_on to whitelist platforms
...
Only build for those platforms that support DMA.
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2017-12-28 20:24:29 -05:00
Anas Nashif
9bf53cb69c
build: remove stray CMakeLists.txt
...
This file is in the wrong place and does nothing.
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2017-12-28 20:24:29 -05:00
Anas Nashif
b886f3184b
tests: rename AIO api test
...
Too much duplication in test structure, just call this api and being
under aio, explains that it is an API test for AIO.
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2017-12-28 20:24:29 -05:00
Anas Nashif
7440a7ff23
tests: move aio sample to tests
...
This is clearly a test and not a sample.
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2017-12-28 20:24:29 -05:00
Anas Nashif
8dafd72eb7
posix: enable benchmarks for other architectures
...
We can run the benchmarks on other architectures beside x86
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2017-12-27 14:16:08 -05:00