aboutsummaryrefslogtreecommitdiff
path: root/buildroot/tests/DUE_archim-tests
diff options
context:
space:
mode:
authorGeorgiy Bondarenko <69736697+nehilo@users.noreply.github.com>2021-03-04 20:54:23 +0300
committerGeorgiy Bondarenko <69736697+nehilo@users.noreply.github.com>2021-03-04 20:54:23 +0300
commite8701195e66f2d27ffe17fb514eae8173795aaf7 (patch)
tree9f519c4abf6556b9ae7190a6210d87ead1dfadde /buildroot/tests/DUE_archim-tests
downloadkp3s-lgvl-e8701195e66f2d27ffe17fb514eae8173795aaf7.tar.xz
kp3s-lgvl-e8701195e66f2d27ffe17fb514eae8173795aaf7.zip
Initial commit
Diffstat (limited to 'buildroot/tests/DUE_archim-tests')
-rw-r--r--buildroot/tests/DUE_archim-tests21
1 files changed, 21 insertions, 0 deletions
diff --git a/buildroot/tests/DUE_archim-tests b/buildroot/tests/DUE_archim-tests
new file mode 100644
index 0000000..f1711a8
--- /dev/null
+++ b/buildroot/tests/DUE_archim-tests
@@ -0,0 +1,21 @@
+#!/usr/bin/env bash
+#
+# Build tests for DUE (Atmel SAM3X8E ARM Cortex-M3)
+#
+
+# exit on first failure
+set -e
+
+#
+# Test Archim 1
+#
+use_example_configs UltiMachine/Archim1
+exec_test $1 $2 "Archim 1 base configuration" "$3"
+
+#
+# Test Archim 2
+#
+use_example_configs UltiMachine/Archim2
+exec_test $1 $2 "Archim 2 base configuration" "$3"
+
+restore_configs