mirror of
https://github.com/openstf/stf
synced 2025-10-05 19:42:01 +02:00
Merge branch 'master' into group-feature
This commit is contained in:
commit
1dd9f45f06
26 changed files with 803 additions and 47 deletions
|
@ -44,6 +44,7 @@ module.exports = syrup.serial()
|
|||
, identity.product
|
||||
, identity.cpuPlatform
|
||||
, identity.openGLESVersion
|
||||
, identity.marketName
|
||||
))
|
||||
])
|
||||
})
|
||||
|
|
|
@ -62,7 +62,7 @@ module.exports = syrup.serial()
|
|||
}
|
||||
|
||||
function removeResource(res) {
|
||||
return adb.shell(options.serial, ['rm', res.dest])
|
||||
return adb.shell(options.serial, ['rm', '-f', res.dest])
|
||||
.timeout(10000)
|
||||
.then(function(out) {
|
||||
return streamutil.readAll(out)
|
||||
|
|
|
@ -36,7 +36,7 @@ module.exports = syrup.serial()
|
|||
}
|
||||
|
||||
function removeResource(res) {
|
||||
return adb.shell(options.serial, ['rm', res.dest])
|
||||
return adb.shell(options.serial, ['rm', '-f', res.dest])
|
||||
.timeout(10000)
|
||||
.then(function(out) {
|
||||
return streamutil.readAll(out)
|
||||
|
|
|
@ -35,7 +35,7 @@ module.exports = syrup.serial()
|
|||
}
|
||||
|
||||
function removeResource(res) {
|
||||
return adb.shell(options.serial, ['rm', res.dest])
|
||||
return adb.shell(options.serial, ['rm', '-f', res.dest])
|
||||
.timeout(10000)
|
||||
.then(function(out) {
|
||||
return streamutil.readAll(out)
|
||||
|
|
|
@ -37,7 +37,7 @@ module.exports = function(options) {
|
|||
})
|
||||
.catch(function(err) {
|
||||
log.error('Unable to read manifest of "%s"', req.params.id, err.stack)
|
||||
res.status(500)
|
||||
res.status(200)
|
||||
.json({
|
||||
success: false
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue