summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2016-10-28tests: Add FXOS8700 sensor to driver build_all test.Marcus Shawcroft
Change-Id: I60f62d54b3743335ae80bbb58b2c4ce690b43f41 Signed-off-by: Marcus Shawcroft <marcus.shawcroft@arm.com>
2016-10-27tests: move quark_se boot stub to testsAnas Nashif
Lets not confuse user with this code, it is clearly not a sample. Change-Id: I3a0209fb34b2c97383b0f5382f156b80470fdaf7 Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2016-10-27test: test_hmac: cleanup excludesAnas Nashif
Change-Id: Ib973339191a15b1dbb4fd5f3fa2fc5fe886521a3 Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2016-10-27move tests from samples to tests/Anas Nashif
Change-Id: Ib183936134d27ff84d9af57e8e2e2d9f0cc2670f Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2016-10-27kernel: merge _IS_IN_ISR() with _is_in_isr()Benjamin Walsh
They were the same, standardize on the lowercase one. Change-Id: I8bca080e45f3e0970697d4451e468b9081f96f5f Signed-off-by: Benjamin Walsh <benjamin.walsh@windriver.com>
2016-10-27unified/tests: Adapt test_aes for unified kernelDmitriy Korovkin
Unified kernel invokes main() function in the init thread. This eliminates the need for a separate thread for the test. Change-Id: I4ff2e160213d152ca7c5d8422162f3464d935119 Signed-off-by: Dmitriy Korovkin <dmitriy.korovkin@windriver.com>
2016-10-27unified/tests: Adapt test_sha256 for unified kernelDmitriy Korovkin
Unified kernel invokes main() function in the init thread. This eliminates the need for a separate thread for the test. Change-Id: I4e6c4f212615d2135adf7971df32db1ad392c0e2 Signed-off-by: Dmitriy Korovkin <dmitriy.korovkin@windriver.com>
2016-10-27test/crypto: Fix RAM overflow error in ISSMFlavio Santes
According to feedback received in ZEP-1130, decreasing the stack size in the prj.mdef file solves the RAM overflow issue reported by ISSM. Jira: ZEP-1130 Change-Id: I761531e535a9e54ccd024b397d5d92d7666be817 Signed-off-by: Flavio Santes <flavio.santes@intel.com>
2016-10-27unified/test: Fix typo in kernel's test_task applicationAllan Stephens
The wrong tag name was used to mark the test as compatible with the unified kernel. Change-Id: Idda5d5e0993447270e7131c42c224df8dcd59282 Signed-off-by: Allan Stephens <allan.stephens@windriver.com>
2016-10-26test: drivers/build_all support HP206CMarcus Shawcroft
Change-Id: Ifad32d59a9786e5b1334532c5c6e7f29657c2a77 Signed-off-by: Marcus Shawcroft <marcus.shawcroft@arm.com>
2016-10-26test: drivers/build_all add CONFIG_WATCHDOGMarcus Shawcroft
Change-Id: Ie28877dcb07136cf088b151d8394de606603bfa7 Signed-off-by: Marcus Shawcroft <marcus.shawcroft@arm.com>
2016-10-26test: drivers/build_all refactor, impose some order...Marcus Shawcroft
Change-Id: I2fc6c43d489193e39f643d8cac1a8ba6ea57a896 Signed-off-by: Marcus Shawcroft <marcus.shawcroft@arm.com>
2016-10-26test: Add PINMUX to drivers build_allMarcus Shawcroft
Change-Id: I6d115ca5726bcc9e7b4100a3fce7fcc965b37cae Signed-off-by: Marcus Shawcroft <marcus.shawcroft@arm.com>
2016-10-25iot/zoap: Add unit tests for block-wise transfersVinicius Costa Gomes
Change-Id: Ie529d2989481a6be674632dc256fb3995a9953c3 Signed-off-by: Vinicius Costa Gomes <vinicius.gomes@intel.com>
2016-10-25test/context: Fix style issuesFlavio Santes
Fix some style issues found at the 'test_context' source code. Issues detected: - Naming convention - Lines over 80 characters Change-Id: I2f121fce7b00aaf805da44a9aa33cd5aa8d3d6ac Signed-off-by: Flavio Santes <flavio.santes@intel.com>
2016-10-25sensor/th02: Add missing build_all test.Marcus Shawcroft
Change-Id: Ib19ab95389e8867c306d44cd542e062c081bad9b Signed-off-by: Marcus Shawcroft <marcus.shawcroft@arm.com>
2016-10-25sensor/sht3xd: Fix build_all sensor test.Marcus Shawcroft
Change-Id: Ic0f1dd745762d94bdb6ab9277a475d41fc148fd0 Signed-off-by: Marcus Shawcroft <marcus.shawcroft@arm.com>
2016-10-25unified/test: Adapt floating point sharing testAllan Stephens
Microkernel and nanokernel tests now use customized source code to eliminate use of MICROKERNEL and NANOKERNEL config options. Change-Id: I7f9aff4729a7a257c4a0a0f5939ba0f5525af460 Signed-off-by: Allan Stephens <allan.stephens@windriver.com>
2016-10-25kernel/test: Add testing of heap memory pool supportAllan Stephens
Enhances the microkernel memory pool test application to include tests for dynamic memory allocation and freeing from the heap memory pool using kernel APIs that behave like malloc() and free(). This enhancement works under both the microkernel and unified kernel. Change-Id: Ibc485877ea9d60307edb8f93c54a0b94ebacb017 Signed-off-by: Allan Stephens <allan.stephens@windriver.com>
2016-10-24tests: Rename test_arm_m3_irq_vector_table test since it is not M3 specificKumar Gala
Drop the _m3 from the test name since this can run on M0, M3, M4, etc. Change-Id: Ia12ece62fc7b42e28f37e191c90c0dead48d40d0 Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2016-10-24tests: mbedtls: mark nios2 as slowAnas Nashif
Change-Id: I95ac7c82ccdc6abb1cb7c345bea517ea48dceb8c Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2016-10-24tests: Add sensor HTS221 to driver/build-all test case.Marcus Shawcroft
Change-Id: Ifd5acf8bfaa75a44458b448001c0f2335fd6364d Signed-off-by: Marcus Shawcroft <marcus.shawcroft@arm.com>
2016-10-24tests: Add CONFIG_COUNTER to build_all driver tests.Marcus Shawcroft
Change-Id: I721832c86322acdb2b9d103586f9f783b9a63c77 Signed-off-by: Marcus Shawcroft <marcus.shawcroft@arm.com>
2016-10-24tests: Adjust drivers/build_all to build for more boards.Marcus Shawcroft
The build_all tests contain an ever growing list of device drivers to build. Ideally we minimize the number of images we build, but we already observe that some of the tests, notably sensors, is too big for some of our supported boards. Rather disable an ever growing list of boards as the build_all tests get bigger it would be better to split the tests into smaller chunks that can reasonably be expected to run on any supported board. We split the sensor test set into two, the division is arbitrary, based on the name of the driver. This allows us to remove the filter on the quark_d2000. The current split into two groups is arbirary, in the future it is inevitable that as the list of supported drivers grows, we will need to further subdivied the larger tests. Change-Id: If7ee00b3c8e1749c4c827f83d7cbc2feb70e56ad Signed-off-by: Marcus Shawcroft <marcus.shawcroft@arm.com>
2016-10-22tests: fix testcases for cortex-m0+ platformsAnas Nashif
Change-Id: Idf6f5e38354aa5f1801ec0c0db63a4e19243918c Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2016-10-22tests: sha256: filter by RAM sizeAnas Nashif
Change-Id: Ie4e995006afc1281bee22e5b2d7f2a6a3b3bac28 Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2016-10-22unified/arc: Add tickless idle test for Arduino 101 ARC coreDmitriy Korovkin
Change-Id: I19375d70e875ea94570956598409a28b1f237b13 Signed-off-by: Dmitriy Korovkin <dmitriy.korovkin@windriver.com>
2016-10-21x86: arm: add support for custom data at start/end of RAMAndrew Boie
This is used by a test case, and it's better to just put this here instead of forking the linker scripts. Change-Id: Ifbb90b73bb26118ae2422cc6feccb3db58a26f2c Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
2016-10-21x86: remove references to .intStubSect in linker scriptAndrew Boie
This has been unused for a long time. Change-Id: Ie251d60d1cf9f3806292e3c150dbedf5f99d6410 Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
2016-10-21x86: remove unused linker-defs-arch.hAndrew Boie
Change-Id: Ib57cced30569adf2ae72f32d27baf30a5ca4fe71 Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
2016-10-21Bluetooth: SDP: Shorten Service Class macro nameKaustav Dey Biswas
This change shortens the Service Class macro name from BT_SDP_*_SVCLASS_ID to BT_SDP_*_SVCLASS Change-Id: I1150baae24428c6b76f005d11003291016e0a03e Signed-off-by: Kaustav Dey Biswas <kaustav.d.biswas@intel.com>
2016-10-21Bluetooth: shell: Add sample SDP service registrationKaustav Dey Biswas
This change adds SPP as a sample SDP service during RFCOMM server registration. The SPP channel is now used as the fixed channel for RFCOMM register command. Change-Id: I3b5ad3995725adca55db1497d4a35099f6311f3b Signed-off-by: Kaustav Dey Biswas <kaustav.d.biswas@intel.com>
2016-10-21Bluetooth: GATT: Pass CCC attribute to changed callbackLuiz Augusto von Dentz
This way the application can reuse the same callback for multiple CCC since it can track what CCC is affect by checking the attribute pointer. Change-Id: I608da643aea07de26b65d67e6db3268d717d0f53 Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
2016-10-19unified: Revise timer code to conform to new API specificationAllan Stephens
Provides users with a more compact and intuitive API for kernel timers. Provides legacy support for microkernel timers and nanokernel timers by building on the new kernel timer infrastructure. Each timer type requires only a small amount of additional wrapper code, as well as the addition of a single pointer field to the underlying timer structure, all of which will be easily removed when support for the legacy APIs is discontinued. Change-Id: I282dfaf1ed08681703baabf21e4dbc3516ee7463 Signed-off-by: Allan Stephens <allan.stephens@windriver.com>
2016-10-19tests/benchmark/latency_measure: use TC_PRINT_RUNID when reporting successInaky Perez-Gonzalez
In order to print the proper strings that the test case execution frameworks expect, use the macros defined in tc_util.h. Change-Id: I841c5454fbcf4f679e6285538e838f039442b1f8 Signed-off-by: Inaky Perez-Gonzalez <inaky.perez-gonzalez@intel.com>
2016-10-18filter: exclude sensor tests from assert buildGenaro Saucedo Tejada
When running sanity with asserts turned on the following tests don't fit the ROM region of CONFIG_SOC_QUARK_D2000: - test_build_sensor_triggers - test_build_sensors Added filters prevent these test from being executed when asserts are on. Jira: ZEP-1063 Change-Id: Ib046bcb227f4a49b524894aa5aea80debe159aae Signed-off-by: Genaro Saucedo Tejada <genaro.saucedo.tejada@intel.com>
2016-10-18pinmux: Rename frdm_k64f pinmux driver to k64Maureen Helm
The k64 pinmux driver can be used for any k64 board, not just frdm_k64f, therefore renaming the driver accordingly. Change-Id: I45e96d4a5ff6aa859d0f57fe098e44a8ae5283d1 Signed-off-by: Maureen Helm <maureen.helm@nxp.com>
2016-10-18unified/test: Tag early sleep test as 'unified capable'Allan Stephens
This application now executes successfully. Change-Id: Ib3c2673fd7e8f0ff001a8355b4f7c8ddd808da94 Signed-off-by: Allan Stephens <allan.stephens@windriver.com>
2016-10-18tests/bluetooth/init/testcase.ini: add missing kernel=microInaky Perez-Gonzalez
This testcase was being ran on Quark D2000 because it failed to identify itself as micro. There is not enough RAM for that. Properly tag. Change-Id: I9fd4235f4436b914b89b10616cbed0cfb3e97b40 Jira: ZEP-1014 Signed-off-by: Inaky Perez-Gonzalez <inaky.perez-gonzalez@intel.com>
2016-10-18filter: Set special stack size for ecc_dsa debugGenaro Saucedo Tejada
When the debug option is enabled ECC DSA test doesn't have enough stack space so qemu fails. Adding double stack size for special case of qemu and CONFIG_DEBUG. Jira: ZEP-1066 Change-Id: Ib14d853de2b1c755a6171787845433648d61b75b Signed-off-by: Genaro Saucedo Tejada <genaro.saucedo.tejada@intel.com>
2016-10-18filter: Exclude failing drivers test at debug buildGenaro Saucedo Tejada
Some of tests/drivers/build_all/ test are failing link step only when debug is enabled, these filters prevent those tests from being executed under such configuration. Jira: ZEP-1063 Change-Id: Ib2ff649794a1d73b133fbf998bbe8143a822c753 Signed-off-by: Genaro Saucedo Tejada <genaro.saucedo.tejada@intel.com>
2016-10-18filter: Exclude failing crypto test at debug buildGenaro Saucedo Tejada
Some of tests/crypto/test_ecc_dsa test are failing link step only when debug is enabled, these filters prevent those tests from being executed under such configuration. Jira: ZEP-1063 Change-Id: I4b7376c49a401e21c413427918be549934ce03d5 Signed-off-by: Genaro Saucedo Tejada <genaro.saucedo.tejada@intel.com>
2016-10-18filter: Exclude failing bluetooth test at debug buildGenaro Saucedo Tejada
Some of tests/bluetooth test are failing link step only when debug is enabled, these filters prevent those tests from being executed under such configuration. Jira: ZEP-1063 Change-Id: I87fa73710d78346b1b2ce587e9055b0732d9cb49 Signed-off-by: Genaro Saucedo Tejada <genaro.saucedo.tejada@intel.com>
2016-10-16Bluetooth: tests: Clean up platform whitelistingJohan Hedberg
Clean up left-overs from this getting fixed first in master. Change-Id: Ief41ecfdeeb51fbc76f2fe045a412ff1643f69c9 Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
2016-10-16Bluetooth: tester: Add GAP Unpair command handlerMariusz Skamra
This implements GAP Unpair command handler used to remove pairing information. Change-Id: Ia2e2400ea06b2b904f89ec3ee88527d1ea8f7f38 Signed-off-by: Mariusz Skamra <mariusz.skamra@tieto.com>
2016-10-16Bluetooth: tester: Add Identity Resolved event implementationMariusz Skamra
This event will be used to inform tester about PTS identity address. Change-Id: I3d25c69c3fc9a8d8a728497d1dc1d57084373e97 Signed-off-by: Mariusz Skamra <mariusz.skamra@tieto.com>
2016-10-16Bluetooth: tester: Rework discovery procedureMariusz Skamra
This moves discovery logic to the tester application. BTP Start Discovery command flags have been extended with "Use observation procedure" bit. For now, Tester can search for devices in limited/general discoverable mode or those that are broadcasters by setting corresponding flag bits. Change-Id: I7142e8fdf40a9081787538e433067335d3ee0564 Signed-off-by: Mariusz Skamra <mariusz.skamra@tieto.com>
2016-10-16Bluetooth: tests: Add init config for BR/EDR SMP testingSzymon Janc
This test build where BR/EDR SMP support is enabled without LE central or singing support. Change-Id: I61bc17e989a5752500a7d29557609d9e54b6006d Signed-off-by: Szymon Janc <ext.szymon.janc@tieto.com>
2016-10-15Bluetooth: tests: Limit BR/EDR tests to only qemuAnas Nashif
No other board has BR/EDR support at the moment, and we're too easily hitting RAM limits on them. Change-Id: I81c800f979d34bd58f73a34c1038a9327556adb2 Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2016-10-15tests: Add ethernet drivers to drivers/build_allMarcus Shawcroft
Extend the driver build_all tests to include a test for ethernet drivers. Change-Id: I2b01d547001d3fae45cda3bc95a74c35fd75ab2b Signed-off-by: Marcus Shawcroft <marcus.shawcroft@arm.com>