[gardening] Fix unix_socket_test on asserts bots.
Pass executableArguments so asserts mode matches between spawner and spawnee. TEST=unix_socket_test Change-Id: I48dff19d4189845ba4992b9d893f31ff8abb6198 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/256965 Reviewed-by: Brian Quinlan <bquinlan@google.com> Commit-Queue: Alexander Aprelev <aam@google.com>
This commit is contained in:
committed by
Commit Bot
parent
12d1e58cbc
commit
d9e6d7c117
@@ -744,8 +744,11 @@ Future testStdioMessage(String tempDirPath, {bool caller: false}) async {
|
||||
return;
|
||||
}
|
||||
if (caller) {
|
||||
final process = await Process.start(Platform.resolvedExecutable,
|
||||
<String>[Platform.script.toFilePath(), '--start-stdio-message-test']);
|
||||
final process = await Process.start(Platform.resolvedExecutable, <String>[
|
||||
...Platform.executableArguments,
|
||||
Platform.script.toFilePath(),
|
||||
'--start-stdio-message-test'
|
||||
]);
|
||||
String processStdout = "";
|
||||
String processStderr = "";
|
||||
process.stdout.transform(utf8.decoder).listen((line) {
|
||||
|
||||
@@ -743,8 +743,11 @@ Future testStdioMessage(String tempDirPath, {bool caller: false}) async {
|
||||
final completer = Completer<bool>();
|
||||
|
||||
if (caller) {
|
||||
final process = await Process.start(Platform.resolvedExecutable,
|
||||
<String>[Platform.script.toFilePath(), '--start-stdio-message-test']);
|
||||
final process = await Process.start(Platform.resolvedExecutable, <String>[
|
||||
...Platform.executableArguments,
|
||||
Platform.script.toFilePath(),
|
||||
'--start-stdio-message-test'
|
||||
]);
|
||||
String processStdout = "";
|
||||
String processStderr = "";
|
||||
process.stdout.transform(utf8.decoder).listen((line) {
|
||||
|
||||
Reference in New Issue
Block a user