aboutsummaryrefslogtreecommitdiff
path: root/lite-aeolus
diff options
context:
space:
mode:
Diffstat (limited to 'lite-aeolus')
-rw-r--r--lite-aeolus/build-micropython.sh11
1 files changed, 8 insertions, 3 deletions
diff --git a/lite-aeolus/build-micropython.sh b/lite-aeolus/build-micropython.sh
index 4129681b7f..0e3cc08a29 100644
--- a/lite-aeolus/build-micropython.sh
+++ b/lite-aeolus/build-micropython.sh
@@ -14,6 +14,14 @@ full_testsuite() {
}
cd ports/zephyr
+
+if [ ${PLATFORM} = "qemu_x86" ]; then
+ # Build and run binary with embedded testsuite
+ ./run-builtin-testsuite.sh
+ make clean
+fi
+
+
if small_rom ${PLATFORM}; then
./make-minimal BOARD=${PLATFORM}
elif full_testsuite ${PLATFORM}; then
@@ -23,9 +31,6 @@ else
fi
if [ ${PLATFORM} = "qemu_x86" ]; then
- # Build and run binary with embedded testsuite
- ./run-builtin-testsuite.sh
-
# Run testsuite via piping scripts to REPL - doesn't work reliably
# with QEMU, will likely be removed
rm -f /tmp/slip.sock