Kevin "Tristate Tom" Weiss
4b7c5915ec
Merge pull request #10953 from gschorcht/sys/shell/heap_cmd/pr
...
sys/shell: add heap command
2019-10-04 13:49:57 +02:00
Leandro Lanzieri
3ca6a28e04
tests: Add unit tests for clif module
2019-10-04 11:35:52 +02:00
Martine Lenders
e9e0001239
Merge pull request #11930 from brummer-simon/gnrc_tcp-improve_tests
...
gnrc_tcp: test improvement
2019-10-03 15:40:16 +02:00
Simon Brummer
56998e822a
gnrc_tcp: test improvement
2019-10-03 15:18:28 +02:00
30457e4134
tests/unittests: exclude arduino-mkrwan1300
2019-10-03 09:34:34 +02:00
630e7ba053
tests/pkg_ubasic: improve test output regex
...
The test application now correctly prints float value, with a 3 digits precision. The python test script now verifies the run time value printed for each test is following the x.xxx pattern.
2019-10-02 15:58:20 +02:00
0e7c3bd2b7
Merge pull request #12358 from kaspar030/tests_pkg_ubasic_add_float
...
tests/pkg_ubasic: add print_float dependency
2019-10-02 15:55:57 +02:00
5653e89a3a
Merge pull request #12357 from aabadie/pr/tests/pkg_ubasic
...
tests/pkg_ubasic: increase timeout value, per test
2019-10-02 14:37:46 +02:00
Gunar Schorcht
37debfd655
tests/heap_cmd: blacklist arduino-nano due to memory limit
2019-10-02 14:21:35 +02:00
Gunar Schorcht
edae6b5c09
tests/heap_cmd: shell-based heap function test app
2019-10-02 14:21:35 +02:00
b05173b5f7
tests/pkg_ubasic: add print_float dependency
2019-10-02 13:41:52 +02:00
74e6b73ecb
tests/pkg_ubasic: increase timeout value, per test
...
On samr30-xpro, the third test requires 150 seconds to complete
2019-10-02 13:07:58 +02:00
Jannes
33a98100a9
drivers/opt3001: Initial support
2019-10-02 10:06:28 +02:00
Dylan Laduranty
aed628f08b
Merge pull request #11486 from benpicco/saml21-lpram
...
cpu/saml21: Make Low-Power SRAM available to programs
2019-10-01 21:02:42 +02:00
Gunar Schorcht
02d81b717e
Merge pull request #12063 from maribu/i2c_release
...
drivers/periph/i2c: Updated i2c_release() to return void
2019-10-01 19:50:38 +02:00
Benjamin Valentin
2ff7e03a94
tests/periph_backup_ram: add test for the Backup RAM feature
...
The test will put a device to sleep, then wake it up to see if
the backup memory was retained.
2019-10-01 18:42:56 +02:00
Gaëtan Harter
66300b2f72
tests/README.md: add documentation about uart interaction
...
Add some documentation about tests using `cleanterm` and what guarantees
it gives.
2019-10-01 14:13:02 +02:00
Gaëtan Harter
1fce298441
tests/test_tools: test receiving an empty line
...
Test receiving an empty line.
It was before not possible with `pyterm` but is fixed by previous
commit.
2019-10-01 14:13:02 +02:00
Gaëtan Harter
d33e2d215e
tests/test_tools: test to get a command return value
...
Get the output of a one line command without other garbage messages.
2019-10-01 14:13:02 +02:00
benpicco
3f0dfc14ac
Merge pull request #11085 from bergzand/pr/usb/cdcacm
...
usbus: Add CDC-ACM (Serial console) function
2019-10-01 11:22:54 +02:00
Martine Lenders
f4cca412de
Merge pull request #12303 from miri64/sixlowpan_sfr/feat/initial
...
sixlowpan_sfr: initial import Selective Fragment Recovery definitions
2019-10-01 09:46:25 +02:00
Martine S. Lenders
38571c66fe
tests: add unittests for net/sixlowpan/sfr.h helpers
2019-10-01 08:45:19 +02:00
Martine Lenders
db8dcaee48
Merge pull request #12325 from miri64/gnrc_sixlowpan_frag_vrb/enh/rm-out_dst
...
gnrc_sixlowpan_frag_vrb: re-use now unused super::dst for out_dst
2019-10-01 07:55:49 +02:00
Frank Hessel
64ac490fc9
tests/driver_adt7310: Add explicit cast required for llvm
2019-09-30 22:31:15 +02:00
c6447b73dc
test/usbus_cdc_acm_stdio: USB CDC ACM STDIO test
2019-09-30 18:53:58 +02:00
Martine Lenders
04f59d6609
gnrc_sixlowpan_frag_vrb: re-use now unused super::dst for out_dst
2019-09-30 12:46:15 +02:00
Bas Stottelaar
acd9dfda01
tests/cpu_efm32_features: update test
2019-09-30 00:03:15 +02:00
benpicco
aebcef111d
Merge pull request #12300 from miri64/gnrc_sixlowpan_frag_vrb/fix/index
...
gnrc_sixlowpan_frag_vrb: fix for draft update
2019-09-29 19:27:20 +02:00
c72f286796
Merge pull request #12169 from maribu/blxxxpill
...
boards: Split off 128KiB version of bl*pill
2019-09-29 18:50:29 +02:00
Martine Lenders
a711852379
tests: unittests: remove duplicate static const
s from VRB tests
2019-09-29 18:36:28 +02:00
Martine Lenders
99183da998
tests: unittests: adapt 6LoWPAN VRB tests
2019-09-29 18:31:43 +02:00
Marian Buschsieweke
5659d16a5a
tests: BOARD_WHITELIST, BOARD_INSUFFICIENT_MEMORY
...
Added new blackpill-128kib and bluepill-128kib to BOARD_INSUFFICIENT_MEMORY
and BOARD_WHITELIST where needed.
2019-09-29 17:06:01 +02:00
Marian Buschsieweke
ed85041a4b
examples/l2util: Updated BOARD_INSUFFICIENT_MEMORY
...
Linking works for both blackpill and bluepill
2019-09-29 17:00:28 +02:00
Martine Lenders
e9ff46b2ea
gnrc_sixlowpan_frag_rb: unify naming scheme
2019-09-28 12:11:54 +02:00
Martine Lenders
178f4af108
gnrc_sixlowpan_frag_rb: remove legacy defines
2019-09-28 12:07:24 +02:00
Martine Lenders
972e4938bc
gnrc_sixlowpan_frag_rb: use existing name scheme for private functions
2019-09-28 11:51:18 +02:00
Martine S. Lenders
49bd8678ed
gnrc_sixlowpan_frag_rb: remove public around former private functions
2019-09-28 11:51:18 +02:00
Martine S. Lenders
ec495528fe
gnrc_sixlowpan_frag: move private RB functions to RB module
2019-09-28 11:51:18 +02:00
68aae9c848
Merge pull request #12262 from cladmi/pr/cflags/fix_spaces_and_rebuild
...
makefiles: do not remove defines from CFLAGS
2019-09-28 09:42:56 +02:00
Martine S. Lenders
b5545fe334
gnrc_sixlowpan: include reassembly buffer only where needed
2019-09-27 21:11:36 +02:00
Gaëtan Harter
d6b109f720
tests/build_system_cflags_spaces: test CFLAGS macros handling
...
This tests passing CFLAGS with spaces to an application and also that
even if the CFLAGS are defined after Makefile.include, they trigger
a rebuild when modified.
This includes an example how to pass macros with spaces to a docker
build.
The test as both an automated part for the CFLAGS with spaces, and a
manual part for the two other features.
2019-09-27 19:29:07 +02:00
Martine Lenders
aa84406ac1
Merge pull request #9940 from miri64/tests/enh/rgb2hsv-black
...
tests/unittests: test black corner case for color_rgb2hsv()
2019-09-27 15:02:10 +02:00
Hauke Petersen
09faa328f9
tests: add distinct test app for nrfmin driver
2019-09-27 11:49:43 +02:00
Martine Lenders
2c9ac91903
tests/unittests: test black corner case for color_rgb2hsv()
...
Tests a (currently undocumented) behavior of `color_rgb2hsv()`, that a
black RGB value (all zero) causes the HSV value to be all zero.
2019-09-27 09:35:39 +02:00
Martine Lenders
ac9e80cfd0
Merge pull request #11401 from miri64/tests/enh/i11398-testcase
...
tests: provide test case for malformed IEEE 802.15.4 packets
2019-09-26 16:55:55 +02:00
Martine Lenders
aaaa8a21ed
tests: provide testcase for issue 11398
2019-09-26 15:56:47 +02:00
Dylan Laduranty
9c8cfaa02a
tests: add SAMR34 entry in BOARD_INSUFFICIENT_MEMORY
...
add samr34-xpro if test doesn't fit in its memory
2019-09-26 10:48:03 +02:00
0170d1c5da
Merge pull request #11969 from fjmolinas/pr_nucleo_f303k8_tests
...
tests: fix tests for nucleo-f303k8
2019-09-25 13:43:10 +02:00
f8922d80c3
tests/periph_wdt: fix upper limit format for print
2019-09-20 20:45:42 +02:00
Benjamin Valentin
a4baf45da1
tests/periph_wdt: only test powers of two
...
Some watchdog implementations do not support arbitrary precision
for timeouts.
Using powers of two seems like a good common denominator.
2019-09-20 19:04:41 +02:00
Francisco Molina
ce300ca6fd
tests: fix tests for nucleo-f303k8
...
- Decrease default stack size for pthread_cooperation and
cp11_condition_variable
- Reduce number of problems for thread cooperation and remove
from insufficient memory list
2019-09-20 17:01:08 +02:00
661fdc6c1b
tests/nimble_l2cap: remove unused debug include
2019-09-20 09:00:32 +02:00
4d2d4c5bb3
tests/nimble_l2cap: fix not needed cast
2019-09-20 09:00:13 +02:00
f6dc8a3ea8
tests/periph_pwm: fix not needed cast
2019-09-20 08:59:43 +02:00
Dylan Laduranty
f276328491
Merge pull request #12267 from bergzand/pr/usbus/auto_tests
...
usbus: Add automated test
2019-09-19 09:52:48 +02:00
e3123f352e
tests/usbus: Add automated test for usbus init
2019-09-19 09:29:54 +02:00
Martine Lenders
5631b698db
Merge pull request #11623 from miri64/gnrc_ipv6_ext/feat/ipv6-frag
...
gnrc_ipv6_ext_frag: Initial import of IPv6 fragmentation
2019-09-17 19:27:38 +02:00
Martine Lenders
e62bb9c414
tests: provide tests for gnrc_ipv6_ext_frag fragmentation
2019-09-17 18:55:18 +02:00
Martine Lenders
1a89829cc7
Merge pull request #12254 from aabadie/pr/tests/useless_ci_whitelist
...
tests: remove remaining use of "TEST_ON_CI_WHITELIST += all"
2019-09-17 10:47:06 +02:00
Martine Lenders
269af28599
tests: provide initial tests for gnrc_ipv6_ext_frag
2019-09-16 19:13:19 +02:00
43717c7b2b
tests: remove useless global board test on ci whitelist
2019-09-16 19:02:02 +02:00
Gaëtan Harter
be7ce7ea99
tests: re-enable utf-8 tests on native
...
The docker image should now be configured with LC_ALL|LANG=C.UTF-8
and used in murdock.
2019-09-16 12:29:15 +02:00
benpicco
6c95081e42
Merge pull request #10556 from gschorcht/drivers_pca9685
...
drivers: support for NXP PCA9685 I2C 16-channel, 12-bit PWM controller
2019-09-15 19:20:29 +02:00
Juan I Carrano
75c47a8dc7
Merge pull request #12216 from benpicco/cleanup-test_malloc
...
tests/malloc: cleanup
2019-09-13 12:03:48 +02:00
ab8cdace12
Merge pull request #11996 from fjmolinas/pr_libcose_crypto_up
...
pkg/libcose: update crypto support
2019-09-13 10:10:49 +02:00
Francisco Molina
9e5416239b
tests/pkg_libcose: adapt to c25519 and monocypher
2019-09-13 09:50:42 +02:00
aed12b4853
Merge pull request #11252 from fjmolinas/pr_wdg_stm32
...
cpu/stm32_common: add watchdog for stm32
2019-09-13 09:16:18 +02:00
Francisco Molina
8597952c10
tests: add periph_wdt test
2019-09-13 08:58:20 +02:00
Benjamin Valentin
769fe44f6d
tests/malloc: cleanup
...
- make local functions / variables static
- adhere to the 80 column limit
- don't increment total if head could not be allocated
- allow to overwrite CHUNK_SIZE
2019-09-13 00:35:47 +02:00
benpicco
66ce29d94c
Merge pull request #12051 from OTAkeys/fix/isotp
...
can/isotp: fix closing connection and improve flow control handling
2019-09-12 23:01:58 +02:00
Schorcht
c6bbaac7bc
tests: app for testing PCA9685 PWMs
2019-09-12 19:13:20 +02:00
Juan I Carrano
e9ca2114ee
Merge pull request #12204 from cladmi/pr/pthread/enable_avr
...
pthread_cond.h: use 'sys/types.h' value of 'clockid_t' for avr. Enables pthread on AVR.
2019-09-12 16:41:59 +02:00
Ken Bannister
1621cc1d39
Merge pull request #12075 from kb2ma/coap/options_get_opaque
...
net/nanocoap: get option bytes
2019-09-12 09:00:27 -04:00
Marian Buschsieweke
c262770634
Merge pull request #11413 from benpicco/rtc_sanitize
...
periph/rtc: normalize struct tm before usage
2019-09-12 12:47:56 +02:00
Benjamin Valentin
b1724a7d1b
periph/rtc: normalize struct tm before usage
...
A naive implementation may set a RTC alarm in 30s by calling
struct tm now;
rtc_get_time(&now);
now.tm_sec += 30;
rtc_set_alarm(&now, _cb, NULL);
This works for RTC implementations that use a RTT internally and call
mktime() to convert the struct tm to a unix timestamp, as mktime() will
normalize the struct in the process.
Call rtc_tm_normalize() when the RTC uses separate registers for time / date
components to ensure it is normalized.
This also modifies tests/periph_rtc to exercise this case.
2019-09-12 11:32:31 +02:00
Benjamin Valentin
90a8a9666c
unittests: add tests for rtc_tm_normalize()
2019-09-12 11:32:27 +02:00
Martine Lenders
8911c514fd
Merge pull request #10951 from miri64/gnrc_ipv6_nib/enh/abr-helpers
...
shell/sc_gnrc_ipv6_nib: extend for ABR
2019-09-12 07:34:09 +02:00
Martine Lenders
5c2fec106a
tests/unittests: add tests for _abr_iter()
2019-09-11 23:51:20 +02:00
Gaëtan Harter
9ee84c62c9
tests/pthread*: enable pthread tests on avr
...
'pthread' is now compatible with 'avr' so enable them in tests.
All the tests ran on 'arduino-mega2560' when supported.
2019-09-11 18:25:10 +02:00
Gaëtan Harter
5c405b56f8
tests/pthread_condition_variable: adapt for slow boards
...
Reduce the number of required iterations on boards.
This will allow running it on 'arduino-mega2560'.
2019-09-11 18:25:10 +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
Ken Bannister
4ace366e8b
net/nanocoap: add unit test for get opaque option
2019-09-11 05:40:14 -04: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
Marian Buschsieweke
5ea305f352
tests/periph_i2c: Adapted to new i2c_release()
2019-08-27 13:59:20 +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
Gaëtan Harter
5638881e5b
tests/cpp_ctors: move tests-cpp_ctors out of unittests
...
This moves 'unittests/tests-cpp_ctors' to its own test.
It prevents requiring 'cpp' in the 'unittests' that forced almost all
architectures to link the unittests with `g++`.
It also removes the need to have disabled tests for architectures.
Some boards were actually not big enough to compile unittests.
But were hidden by the 'cpp' missing feature.
Blacklist boards that were disabled for cpp test even though they
provide the 'cpp' feature.
2019-08-22 12:39:47 +02:00
Gaëtan Harter
1ec4e45f77
tests/unittests: blacklist 8/16bit boards as they do not compile
...
The boards do not compile the unittests due to issue with too long
integers and other issues.
2019-08-22 10:52:58 +02:00
Juan I Carrano
c35cbda1bf
Merge pull request #12038 from cladmi/pr/tests/crypto/add_rfc_nist_tests
...
tests/sys_crypto: add RFC3610 and NIST SP 800-38C tests
2019-08-21 18:46:43 +02:00
Gaëtan Harter
46c79018f3
tests/sys_crypto: add tests from NIST SP 800-38C
...
Taken from pycrypto tests input
2019-08-21 17:52:45 +02:00
Gaëtan Harter
d61f3c23ca
tests/sys_crypto: add remaining tests from RFC 3610
...
Taken from pycrypto tests input
2019-08-21 17:52:45 +02:00
Gaëtan Harter
1e7242ac82
tests/sys_crypto: change naming and formatting
...
* use names with RFC
* add terminating comma
* remove newlines between tests values
This prepares for the format of the next commit adding all RFC tests.
This will reduce the number of changes in upcoming commit.
2019-08-21 17:52:45 +02:00
Gaëtan Harter
330b9669a3
tests/sys_crypto: move tests-crypto out of unittests
...
This moves unittests/tests-crypto to its own test.
It should allow adding big test vectors without preventing boards from
running the tests.
2019-08-21 17:52:45 +02:00
Juan I Carrano
e7957e6d9b
Merge pull request #11688 from cladmi/pr/tests/pthread_rwlock/enable_in_ci
...
tests/pthread_rwlock: run the test in CI
2019-08-21 17:15:53 +02:00
Marian Buschsieweke
938b36a29c
Merge pull request #12054 from cladmi/pr/unittests/sht1x/limit_test_vectors_on_board
...
unittests/sht1x: decrease the amount of tested values on board
2019-08-21 16:03:04 +02:00
Gaëtan Harter
9cd08d4999
tests/pthread_rwlock: run the test in CI
...
HACK, the test currently fails in CI for `native` due to `utf-8` handling.
2019-08-21 15:46:47 +02:00
Gaëtan Harter
0aae704fd4
tests/pthread_rwlock: lock around prints
...
The test assumes that 'printf/puts' are non interruptible operations.
Use a mutex to guarantee it.
Without this, the automated test was failing in some configurations with
lines being cut by others.
2019-08-21 15:46:19 +02:00
Gaëtan Harter
2a24c7ee20
unittests/sht1x: decrease the amount of tested values on board
...
Reduce the amount of tested values by a 100.
This makes the testing time go from 3 minutes to 2 seconds on
`frdm-kw41z`.
Testing that the integer calculation matches the float one does not need
to be performed on the full range on boards. Checking some values should
be enough to detect overflow issues.
The full range checking is kept on native.
2019-08-21 14:54:35 +02:00
Gaëtan Harter
8e5422ff78
applications: remove 'TEST_ON_CI_WHITELIST += all'
...
This is now the default so not required anymore.
2019-08-21 12:51:17 +02:00
Gaëtan Harter
084c6f739d
tests/lwip: disable failing test
...
The test fails on both murdock and on my machine due to the process
exiting directly.
pexpect.exceptions.EOF: End Of File (EOF). Exception style platform.
2019-08-21 12:49:24 +02:00
Gaëtan Harter
1f11843623
tests/pkg_fatfs_vfs: disable tests that need setup
...
The test need a manual setup that cannot currently be done in CI.
2019-08-21 12:49:00 +02:00
Gaëtan Harter
f7176f425f
tests/gnrc: disable tests that need setup and root
...
Disable running tests that need a setup and run with root as they cannot
currently be run in CI.
2019-08-21 12:46:51 +02:00
Gaëtan Harter
12d4b71c31
tests/socket_zep: define TEST_ON_CI_BLACKLIST
...
HACK, the test currently fails in CI for 'native' due to binding issue
2019-08-21 12:40:40 +02:00
Gaëtan Harter
095268a33a
tests/netstats_l2: run the test in CI
...
HACK, blacklist native as it fails to create a tun interface in murdock.
2019-08-21 12:40:40 +02:00
Gaëtan Harter
622fe2c28f
tests/pthread_rwlock: run the test in CI
...
HACK, the test currently fails in CI for `native` due to `utf-8` handling.
HACK, the test implementation can fail due being de-scheduled during printf.
2019-08-21 12:40:40 +02:00