Tools: run examples with SITL

This commit is contained in:
Andrew Tridgell 2024-02-23 12:00:13 +11:00
parent 09500df4a8
commit 03910b8df4
2 changed files with 2 additions and 2 deletions

View File

@ -51,7 +51,7 @@ def run_example(filepath, valgrind=False, gdb=False):
def run_examples(debug=False, 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") print("Running Hello")
# explicitly run helloworld and check for output # explicitly run helloworld and check for output

View File

@ -176,7 +176,7 @@ for t in $CI_BUILD_TARGET; do
fi fi
if [ "$t" == "examples" ]; then if [ "$t" == "examples" ]; then
./waf configure --board=linux --debug ./waf configure --board=sitl --debug
./waf examples ./waf examples
run_autotest "Examples" "--no-clean" "run.examples" run_autotest "Examples" "--no-clean" "run.examples"
continue continue