Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
Firmware
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Alberto Ruiz Garcia
Firmware
Commits
02029882
Commit
02029882
authored
8 years ago
by
Andreas Daniel Antener
Committed by
Lorenz Meier
8 years ago
Browse files
Options
Downloads
Patches
Plain Diff
SITL CI: gracefully fail tests early (#5405)
parent
15e50b26
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
integrationtests/run_tests.bash
+5
-4
5 additions, 4 deletions
integrationtests/run_tests.bash
with
5 additions
and
4 deletions
integrationtests/run_tests.bash
+
5
−
4
View file @
02029882
...
...
@@ -83,11 +83,12 @@ echo -e "ROS_LOG_DIR\t\t: $ROS_LOG_DIR"
echo
-e
"PX4_LOG_DIR
\t\t
:
$PX4_LOG_DIR
"
echo
-e
"TEST_RESULT_TARGET_DIR
\t
:
$TEST_RESULT_TARGET_DIR
"
# Exit on first error as we cannot afford to wait forever
set
-e
# don't exit on error anymore (because single tests or exports might fail)
# however, stop executing tests after the first failure
set
+e
echo
"=====> run tests"
rostest px4 mavros_posix_tests_iris.launch
rostest px4 mavros_posix_tests_standard_vtol.launch
test
$?
-eq
0
&&
rostest px4 mavros_posix_tests_iris.launch
test
$?
-eq
0
&&
rostest px4 mavros_posix_tests_standard_vtol.launch
TEST_RESULT
=
$?
echo
"<====="
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment