Skip to content

Commit

Permalink
conftest: use "native" RIOT_TERMINAL for native boards
Browse files Browse the repository at this point in the history
  • Loading branch information
miri64 committed Jan 8, 2024
1 parent 404927c commit df3191c
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 df3191c

Please sign in to comment.