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

21 Commits

Author SHA1 Message Date
Leandro Lanzieri
d2ca66e476
tests: add common Kconfig configuration for sync 2021-01-20 17:36:14 +01:00
Leandro Lanzieri
59dee592cd
tests/periph_*: add Kconfig configuration files 2020-11-06 15:58:00 +01:00
b04d354640
tests/periph_eeprom: use native as default board 2020-04-29 08:56:34 +02:00
decd73129c
tests/periph_eeprom: improve automatic test script
Reboot the application and verify data previously written on EEPROM by the test command are still there
2020-04-29 08:55:10 +02:00
Gunar Schorcht
fbd486bf2e tests/periph_eeprom: fix NDEBUG compile problem 2020-03-12 18:04:42 +01:00
Marian Buschsieweke
06d560f408
tests: Added atmega328p to Makefile.ci
Added the atmega328p board to the BOARD_INSUFFICIENT_MEMORY list where needed.
2019-10-21 12:54:46 +02:00
Marian Buschsieweke
fd6fedaab6
tests: BOARD_INSUFFICIENT_MEMORY -> Makefile.ci
- Moved the BOARD_INSUFFICIENT_MEMORY list into Makefile.ci
- Formatted the list to contain one board per line
- Sorted the lists alphabetically
2019-10-17 15:11:59 +02:00
Marian Buschsieweke
855b5bd54d
tests: Updated BOARD_INSUFFICIENT_MEMORY
Added arduino-leonardo to BOARD_INSUFFICIENT_MEMORY where needed
2019-05-24 17:57:44 +02:00
Marian Buschsieweke
0e90e6195f
tests: Updated Updated BOARD_INSUFFICIENT_MEMORY
Added arduino-nano to BOARD_INSUFFICIENT_MEMORY/BOARD_BLACKLIST following suit
of how arduino-uno is marked, as arduino-nano is mostly an Uno in a different
form factor.
2019-03-14 15:39:54 +01:00
Gaëtan Harter
c894b67733
tests/periph_eeprom: take EEPROM_CLEAR_BYTE into account
After being cleared, the memory can be `0xFF` for `atmega` platforms for
example.

Fix the test to take EEPROM_CLEAR_BYTE into account.
2019-02-12 16:37:42 +01:00
Gaëtan Harter
3058c8c645
tests/periph_eeprom: use memcmp for cleared bytes
`strcmp` was used to check that the 4 bytes were empty but was not
testing what it should as an empty string is `0` bytes long.

The whole must be verified.
2019-02-12 16:37:42 +01:00
Gaëtan Harter
7455e0b6fe
tests/periph_eeprom: use memcmp
Use `memcmp` where it is obvious it is not doing a string comparison.
2019-02-12 16:37:42 +01:00
Gaëtan Harter
6d8fd279ac
tests/periph_eeprom: remove useless casts
Casting to `const char *` is not necessary as input, the type are
already the right ones.

It could not be before as `result` was with the wrong type.
2019-02-12 16:37:42 +01:00
Gaëtan Harter
c029fcde11
tests/periph_eeprom: fix 'results' type
Results type should only be an array of char, not an array of pointers.
2019-02-12 16:37:42 +01:00
3e8c113c59 tests/periph_eeprom: cleanup + add auto tests for clear and set 2018-12-04 11:25:08 +01:00
f1d3d206c9 tests/periph_eeprom: add set command in shell 2018-12-04 11:24:57 +01:00
c95c1e4def tests/periph_eeprom: add clear and erase commands 2018-12-04 11:24:57 +01:00
Francisco Acosta
dd3ca90e8a examples, tests: add memory insufficient arduino boards
The unification of a bigger stack for the atmega platforms
makes some boards to not have enough memory to provide
the big stack plus the application code.

It is possible though, to override the stack size to a
smaller amount if running the test is necessary.
2018-11-02 17:57:13 +01:00
a91b71a581 tests/periph_eeprom: add testrunner script 2018-10-16 10:39:10 +02:00
ae6028c749 tests/periph_eeprom: refactor test application + fix bounds 2018-10-16 10:39:10 +02:00
3896b4aa4c tests/periph_eeprom: add test application 2018-05-24 14:07:55 +02:00