diff options
Diffstat (limited to 'meta/lib/oeqa/utils/targetbuild.py')
-rw-r--r-- | meta/lib/oeqa/utils/targetbuild.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/lib/oeqa/utils/targetbuild.py b/meta/lib/oeqa/utils/targetbuild.py index 9249fa2635..1202d579fb 100644 --- a/meta/lib/oeqa/utils/targetbuild.py +++ b/meta/lib/oeqa/utils/targetbuild.py | |||
@@ -69,7 +69,7 @@ class BuildProject(metaclass=ABCMeta): | |||
69 | 69 | ||
70 | def clean(self): | 70 | def clean(self): |
71 | self._run('rm -rf %s' % self.targetdir) | 71 | self._run('rm -rf %s' % self.targetdir) |
72 | subprocess.call('rm -f %s' % self.localarchive, shell=True) | 72 | subprocess.check_call('rm -f %s' % self.localarchive, shell=True) |
73 | pass | 73 | pass |
74 | 74 | ||
75 | class TargetBuildProject(BuildProject): | 75 | class TargetBuildProject(BuildProject): |
@@ -136,4 +136,4 @@ class SDKBuildProject(BuildProject): | |||
136 | 136 | ||
137 | def _run(self, cmd): | 137 | def _run(self, cmd): |
138 | self.log("Running . %s; " % self.sdkenv + cmd) | 138 | self.log("Running . %s; " % self.sdkenv + cmd) |
139 | return subprocess.call(". %s; " % self.sdkenv + cmd, shell=True) | 139 | return subprocess.check_call(". %s; " % self.sdkenv + cmd, shell=True) |