anchor.diff:           ], canFail: true);
           if (result == 0) {
             final Map<String, dynamic> data = json.decode(
  -            file('$testDirectory/$_testOutputDirectory/start_up_info.json').readAsStringSync(),
  +            file('${_testOutputDirectory(testDirectory)}/start_up_info.json').readAsStringSync(),
             ) as Map<String, dynamic>;
             results.add(data);
           } else {
  
positive.code: /// 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(
  
negative.code:         hostAgent.dumpDirectory.path,
        ]);
        final Map<String, dynamic> data = json.decode(
          file('${_testOutputDirectory(testDirectory)}/$resultFilename.json').readAsStringSync(),
        ) as Map<String, dynamic>;
  
        if (data['frame_count'] as int < 5) {
  