RIOT-OS / RobotFW-tests

Includes tests for RIOT based on the Robot Framework
GNU Lesser General Public License v2.1
4 stars 13 forks source link

feat(env): Add nrf52840dk env file #96

Closed MrKevinWeiss closed 3 years ago

MrKevinWeiss commented 3 years ago

It seems it include a rebase of RIOT but I think that is OK.

MrKevinWeiss commented 3 years ago

Currently it is connected to a global node and tested manually:

BOARD=nrf52840dk PHILIP_PORT=/dev/hil/philip PORT=/dev/hil/dut make robot-clean robot-test -C tests/periph_gpio/
make: Entering directory '/home/pi/RobotFW-tests/tests/periph_gpio'
python3 -m robot.run \
            --name "tests_periph_gpio" \
            --noncritical non-critical \
            --noncritical warn-if-failed \
            --settag "APP_tests_periph_gpio" \
            --settag "BOARD_nrf52840dk" \
            --metadata RIOT-Version:2019.10-devel-1385-g053db-HEAD \
            --metadata RIOT-Board:nrf52840dk \
            --metadata RIOT-Application:tests_periph_gpio \
            -P "/home/pi/RobotFW-tests/tests/periph_gpio/tests:/home/pi/RobotFW-tests/tests/periph_gpio/../../dist/robotframework/lib:/home/pi/RobotFW-tests/tests/periph_gpio/../../dist/robotframework/res" \
            -l NONE \
            -o /home/pi/RobotFW-tests/tests/periph_gpio/../../build/robot/nrf52840dk/tests_periph_gpio/output.xml \
            -r NONE \
            tests/
==============================================================================
tests_periph_gpio                                                             
==============================================================================
tests_periph_gpio.Periph Gpio Base :: Verify if board to philip wiring is c...
==============================================================================
Verify GPIO_0                                                         | PASS |
------------------------------------------------------------------------------
Verify GPIO_1                                                         | PASS |
------------------------------------------------------------------------------
Verify GPIO_2                                                         | PASS |
------------------------------------------------------------------------------
tests_periph_gpio.Periph Gpio Base :: Verify if board to philip wi... | PASS |
3 critical tests, 3 passed, 0 failed
3 tests total, 3 passed, 0 failed
==============================================================================
tests_periph_gpio.Periph Gpio Others :: Verify if board to philip wiring is...
==============================================================================
Verify UART_CTS                                                       | FAIL |
This Periph is not supported here
------------------------------------------------------------------------------
Verify UART_RTS                                                       | FAIL |
This Periph is not supported here
------------------------------------------------------------------------------
Verify UART_RX                                                        | PASS |
------------------------------------------------------------------------------
Verify UART_TX                                                        | PASS |
------------------------------------------------------------------------------
Verify SPI_NSS                                                        | PASS |
------------------------------------------------------------------------------
Verify SPI_SCK                                                        | PASS |
------------------------------------------------------------------------------
Verify SPI_MISO                                                       | PASS |
------------------------------------------------------------------------------
Verify SPI_MOSI                                                       | PASS |
------------------------------------------------------------------------------
Verify I2C_SCL                                                        | PASS |
------------------------------------------------------------------------------
Verify I2C_SDA                                                        | PASS |
------------------------------------------------------------------------------
Verify ADC                                                            | FAIL |
This Periph is not supported here
------------------------------------------------------------------------------
Verify PWM                                                            | PASS |
------------------------------------------------------------------------------
Verify IC                                                             | PASS |
------------------------------------------------------------------------------
tests_periph_gpio.Periph Gpio Others :: Verify if board to philip ... | PASS |
10 critical tests, 10 passed, 0 failed
13 tests total, 10 passed, 3 failed
==============================================================================
tests_periph_gpio.Periph Gpio Reset :: Verify if board to philip reset wiri...
==============================================================================
Verify Reset Pin Is Connected :: Lock the dut and try run another ... | PASS |
------------------------------------------------------------------------------
tests_periph_gpio.Periph Gpio Reset :: Verify if board to philip r... | PASS |
1 critical test, 1 passed, 0 failed
1 test total, 1 passed, 0 failed
==============================================================================
tests_periph_gpio                                                     | PASS |
14 critical tests, 14 passed, 0 failed
17 tests total, 14 passed, 3 failed
==============================================================================
Output:  /home/pi/RobotFW-tests/build/robot/nrf52840dk/tests_periph_gpio/output.xml
python3 /home/pi/RobotFW-tests/tests/periph_gpio/../../dist/tools/output_to_xunit/output_to_xunit.py \
            --output /home/pi/RobotFW-tests/build/robot/nrf52840dk/tests_periph_gpio/xunit.xml \
            /home/pi/RobotFW-tests/tests/periph_gpio/../../build/robot/nrf52840dk/tests_periph_gpio/output.xml
make: Leaving directory '/home/pi/RobotFW-tests/tests/periph_gpio'
riot-hil-bot commented 3 years ago

HiL CI Test Results

Boards Tested: [nrf52840dk] Tests Run: [tests/xtimer_cli, tests/periph_uart, tests/periph_i2c, tests/periph_gpio, tests/periph_timer, tests/periph_spi]

Full test results

MrKevinWeiss commented 3 years ago

Many thanks!