From 0fa01b215600675000a159777970867fe592547a Mon Sep 17 00:00:00 2001 From: Christopher Fujino Date: Tue, 10 Oct 2023 14:47:59 -0600 Subject: [PATCH] [flutter_tools] allow tool integration tests to quit on SIGINT (#136271) fixes https://github.com/flutter/flutter/issues/136270 --- packages/flutter_tools/test/src/context.dart | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/packages/flutter_tools/test/src/context.dart b/packages/flutter_tools/test/src/context.dart index f0f4fd0f7d..4fc36d2ce0 100644 --- a/packages/flutter_tools/test/src/context.dart +++ b/packages/flutter_tools/test/src/context.dart @@ -382,9 +382,8 @@ class NoopCrashReporter implements CrashReporter { } class LocalFileSystemBlockingSetCurrentDirectory extends LocalFileSystem { - LocalFileSystemBlockingSetCurrentDirectory() : super.test( - signals: LocalSignals.instance, - ); + // Use [FakeSignals] so developers running the test suite can kill the test runner. + LocalFileSystemBlockingSetCurrentDirectory() : super.test(signals: FakeSignals()); @override set currentDirectory(dynamic value) {