1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
Commit Graph

3169 Commits

Author SHA1 Message Date
Benjamin Valentin
90a8a9666c unittests: add tests for rtc_tm_normalize() 2019-09-12 11:32:27 +02:00
Juan I Carrano
00e0a1cf13
Merge pull request #12056 from JulianHolzwarth/pr/posix/pthread/small_insert_fix
sys/posix/pthread/pthread.c: fix thread count limiting in pthread_create()
2019-09-11 18:22:54 +02:00
Francisco Acosta
092f8e8d46
Merge pull request #8774 from OTAkeys/pr/flashpage_mtd
drivers: add mtd wrapper for periph_flashpage
2019-09-11 16:59:15 +02:00
JulianHolzwarth
984eb7cd6c tests/pthread_flood: test for max pthread creation 2019-09-11 15:07:32 +02:00
MichelRottleuthner
3d0e3b0117
Merge pull request #10308 from danielinux/master
wolfSSL pkg addition with examples
2019-09-11 09:12:57 +02:00
Daniele Lacamera
8bb1ee1cd5 wolfSSL pkg: new set of examples and tests 2019-09-11 08:12:50 +02:00
Martine Lenders
9e33c04e3d
Merge pull request #9404 from OTAkeys/pr/can_memarray
can: use memarray for pkt and router allocation
2019-09-10 16:28:31 +02:00
Marian Buschsieweke
b87ab96d17
Merge pull request #10661 from miri64/gnrc_netif_hdr/enh/netif_setter
gnrc_netif_hdr: add setter for netif
2019-09-10 16:14:28 +02:00
Vincent Dupont
a05f7c7cac unittests: add mtd_flashpage unittests 2019-09-10 13:26:27 +02:00
Vincent Dupont
c5376f3055 tests/conn_can: reduce size of pkt buffers 2019-09-10 13:01:28 +02:00
Martine Lenders
37eb634ff9 examples,tests: use gnrc_netif_hdr_set_netif() 2019-09-10 12:37:32 +02:00
Marian Buschsieweke
00965e3a40
makefiles: Refactored channel configuration
The default channel configuration is managed within the Makefiles of many
examples and tests. This commit moves the default channel logic to
`makefiles/default-channel.ink.mk` to ease maintenance. All Makefiles that
previously managed the default channel configuration themself have been
updated to include that file.

The default channel configuration of the cc110x has been added
2019-09-10 10:04:52 +02:00
f6ba7797b1
tests/log_color: add test application 2019-09-09 20:37:07 +02:00
kaleb-himes
b3f32f83bb wolfSSL pkg with examples 2019-09-09 18:48:53 +02:00
Leandro Lanzieri
563a053bc1
Merge pull request #10983 from skullbox305/driver_ph_oem
drivers/ph_oem: support for Atlas Scientific pH OEM sensor
2019-09-09 10:18:49 +02:00
4922d6072e
Merge pull request #12146 from jcarrano/usb-warnings-fix
tests,examples/usb: PID, VID warning only when building.
2019-09-09 09:59:11 +02:00
Sebastian Meiling
c78ae0e33c
Merge pull request #12074 from kb2ma/coap/options_iterate
net/nanocoap: iterate options
2019-09-09 10:51:23 +03:00
Kees Bakker
35c5869a2e
Merge pull request #12117 from maribu/arduino-println
sys/arduino: Extended Serial.print() / println()
2019-09-07 21:16:43 +02:00
benpicco
cf56f6a942
Merge pull request #12172 from bergzand/pr/pkg/cifra
Cifra: initial import of package
2019-09-07 16:37:29 +02:00
Marian Buschsieweke
ab5a6d6187
tests/sys_arduino: Added tests for Serial.print 2019-09-05 23:55:18 +02:00
Igor Knippenberg
16e0c2648d tests/driver_ph_oem: Added a test application for the pH OEM driver 2019-09-05 12:47:10 +02:00
1c9e9351ed
tests/cifra: Add test for aes-gcm validation 2019-09-05 10:25:54 +02:00
aa6f9e5b25
Merge pull request #12164 from keestux/driver_sht2x_cleanup
tests/driver_sht2x: avoid negative number after decimal dot
2019-09-04 07:58:18 +02:00
f750c3a474
tests/driver_hts221: cleanup temperature display logic
This saves 12 bytes when building for samr21-xpro
2019-09-03 21:36:26 +02:00
Kees Bakker
3d6b6d868d tests/driver_sht2x: avoid negative number after decimal dot
Also don't include printf_float
2019-09-03 20:50:25 +02:00
d0a8060ea6
tests/driver_bmx280: cleanup temperature value display 2019-09-03 12:58:56 +02:00
benpicco
7cbc239a00
Merge pull request #12140 from aabadie/pr/tests/driver_bmp180_cleanup
tests/driver_bmp180: cleanup application
2019-09-02 21:55:29 +02:00
db12eeb1a7
tests/driver_bmp180: remove useless printf_float module 2019-09-02 18:33:02 +02:00
73e1c563b4
tests/driver_bmp180: fix display with negative temperature 2019-09-02 18:33:02 +02:00
Gaëtan Harter
c59d263c61
tests/xtimer_periodic_wakeup: blacklist testing on native
The test randomly fails on `native` due to timers being not accurate but
it cannot be otherwise. So better disable it than raising fake errors.

    ...
    151 diff=3
    150 diff=4
    149 diff=3539
    148 diff=4
    147 diff=3
    ....
    min/max error: 1/3539
    too large difference.

    Test Failed.

    Timeout in expect script at "child.expect_exact("Test complete.")"
    (tests/xtimer_periodic_wakeup/tests/01-run.py:22)
