| // Copyright 2020 The Fuchsia Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| |
| import 'package:test/test.dart'; |
| |
| import 'helpers.dart'; |
| |
| void main() { |
| enableLoggingOutput(); |
| |
| test('/bin/fidlc_microbenchmarks', () async { |
| final helper = await PerfTestHelper.make(); |
| const resultsFile = '/tmp/perf_results_fidlc_microbenchmarks'; |
| final result = await helper.sl4fDriver.ssh |
| .run('/bin/fidlc_microbenchmarks -p --quiet --out $resultsFile'); |
| expect(result.exitCode, equals(0)); |
| await helper.processResults(resultsFile); |
| }, timeout: Timeout.none); |
| } |