aboutsummaryrefslogtreecommitdiff
path: root/cortex-m-rt
diff options
context:
space:
mode:
Diffstat (limited to 'cortex-m-rt')
-rw-r--r--cortex-m-rt/ci/script.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/cortex-m-rt/ci/script.sh b/cortex-m-rt/ci/script.sh
index 9933372..432ea35 100644
--- a/cortex-m-rt/ci/script.sh
+++ b/cortex-m-rt/ci/script.sh
@@ -20,6 +20,7 @@ main() {
minimal
override-exception
pre_init
+ qemu
rand
state
unsafe-default-handler
@@ -82,6 +83,13 @@ main() {
-C link-arg=-Tlink.x
fi
+ case $TARGET in
+ thumbv6m-none-eabi|thumbv7m-none-eabi)
+ cargo run --target $TARGET --example qemu | grep "x = 42"
+ cargo run --target $TARGET --example qemu --release | grep "x = 42"
+ ;;
+ esac
+
if [ $TARGET = x86_64-unknown-linux-gnu ]; then
./check-blobs.sh
fi