[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 <rmacnak@google.com> Commit-Queue: Siva Annamalai <asiva@google.com>
This commit is contained in:
@@ -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<void> 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";
|
||||
|
||||
Reference in New Issue
Block a user