[riot-notifications] [RIOT-OS/RIOT] tests/periph_wdt: send newline to get prompt (#15174)

MrKevinWeiss notifications at github.com
Mon Jun 28 16:02:42 CEST 2021


Tested locally, passes for both master and this PR.  Should I rerun many times to catch it or could this just be a remote communication thing?

<details>

```
weiss at mobiweiss:~/wd/RIOT$ git checkout master && BOARD=arduino-mega2560 make flash test -C tests/periph_wdt/
Already on 'master'
Your branch is ahead of 'origin/master' by 36 commits.
  (use "git push" to publish your local commits)
make: Entering directory '/home/weiss/wd/RIOT/tests/periph_wdt'
Building application "tests_periph_wdt" for "arduino-mega2560" with MCU "atmega2560".

"make" -C /home/weiss/wd/RIOT/boards/arduino-mega2560
"make" -C /home/weiss/wd/RIOT/boards/common/arduino-atmega
"make" -C /home/weiss/wd/RIOT/boards/common/atmega
"make" -C /home/weiss/wd/RIOT/core
"make" -C /home/weiss/wd/RIOT/cpu/atmega2560
"make" -C /home/weiss/wd/RIOT/cpu/atmega_common
"make" -C /home/weiss/wd/RIOT/cpu/atmega_common/periph
"make" -C /home/weiss/wd/RIOT/cpu/avr8_common
"make" -C /home/weiss/wd/RIOT/cpu/avr8_common/avr_libc_extra
"make" -C /home/weiss/wd/RIOT/drivers
"make" -C /home/weiss/wd/RIOT/drivers/periph_common
"make" -C /home/weiss/wd/RIOT/sys
"make" -C /home/weiss/wd/RIOT/sys/auto_init
"make" -C /home/weiss/wd/RIOT/sys/div
"make" -C /home/weiss/wd/RIOT/sys/isrpipe
"make" -C /home/weiss/wd/RIOT/sys/malloc_thread_safe
"make" -C /home/weiss/wd/RIOT/sys/shell
"make" -C /home/weiss/wd/RIOT/sys/stdio_uart
"make" -C /home/weiss/wd/RIOT/sys/test_utils/interactive_sync
"make" -C /home/weiss/wd/RIOT/sys/tsrb
"make" -C /home/weiss/wd/RIOT/sys/xtimer
   text	   data	    bss	    dec	    hex	filename
  10658	    856	   1047	  12561	   3111	/home/weiss/wd/RIOT/tests/periph_wdt/bin/arduino-mega2560/tests_periph_wdt.elf
avrdude -c stk500v2 -p m2560 -P /dev/ttyACM0 -D -U flash:w:/home/weiss/wd/RIOT/tests/periph_wdt/bin/arduino-mega2560/tests_periph_wdt.hex

avrdude: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.01s

avrdude: Device signature = 0x1e9801 (probably m2560)
avrdude: reading input file "/home/weiss/wd/RIOT/tests/periph_wdt/bin/arduino-mega2560/tests_periph_wdt.hex"
avrdude: input file /home/weiss/wd/RIOT/tests/periph_wdt/bin/arduino-mega2560/tests_periph_wdt.hex auto detected as Intel Hex
avrdude: writing flash (11514 bytes):

Writing | ################################################## | 100% 1.84s

avrdude: 11514 bytes of flash written
avrdude: verifying flash memory against /home/weiss/wd/RIOT/tests/periph_wdt/bin/arduino-mega2560/tests_periph_wdt.hex:
avrdude: load data flash data from input file /home/weiss/wd/RIOT/tests/periph_wdt/bin/arduino-mega2560/tests_periph_wdt.hex:
avrdude: input file /home/weiss/wd/RIOT/tests/periph_wdt/bin/arduino-mega2560/tests_periph_wdt.hex auto detected as Intel Hex
avrdude: input file /home/weiss/wd/RIOT/tests/periph_wdt/bin/arduino-mega2560/tests_periph_wdt.hex contains 11514 bytes
avrdude: reading on-chip flash data:

Reading | ################################################## | 100% 1.47s

avrdude: verifying ...
avrdude: 11514 bytes of flash verified

avrdude: safemode: Fuses OK (E:FD, H:D8, L:FF)

avrdude done.  Thank you.

PASSED target time: 128[ms], actual_time: 119.556[ms]
PASSED target time: 512[ms], actual_time: 571.956[ms]
PASSED target time: 1024[ms], actual_time: 1137.72[ms]
PASSED target time: 8192[ms], actual_time: 9173.796[ms]
TEST PASSED

make: Leaving directory '/home/weiss/wd/RIOT/tests/periph_wdt'
weiss at mobiweiss:~/wd/RIOT$ git checkout pr_periph_wdt_prompt && BOARD=arduino-mega2560 make flash test -C tests/periph_wdt/
Switched to branch 'pr_periph_wdt_prompt'
make: Entering directory '/home/weiss/wd/RIOT/tests/periph_wdt'
Building application "tests_periph_wdt" for "arduino-mega2560" with MCU "atmega2560".

"make" -C /home/weiss/wd/RIOT/boards/arduino-mega2560
"make" -C /home/weiss/wd/RIOT/boards/common/arduino-atmega
"make" -C /home/weiss/wd/RIOT/boards/common/atmega
"make" -C /home/weiss/wd/RIOT/core
"make" -C /home/weiss/wd/RIOT/cpu/atmega2560
"make" -C /home/weiss/wd/RIOT/cpu/atmega_common
"make" -C /home/weiss/wd/RIOT/cpu/atmega_common/avr_libc_extra
make[4]: *** No rule to make target '/home/weiss/wd/RIOT/cpu/avr8_common/avr_libc_extra/posix_unistd.c', needed by '/home/weiss/wd/RIOT/tests/periph_wdt/bin/arduino-mega2560/avr_libc_extra/posix_unistd.o'.  Stop.
make[3]: *** [/home/weiss/wd/RIOT/Makefile.base:30: ALL--/home/weiss/wd/RIOT/cpu/atmega_common/avr_libc_extra] Error 2
make[2]: *** [/home/weiss/wd/RIOT/Makefile.base:30: ALL--/home/weiss/wd/RIOT/cpu/atmega_common] Error 2
make[1]: *** [/home/weiss/wd/RIOT/Makefile.base:30: ALL--/home/weiss/wd/RIOT/cpu/atmega2560] Error 2
make: *** [/home/weiss/wd/RIOT/tests/periph_wdt/../../Makefile.include:603: application_tests_periph_wdt.module] Error 2
make: Leaving directory '/home/weiss/wd/RIOT/tests/periph_wdt'
weiss at mobiweiss:~/wd/RIOT$ git checkout pr_periph_wdt_prompt && BOARD=arduino-mega2560 make clean flash test -C tests/periph_wdt/
Already on 'pr_periph_wdt_prompt'
make: Entering directory '/home/weiss/wd/RIOT/tests/periph_wdt'
Building application "tests_periph_wdt" for "arduino-mega2560" with MCU "atmega2560".

"make" -C /home/weiss/wd/RIOT/boards/arduino-mega2560
"make" -C /home/weiss/wd/RIOT/boards/common/arduino-atmega
"make" -C /home/weiss/wd/RIOT/boards/common/atmega
"make" -C /home/weiss/wd/RIOT/core
"make" -C /home/weiss/wd/RIOT/cpu/atmega2560
"make" -C /home/weiss/wd/RIOT/cpu/atmega_common
"make" -C /home/weiss/wd/RIOT/cpu/atmega_common/avr_libc_extra
"make" -C /home/weiss/wd/RIOT/cpu/atmega_common/periph
"make" -C /home/weiss/wd/RIOT/drivers
"make" -C /home/weiss/wd/RIOT/drivers/periph_common
"make" -C /home/weiss/wd/RIOT/sys
"make" -C /home/weiss/wd/RIOT/sys/auto_init
"make" -C /home/weiss/wd/RIOT/sys/div
"make" -C /home/weiss/wd/RIOT/sys/isrpipe
"make" -C /home/weiss/wd/RIOT/sys/shell
"make" -C /home/weiss/wd/RIOT/sys/stdio_uart
"make" -C /home/weiss/wd/RIOT/sys/test_utils/interactive_sync
"make" -C /home/weiss/wd/RIOT/sys/tsrb
"make" -C /home/weiss/wd/RIOT/sys/xtimer
   text	   data	    bss	    dec	    hex	filename
  10380	    876	   1047	  12303	   300f	/home/weiss/wd/RIOT/tests/periph_wdt/bin/arduino-mega2560/tests_periph_wdt.elf
avrdude -c stk500v2 -p m2560 -P /dev/ttyACM0 -D -U flash:w:/home/weiss/wd/RIOT/tests/periph_wdt/bin/arduino-mega2560/tests_periph_wdt.hex

avrdude: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.01s

avrdude: Device signature = 0x1e9801 (probably m2560)
avrdude: reading input file "/home/weiss/wd/RIOT/tests/periph_wdt/bin/arduino-mega2560/tests_periph_wdt.hex"
avrdude: input file /home/weiss/wd/RIOT/tests/periph_wdt/bin/arduino-mega2560/tests_periph_wdt.hex auto detected as Intel Hex
avrdude: writing flash (11256 bytes):

Writing | ################################################## | 100% 1.80s

avrdude: 11256 bytes of flash written
avrdude: verifying flash memory against /home/weiss/wd/RIOT/tests/periph_wdt/bin/arduino-mega2560/tests_periph_wdt.hex:
avrdude: load data flash data from input file /home/weiss/wd/RIOT/tests/periph_wdt/bin/arduino-mega2560/tests_periph_wdt.hex:
avrdude: input file /home/weiss/wd/RIOT/tests/periph_wdt/bin/arduino-mega2560/tests_periph_wdt.hex auto detected as Intel Hex
avrdude: input file /home/weiss/wd/RIOT/tests/periph_wdt/bin/arduino-mega2560/tests_periph_wdt.hex contains 11256 bytes
avrdude: reading on-chip flash data:

Reading | ################################################## | 100% 1.44s

avrdude: verifying ...
avrdude: 11256 bytes of flash verified

avrdude: safemode: Fuses OK (E:FD, H:D8, L:FF)

avrdude done.  Thank you.

PASSED target time: 128[ms], actual_time: 119.56[ms]
PASSED target time: 512[ms], actual_time: 571.96[ms]
PASSED target time: 1024[ms], actual_time: 1139.8[ms]
PASSED target time: 8192[ms], actual_time: 9176.92[ms]
TEST PASSED

make: Leaving directory '/home/weiss/wd/RIOT/tests/periph_wdt'

```




-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/15174#issuecomment-869711840
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210628/29f9631f/attachment-0001.htm>


More information about the notifications mailing list