From 03910b8df4afa08d6594c7dd3ac36d2f7eefbdda Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Fri, 23 Feb 2024 12:00:13 +1100 Subject: [PATCH] Tools: run examples with SITL --- Tools/autotest/examples.py | 2 +- Tools/scripts/build_ci.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Tools/autotest/examples.py b/Tools/autotest/examples.py index 590205b331..b7c69fc6a2 100644 --- a/Tools/autotest/examples.py +++ b/Tools/autotest/examples.py @@ -51,7 +51,7 @@ def run_example(filepath, valgrind=False, gdb=False): def run_examples(debug=False, valgrind=False, gdb=False): - dirpath = util.reltopdir(os.path.join('build', 'linux', 'examples')) + dirpath = util.reltopdir(os.path.join('build', 'sitl', 'examples')) print("Running Hello") # explicitly run helloworld and check for output diff --git a/Tools/scripts/build_ci.sh b/Tools/scripts/build_ci.sh index 75a42b516c..f45383f6ab 100755 --- a/Tools/scripts/build_ci.sh +++ b/Tools/scripts/build_ci.sh @@ -176,7 +176,7 @@ for t in $CI_BUILD_TARGET; do fi if [ "$t" == "examples" ]; then - ./waf configure --board=linux --debug + ./waf configure --board=sitl --debug ./waf examples run_autotest "Examples" "--no-clean" "run.examples" continue