anchor.diff:          hostAgent.dumpDirectory.path,
         ]);
         final Map<String, dynamic> data = json.decode(
  -        file('$testDirectory/build/frame_policy_event_delay.json').readAsStringSync(),
  +        file('$testDirectory/$_testOutputDirectory/frame_policy_event_delay.json').readAsStringSync(),
         ) as Map<String, dynamic>;
         final Map<String, dynamic> fullLiveData = data['fullyLive'] as Map<String, dynamic>;
         final Map<String, dynamic> benchmarkLiveData = data['benchmarkLive'] as Map<String, dynamic>;
  
positive.code:          ], canFail: true);
          if (result == 0) {
            final Map<String, dynamic> data = json.decode(
              file('$testDirectory/build/start_up_info.json').readAsStringSync(),
            ) as Map<String, dynamic>;
            results.add(data);
          } else {
  
negative.code: import 'package:flutter_devicelab/framework/host_agent.dart';
  import 'package:flutter_devicelab/framework/task_result.dart';
  import 'package:flutter_devicelab/framework/utils.dart';
  
  /// Must match flutter_driver/lib/src/common.dart.
  ///
  /// Redefined here to avoid taking a dependency on flutter_driver.
  final String _testOutputDirectory = Platform.environment['FLUTTER_TEST_OUTPUTS_DIR'] ?? 'build';
  
  TaskFunction createComplexLayoutScrollPerfTest({bool measureCpuGpu = true}) {
    return PerfTest(
  