1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2026-01-01 01:41:18 +01:00
Frederik Haxel 5ed0bafc92 examples, tests: Changes for the native64 board
- Adapted build system and test checks for the native boards to include native64
- Added `native64` to the same tests as `native`
2024-02-05 22:02:14 +01:00

25 lines
668 B
Python
Executable File

#!/usr/bin/env python3
# Copyright (C) 2019 Freie Universität Berlin
#
# This file is subject to the terms and conditions of the GNU Lesser
# General Public License v2.1. See the file LICENSE in the top level
# directory for more details.
import sys
import os
from testrunner import run
def testfunc(child):
board = os.environ['BOARD']
child.expect_exact("Hello World!")
child.expect_exact(f"You are running RIOT on a(n) {board} board.")
child.expect_exact("THIS_BOARD_IS external_native")
child.expect_exact("This board is 'An external extended native")
print("Test successful!!")
if __name__ == "__main__":
sys.exit(run(testfunc))