1
0
Fork 0
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:
Denis barbaron 2020-01-24 10:47:35 +01:00
commit 1dd9f45f06
26 changed files with 803 additions and 47 deletions

View file

@ -44,6 +44,7 @@ module.exports = syrup.serial()
, identity.product
, identity.cpuPlatform
, identity.openGLESVersion
, identity.marketName
))
])
})

View file

@ -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)

View file

@ -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)

View file

@ -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)

View file

@ -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
})