summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rwxr-xr-xtests/posix10
1 files changed, 10 insertions, 0 deletions
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}'