2019-09-02 18:12:04 +02:00
Gaëtan Harter
52000b83be
tests/evtimer: blacklist testing on native
The test randomly fails on `native` due to timers being not accurate but
it cannot be otherwise. So better disable it than raising fake errors.

    main(): This is RIOT! (Version: buildtest)
    Testing generic evtimer
    This should list 2 items
    ev #1 offset=1000
    ev #2 offset=500
    This should list 4 items
    ev #1 offset=659
    ev #2 offset=341
    ev #3 offset=500
    ev #4 offset=2454
    Are the reception times of all 4 msgs close to the supposed values?
    At    662 ms received msg 0: "#2 supposed to be 659"
    At   1009 ms received msg 1: "#0 supposed to be 1000"
    At   1511 ms received msg 2: "#1 supposed to be 1500"

    Traceback (most recent call last):
      File "/tmp/dwq.0.3125418833043728/ef3af88c4b3615788b164464a437df5c/tests/evtimer_msg/tests/01-run.py", line 33, in <module>
        sys.exit(run(testfunc))
      File "/tmp/dwq.0.3125418833043728/ef3af88c4b3615788b164464a437df5c/dist/pythonlibs/testrunner/__init__.py", line 29, in run
        testfunc(child)
      File "/tmp/dwq.0.3125418833043728/ef3af88c4b3615788b164464a437df5c/tests/evtimer_msg/tests/01-run.py", line 26, in testfunc
        assert(actual in range(expected - ACCEPTED_ERROR, expected + ACCEPTED_ERROR))
    AssertionError
2019-09-02 16:37:05 +02:00
Juan Carrano
8b88666f3d tests,examples/usb: PID, VID warning only when building.
The warning issued when the PID and VID are set to the default values should
not be printed on `make clean` and other targets, only with `make all` and it
should be a proper target.

To do: replace shell echos with proper $(warning ..) calls.
2019-09-02 12:20:32 +02:00
fabian18
2edf153cf8 drivers/at86rf2xx: do not hang on no dev 2019-09-02 10:27:24 +02:00
benpicco
a10c3f09a4
Merge pull request #12136 from aabadie/pr/tests/driver_io1_xplained_printf_float
tests/driver_io1_xplained: remove printf_float dependency
2019-09-01 15:43:04 +02:00
6754f71c3a
tests/driver_io1_xplained: remove printf_float dependency
This saves a lot of ROM and is easily replaced with basic temperature computation
2019-09-01 15:16:32 +02:00
Juan I Carrano
866b126f36
Merge pull request #12119 from cladmi/pr/makefiles/utils/uppercase_function
makefiles/utils: functions for lowercase and uppercase
2019-08-29 16:04:58 +02:00
Gaëtan Harter
765f3e9327
makefiles/utils: functions for lowercase and uppercase
Add make only function to convert strings to lowercase and uppercase.
This can replace the `$(shell echo $(var) | tr 'a-z-' 'A-Z_')` pattern.
Using the 'make' implementation results in being around 100 times faster.
2019-08-29 13:59:31 +02:00
Martine Lenders
1f086932d5
Merge pull request #12046 from Harisanthosh/gnrc_udp_nullpointer
net/gnrc/udp: Adding Null pointer check in gnrc_netif_hdr_build
2019-08-29 13:01:18 +02:00
Hauke Petersen
16bbd2f864 tests/unittests/bluetil: adapt to byteorder fixes 2019-08-28 16:49:21 +02:00
Hauke Petersen
a237971cfd tests/l2util: adapt to changes for BLE 2019-08-28 16:49:21 +02:00
harisanthosh
f583368842 net/gnrc/udp: Adding Null pointer check in gnrc_netif_hdr_build 2019-08-26 12:46:26 -07:00
Kevin "Tristate Tom" Weiss
b9a01437be
Merge pull request #12072 from cladmi/pr/test_tools/shell_no_echo
tests/test_tools: add a test for the testing tools environment
2019-08-26 17:12:14 +02:00
Ken Bannister
47ef5c1656 net/nanocoap: add unit test for iterate options 2019-08-24 07:46:54 -04:00
570f95f2bb
tests/pkg_semtech-loramac: disable rx thread for arduino-mega2560
Otherwise the application cannot be linked for this platform
2019-08-23 21:08:35 +02:00
Kevin "Tristate Tom" Weiss
1b1c902dd3
Merge pull request #12022 from JannesVolkens/tmp00x
driver/tmp00x: make tmp006 more generic
2019-08-23 13:26:09 +02:00
cladmi
b3cb076286
tests/test_tools: add a test for the testing tools environment
Check the interaction with a board through make term.
It is using a shell without echo or prompt for reference.

It currently checks that there is no local echo.
2019-08-23 12:14:52 +02:00
Jannes
90c4ef04ef driver/tmp00x: Change tmp006 to tmp00x and add tmp007
Rename TMP006 to TMP00x
Add TMP007 sensor support to TMP00X
Change uint8_t reg to uint16_t
Add to doxygen documentation group
Expose compile time configurations
Move defines from .c to .h
Change double to float, because double is not needed
Add TMP007 register information
2019-08-23 12:11:16 +02:00
Juan I Carrano
647b0cdd29
Merge pull request #12040 from cladmi/pr/tests/unittests/move_cpp_test
tests/cpp_ctors: move tests-cpp_ctors out of unittests
2019-08-22 15:46:38 +02:00
349b83c117
Merge pull request #6927 from OTAkeys/pr/ncv7356
can: add ncv7356 SW transceiver driver
2019-08-22 15:18:35 +02:00
Gaëtan Harter
1e0ca7ca7f
tests/unittests: remove the 'DISABLE_TEST_FOR_ARCH'
Remove the arch disabling tests handling as now unused.

If something like this is necessary again the test must be put
outside of unittests.
2019-08-22 12:39:47 +02:00