summaryrefslogtreecommitdiffstats
path: root/meta/files
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2016-03-04 16:22:26 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-03-06 23:52:58 +0000
commit7ea670c3b00439ca5eeb6ae1efd475f0954268b7 (patch)
tree37aabd140b806885f4dbb9cf76a0691dd5a2657f /meta/files
parentcc01ffeee757738c169f8970fd89bf0933e93532 (diff)
downloadopenembedded-core-7ea670c3b00439ca5eeb6ae1efd475f0954268b7.tar.gz
openembedded-core-7ea670c3b00439ca5eeb6ae1efd475f0954268b7.tar.bz2
openembedded-core-7ea670c3b00439ca5eeb6ae1efd475f0954268b7.zip
ext-sdk-prepare: Catch setscene tasks which should have run but didn't
When installing the eSDK, if setscene task fail for some reason, the tests would ignore this. This is bad since we assume they're working. This adds some sanity test code which detects if setscene tasks are needing to run and errors if there are any. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/files')
-rw-r--r--meta/files/ext-sdk-prepare.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/files/ext-sdk-prepare.py b/meta/files/ext-sdk-prepare.py
index 143e0feba0..c99e34f371 100644
--- a/meta/files/ext-sdk-prepare.py
+++ b/meta/files/ext-sdk-prepare.py
@@ -72,12 +72,14 @@ def main():
else:
line = line.split('Running', 1)[-1]
unexpected.append(line.rstrip())
+ elif 'Running setscene' in line:
+ unexpected.append(line.rstrip())
except subprocess.CalledProcessError as e:
print('ERROR: Failed to execute dry-run:\n%s' % e.output)
return 1
if unexpected:
- print('ERROR: Unexpected tasks left over to be executed:')
+ print('ERROR: Unexpected tasks or setscene left over to be executed:')
for line in unexpected:
print(' ' + line)
return 1