From 7ffdfae67c86789809b9cdae2a836735174b2d3a Mon Sep 17 00:00:00 2001 From: Nate Bosch Date: Tue, 26 Aug 2025 18:30:41 +0000 Subject: [PATCH] Remove executable argument forwarding in tests Similar to #2528 This case of argument forwarding existed since the test runner was first written. It's not clear exactly why it was necessary, so removing it if no current tests break. --- pkgs/test/test/io.dart | 4 ---- 1 file changed, 4 deletions(-) diff --git a/pkgs/test/test/io.dart b/pkgs/test/test/io.dart index 7096896f5..cc850fd87 100644 --- a/pkgs/test/test/io.dart +++ b/pkgs/test/test/io.dart @@ -142,10 +142,6 @@ Future runDart( String? packageConfig, }) async { var allArgs = [ - ...Platform.executableArguments.where( - (arg) => - !arg.startsWith('--package-root=') && !arg.startsWith('--packages='), - ), '--packages=${packageConfig ?? await Isolate.packageConfig}', ...args, ];