mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Backed out changeset 16706b686cec (bug 1078274) for B2G cpptest permafail.
CLOSED TREE
This commit is contained in:
parent
22e9394cb8
commit
a7bf27744e
@ -112,7 +112,6 @@ class DeviceManager(object):
|
||||
- `systime` - system time of the device
|
||||
- `screen` - screen resolution
|
||||
- `memory` - memory stats
|
||||
- `memtotal` - total memory available on the device, for example 927208 kB
|
||||
- `process` - list of running processes (same as ps)
|
||||
- `disk` - total, free, available bytes on disk
|
||||
- `power` - power status (charge, battery temp)
|
||||
|
@ -514,12 +514,6 @@ class DeviceManagerADB(DeviceManager):
|
||||
ret["process"] = self.shellCheckOutput(["ps"])
|
||||
if directive == "systime" or directive == "all":
|
||||
ret["systime"] = self.shellCheckOutput(["date"])
|
||||
if directive == "memtotal" or directive == "all":
|
||||
meminfo = {}
|
||||
for line in self.pullFile("/proc/meminfo").splitlines():
|
||||
key, value = line.split(":")
|
||||
meminfo[key] = value.strip()
|
||||
ret["memtotal"] = meminfo["MemTotal"]
|
||||
self._logger.info(ret)
|
||||
return ret
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user