From 4fe335c2d049e9ae37d5cee0c1952e8e3d7f4cc5 Mon Sep 17 00:00:00 2001 From: Iampete1 Date: Fri, 22 Apr 2022 20:43:50 +0100 Subject: [PATCH] SITL: tests: only build on sitl --- libraries/SITL/tests/wscript | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libraries/SITL/tests/wscript b/libraries/SITL/tests/wscript index cd3e5e3ce7..09b44623a2 100644 --- a/libraries/SITL/tests/wscript +++ b/libraries/SITL/tests/wscript @@ -2,6 +2,10 @@ # encoding: utf-8 def build(bld): + + if bld.env.BOARD != 'sitl': + return + bld.ap_find_tests( use='ap', )