-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
TEST=new test for ci Change-Id: I982583ef21c5907bde1dcbc1c34e57c2c0fae770 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/398902 Reviewed-by: Slava Egorov <[email protected]> Commit-Queue: Ivan Inozemtsev <[email protected]>
- Loading branch information
1 parent
3557eb4
commit a7fe1e6
Showing
4 changed files
with
48 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>com.apple.security.cs.allow-jit</key> | ||
<true/> | ||
<key>com.apple.security.cs.disable-library-validation</key> | ||
<true/> | ||
</dict> | ||
</plist> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
import 'dart:io'; | ||
|
||
import 'package:expect/expect.dart'; | ||
|
||
void main() { | ||
final executable = Platform.executable; | ||
final outDir = executable.substring(0, executable.lastIndexOf('dart')); | ||
|
||
final runKernelExecutable = outDir + 'run_kernel'; | ||
|
||
final result = Process.runSync(runKernelExecutable, []); | ||
Expect.equals( | ||
0, | ||
result.exitCode, | ||
'process failed:\n' | ||
' exit code: ${result.exitCode}\n' | ||
' -- stdout --\n' | ||
'${result.stdout}' | ||
' -- stderr --\n' | ||
'${result.stderr}\n' | ||
' ------------', | ||
); | ||
} |