mirror of
https://github.com/openstf/stf
synced 2025-10-06 03:50:04 +02:00
Don't exclude anything from logcat unless filters are given.
This commit is contained in:
parent
9e98bb1525
commit
2183bbba49
1 changed files with 6 additions and 4 deletions
|
@ -64,12 +64,14 @@ module.exports = syrup.serial()
|
|||
if (plugin.isRunning()) {
|
||||
activeLogcat
|
||||
.resetFilters()
|
||||
.excludeAll()
|
||||
|
||||
if (filters.length) {
|
||||
activeLogcat.excludeAll()
|
||||
filters.forEach(function(filter) {
|
||||
activeLogcat.include(filter.tag, filter.priority)
|
||||
})
|
||||
}
|
||||
}
|
||||
else {
|
||||
throw new Error('Logcat is not running')
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue