diff options
Diffstat (limited to 'meta/lib/oeqa')
| -rw-r--r-- | meta/lib/oeqa/sdk/utils/sdkbuildproject.py | 2 | ||||
| -rw-r--r-- | meta/lib/oeqa/utils/buildproject.py | 2 | ||||
| -rw-r--r-- | meta/lib/oeqa/utils/targetbuild.py | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/meta/lib/oeqa/sdk/utils/sdkbuildproject.py b/meta/lib/oeqa/sdk/utils/sdkbuildproject.py index cc34e0c9f5..4e4e5077c0 100644 --- a/meta/lib/oeqa/sdk/utils/sdkbuildproject.py +++ b/meta/lib/oeqa/sdk/utils/sdkbuildproject.py | |||
| @@ -24,7 +24,7 @@ class SDKBuildProject(BuildProject): | |||
| 24 | self._download_archive() | 24 | self._download_archive() |
| 25 | 25 | ||
| 26 | cmd = 'tar xf %s%s -C %s' % (self.targetdir, self.archive, self.targetdir) | 26 | cmd = 'tar xf %s%s -C %s' % (self.targetdir, self.archive, self.targetdir) |
| 27 | subprocess.check_call(cmd, shell=True) | 27 | subprocess.check_output(cmd, shell=True) |
| 28 | 28 | ||
| 29 | #Change targetdir to project folder | 29 | #Change targetdir to project folder |
| 30 | self.targetdir = os.path.join(self.targetdir, self.fname) | 30 | self.targetdir = os.path.join(self.targetdir, self.fname) |
diff --git a/meta/lib/oeqa/utils/buildproject.py b/meta/lib/oeqa/utils/buildproject.py index 386a927881..b3c487b6c6 100644 --- a/meta/lib/oeqa/utils/buildproject.py +++ b/meta/lib/oeqa/utils/buildproject.py | |||
| @@ -29,7 +29,7 @@ class BuildProject(metaclass=ABCMeta): | |||
| 29 | return | 29 | return |
| 30 | 30 | ||
| 31 | cmd = "wget -O %s %s" % (self.localarchive, self.uri) | 31 | cmd = "wget -O %s %s" % (self.localarchive, self.uri) |
| 32 | subprocess.check_call(cmd, shell=True) | 32 | subprocess.check_output(cmd, shell=True) |
| 33 | 33 | ||
| 34 | # This method should provide a way to run a command in the desired environment. | 34 | # This method should provide a way to run a command in the desired environment. |
| 35 | @abstractmethod | 35 | @abstractmethod |
diff --git a/meta/lib/oeqa/utils/targetbuild.py b/meta/lib/oeqa/utils/targetbuild.py index c001602b54..6f237b56f3 100644 --- a/meta/lib/oeqa/utils/targetbuild.py +++ b/meta/lib/oeqa/utils/targetbuild.py | |||
| @@ -45,7 +45,7 @@ class BuildProject(metaclass=ABCMeta): | |||
| 45 | cmd = 'export ' + var + '=\"%s\"; %s' % (val, cmd) | 45 | cmd = 'export ' + var + '=\"%s\"; %s' % (val, cmd) |
| 46 | 46 | ||
| 47 | cmd = cmd + "wget -O %s %s" % (self.localarchive, self.uri) | 47 | cmd = cmd + "wget -O %s %s" % (self.localarchive, self.uri) |
| 48 | subprocess.check_call(cmd, shell=True) | 48 | subprocess.check_output(cmd, shell=True) |
| 49 | 49 | ||
| 50 | # This method should provide a way to run a command in the desired environment. | 50 | # This method should provide a way to run a command in the desired environment. |
| 51 | @abstractmethod | 51 | @abstractmethod |
| @@ -114,7 +114,7 @@ class SDKBuildProject(BuildProject): | |||
| 114 | self._download_archive() | 114 | self._download_archive() |
| 115 | 115 | ||
| 116 | cmd = 'tar xf %s%s -C %s' % (self.targetdir, self.archive, self.targetdir) | 116 | cmd = 'tar xf %s%s -C %s' % (self.targetdir, self.archive, self.targetdir) |
| 117 | subprocess.check_call(cmd, shell=True) | 117 | subprocess.check_output(cmd, shell=True) |
| 118 | 118 | ||
| 119 | #Change targetdir to project folder | 119 | #Change targetdir to project folder |
| 120 | self.targetdir = os.path.join(self.targetdir, self.fname) | 120 | self.targetdir = os.path.join(self.targetdir, self.fname) |
