From 93f41eccf0d160121fe156fe0308768b6902d108 Mon Sep 17 00:00:00 2001 From: asiva Date: Wed, 17 Jan 2024 19:21:19 +0000 Subject: [PATCH] [VM/test] Skips test on Android as executable bit is not set for shell script. TEST=fixes test. Change-Id: I384aa695b3072c31dbd120cae17504a373a22275 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/345861 Reviewed-by: Ryan Macnak Commit-Queue: Siva Annamalai --- tests/standalone/io/regress_54516_test.dart | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/standalone/io/regress_54516_test.dart b/tests/standalone/io/regress_54516_test.dart index b804c35e900..e92e2353405 100644 --- a/tests/standalone/io/regress_54516_test.dart +++ b/tests/standalone/io/regress_54516_test.dart @@ -1,12 +1,17 @@ // Copyright (c) 2024, the Dart project authors. Please see the AUTHORS file // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// +// OtherResources=regress_54516_test.sh import 'dart:io'; import 'package:expect/expect.dart'; Future main() async { + if (Platform.isAndroid || Platform.isIOS) { + return; // executable bit not setup for the shell script. + } // Create a shell script that prints the output. final origDir = Directory.current; final fileName = "tests/standalone/io/regress_54516_test.sh";