Skip to content

Commit

Permalink
02-test/compile-and-test-one-board: add script to test board
Browse files Browse the repository at this point in the history
Add a script to compile and execute test on a board and produce file results.
  • Loading branch information
cladmi committed Aug 8, 2018
1 parent f64bf09 commit 185e65f
Show file tree
Hide file tree
Showing 3 changed files with 595 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
results/
__pycache__/
20 changes: 20 additions & 0 deletions 02-tests/02-tests.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,25 @@
## Goal: Perform test applications on various platforms and check that they run as expected


The `./compile_and_test_for_board.py` script can be used to run all compilation
and **automated** tests for one board, not the manual tests.

### Usage

Run 02 `compile_and_test_for_board.py` script with your test board connected.

./compile_and_test_for_board.py path_to_riot_directory board_name [results]

It prints the summary with results files relative to `results_dir/board` to have
a github friendly output.

Failures and all tests output are saved in files.
They can be checked with:

find results/ -name '*.failed'
find results/ -name 'test.success'


Task #01 - All tests on native
==============================
### Description
Expand Down
Loading

0 comments on commit 185e65f

Please sign in to comment.