From 3fb252d01948f9fd78116e53a3da9c5b61c4a804 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Thu, 31 Jan 2019 10:56:22 +0100 Subject: add simple compile and option-combination tests for posix arch --- tests/posix | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 tests/posix (limited to 'tests') diff --git a/tests/posix b/tests/posix new file mode 100755 index 0000000..8e12a30 --- /dev/null +++ b/tests/posix @@ -0,0 +1,10 @@ +#!/bin/sh + +uarttest() { + ~/var/projects/uarttest/bin/uarttest.py "$@" +} + +uarttest --runtime=2 --check "grep 'Hello, World!$'" '!build/system.elf' './mp app=test_basic arch=posix loop={!1} aspectc={0!1} gpio_trace={!1} arch_drivers={!counter} drivers={!softi2c}' + +# Loop +uarttest --runtime=2 --check "grep 'Hello, World!$'" '!build/system.elf' './mp app=test_basic arch=posix loop=1 aspectc={0!1} gpio_trace={!1} arch_drivers={!counter}' -- cgit v1.2.3