Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abdullh.alsoleman
Front-End
Commits
05862ff9
Commit
05862ff9
authored
Dec 09, 2019
by
Ian Hickson
Committed by
Flutter GitHub Bot
Dec 09, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix platform-specif test logic. (#46623)
parent
55f0bdc0
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
run_tests.dart
dev/customer_testing/run_tests.dart
+4
-4
No files found.
dev/customer_testing/run_tests.dart
View file @
05862ff9
...
...
@@ -212,16 +212,16 @@ class TestFile {
test
.
add
(
line
.
substring
(
5
));
}
else
if
(
line
.
startsWith
(
'test.windows='
))
{
if
(
Platform
.
isWindows
)
test
.
add
(
line
.
substring
(
5
));
test
.
add
(
line
.
substring
(
13
));
}
else
if
(
line
.
startsWith
(
'test.macos='
))
{
if
(
Platform
.
isMacOS
)
test
.
add
(
line
.
substring
(
5
));
test
.
add
(
line
.
substring
(
11
));
}
else
if
(
line
.
startsWith
(
'test.linux='
))
{
if
(
Platform
.
isLinux
)
test
.
add
(
line
.
substring
(
5
));
test
.
add
(
line
.
substring
(
11
));
}
else
if
(
line
.
startsWith
(
'test.posix='
))
{
if
(
Platform
.
isLinux
||
Platform
.
isMacOS
)
test
.
add
(
line
.
substring
(
5
));
test
.
add
(
line
.
substring
(
11
));
}
else
{
throw
FormatException
(
'
${errorPrefix}
Unexpected directive:
\n
$line
'
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment