Skip to content

Commit

Permalink
Merge pull request #296 from miri64/conftest/fix/RIOT_TERMINAL-native
Browse files Browse the repository at this point in the history
conftest: use "native" RIOT_TERMINAL for native boards
  • Loading branch information
miri64 authored Jan 8, 2024
2 parents 404927c + df3191c commit 0c23dbb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,10 @@ def nodes(local, request, boards, iotlab_site):
for board in boards:
if local or only_native or IoTLABExperiment.valid_board(board):
env = {'BOARD': f'{board}'}
if only_native:
# XXX this does not work for a mix of native and non-native boards,
# but we do not have these in the release tests at the moment.
env["RIOT_TERMINAL"] = "native"
else:
env = {
'BOARD': IoTLABExperiment.board_from_iotlab_node(board),
Expand Down

0 comments on commit 0c23dbb

Please sign in to comment.