Revert "add a benchmark test for stack size (#75039)" (#75383)

This reverts commit 9d9109aa6f.
This commit is contained in:
Shi-Hao Hong
2021-02-03 18:26:04 -08:00
committed by GitHub
parent 4dcfa28ce2
commit de683de9d5
9 changed files with 33 additions and 355 deletions

View File

@@ -22,18 +22,6 @@ void main() {
tearDown(() {
});
group('cpu check', () {
test('arm64', () async {
FakeDevice.pretendArm64();
final AndroidDevice androidDevice = device as AndroidDevice;
expect(await androidDevice.isArm64(), isTrue);
expectLog(<CommandArgs>[
cmd(command: 'getprop', arguments: <String>['ro.bootimage.build.fingerprint', ';', 'getprop', 'ro.build.version.release', ';', 'getprop', 'ro.build.version.sdk'], environment: null),
cmd(command: 'getprop', arguments: <String>['ro.product.cpu.abi'], environment: null),
]);
});
});
group('isAwake/isAsleep', () {
test('reads Awake', () async {
FakeDevice.pretendAwake();
@@ -199,12 +187,6 @@ class FakeDevice extends AndroidDevice {
''';
}
static void pretendArm64() {
output = '''
arm64
''';
}
@override
Future<String> shellEval(String command, List<String> arguments, { Map<String, String> environment, bool silent = false }) async {
commandLog.add(CommandArgs(