From 26de353d4f8e885727438c3c4db61717fac3409d Mon Sep 17 00:00:00 2001 From: Andreas Antener Date: Tue, 28 Jun 2016 11:11:46 +0200 Subject: [PATCH] added mission file to test name --- integrationtests/python_src/px4_it/mavros/mission_test.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/integrationtests/python_src/px4_it/mavros/mission_test.py b/integrationtests/python_src/px4_it/mavros/mission_test.py index c16fe9d6b6..e0459b91c3 100755 --- a/integrationtests/python_src/px4_it/mavros/mission_test.py +++ b/integrationtests/python_src/px4_it/mavros/mission_test.py @@ -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)