mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-28 10:46:33 +08:00
integrationtests: use Python2 for dependencies
This changes the shebang of the integration test files to python2 because the scripts fail on systems with Python 3 as the default. Even though ROS has been ported to Python 3, there are still some dependencies not playing along. The error that comes up when starting with Python 3 is: > No module named 'mavexpression'
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/env python
|
#!/usr/bin/env python2
|
||||||
#***************************************************************************
|
#***************************************************************************
|
||||||
#
|
#
|
||||||
# Copyright (c) 2015 PX4 Development Team. All rights reserved.
|
# Copyright (c) 2015 PX4 Development Team. All rights reserved.
|
||||||
@@ -35,6 +35,9 @@
|
|||||||
#
|
#
|
||||||
# @author Andreas Antener <andreas@uaventure.com>
|
# @author Andreas Antener <andreas@uaventure.com>
|
||||||
#
|
#
|
||||||
|
# The shebang of this file is currently Python2 because some
|
||||||
|
# dependencies such as pymavlink don't play well with Python3 yet.
|
||||||
|
|
||||||
PKG = 'px4'
|
PKG = 'px4'
|
||||||
|
|
||||||
import unittest
|
import unittest
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/env python
|
#!/usr/bin/env python2
|
||||||
#***************************************************************************
|
#***************************************************************************
|
||||||
#
|
#
|
||||||
# Copyright (c) 2015 PX4 Development Team. All rights reserved.
|
# Copyright (c) 2015 PX4 Development Team. All rights reserved.
|
||||||
@@ -35,6 +35,9 @@
|
|||||||
#
|
#
|
||||||
# @author Andreas Antener <andreas@uaventure.com>
|
# @author Andreas Antener <andreas@uaventure.com>
|
||||||
#
|
#
|
||||||
|
# The shebang of this file is currently Python2 because some
|
||||||
|
# dependencies such as pymavlink don't play well with Python3 yet.
|
||||||
|
|
||||||
PKG = 'px4'
|
PKG = 'px4'
|
||||||
|
|
||||||
import unittest
|
import unittest
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/env python
|
#!/usr/bin/env python2
|
||||||
#***************************************************************************
|
#***************************************************************************
|
||||||
#
|
#
|
||||||
# Copyright (c) 2015 PX4 Development Team. All rights reserved.
|
# Copyright (c) 2015 PX4 Development Team. All rights reserved.
|
||||||
@@ -35,6 +35,10 @@
|
|||||||
#
|
#
|
||||||
# @author Andreas Antener <andreas@uaventure.com>
|
# @author Andreas Antener <andreas@uaventure.com>
|
||||||
#
|
#
|
||||||
|
|
||||||
|
# The shebang of this file is currently Python2 because some
|
||||||
|
# dependencies such as pymavlink don't play well with Python3 yet.
|
||||||
|
|
||||||
PKG = 'px4'
|
PKG = 'px4'
|
||||||
|
|
||||||
import unittest
|
import unittest
|
||||||
|
|||||||
Reference in New Issue
Block a user