mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-09 22:08:56 +08:00
added mission file to test name
This commit is contained in:
committed by
Lorenz Meier
parent
2f581a296e
commit
26de353d4f
@@ -288,4 +288,7 @@ class MavrosMissionTest(unittest.TestCase):
|
||||
|
||||
if __name__ == '__main__':
|
||||
import rostest
|
||||
rostest.rosrun(PKG, 'mavros_mission_test', MavrosMissionTest)
|
||||
name = "mavros_mission_test"
|
||||
if len(sys.argv) > 1:
|
||||
name += "-%s" % sys.argv[1]
|
||||
rostest.rosrun(PKG, name, MavrosMissionTest)
|
||||
|
||||
Reference in New Issue
Block a user