Skip to content

Commit

Permalink
Tools: run examples with SITL
Browse files Browse the repository at this point in the history
  • Loading branch information
tridge committed Feb 23, 2024
1 parent 9a0d2a6 commit 1434d4a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Tools/autotest/examples.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion Tools/scripts/build_ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1434d4a

Please sign in to comment.