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
2a11e896
Commit
2a11e896
authored
Oct 19, 2017
by
Michael Goderbauer
Committed by
GitHub
Oct 19, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update clean command in devicelab tests (#12640)
parent
1eed6dff
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
flutter_gallery_instrumentation_test.dart
...celab/bin/tasks/flutter_gallery_instrumentation_test.dart
+1
-1
perf_tests.dart
dev/devicelab/lib/tasks/perf_tests.dart
+2
-2
size_tests.dart
dev/devicelab/lib/tasks/size_tests.dart
+1
-1
No files found.
dev/devicelab/bin/tasks/flutter_gallery_instrumentation_test.dart
View file @
2a11e896
...
...
@@ -19,7 +19,7 @@ Future<Null> main() async {
final
Device
device
=
await
devices
.
workingDevice
;
await
device
.
unlock
();
await
flutter
(
'packages'
,
options:
<
String
>[
'get'
]);
await
flutter
(
'
build'
,
options:
<
String
>[
'clean'
]
);
await
flutter
(
'
clean'
);
await
flutter
(
'build'
,
options:
<
String
>[
'apk'
,
'--target'
,
'test/live_smoketest.dart'
]);
final
String
androidStudioPath
=
grep
(
'Android Studio at'
,
from:
await
evalFlutter
(
'doctor'
)).
first
.
split
(
' '
).
last
;
await
exec
(
'./tool/run_instrumentation_test.sh'
,
<
String
>[],
environment:
<
String
,
String
>{
...
...
dev/devicelab/lib/tasks/perf_tests.dart
View file @
2a11e896
...
...
@@ -192,7 +192,7 @@ class BuildTest {
}
static
Future
<
Map
<
String
,
dynamic
>>
_buildAot
(
bool
previewDart2
)
async
{
await
flutter
(
'
build'
,
options:
<
String
>[
'clean'
]
);
await
flutter
(
'
clean'
);
final
Stopwatch
watch
=
new
Stopwatch
()..
start
();
final
List
<
String
>
options
=
<
String
>[
'aot'
,
...
...
@@ -218,7 +218,7 @@ class BuildTest {
}
static
Future
<
Map
<
String
,
dynamic
>>
_buildDebug
(
bool
previewDart2
)
async
{
await
flutter
(
'
build'
,
options:
<
String
>[
'clean'
]
);
await
flutter
(
'
clean'
);
final
Stopwatch
watch
=
new
Stopwatch
();
if
(
deviceOperatingSystem
==
DeviceOperatingSystem
.
ios
)
{
...
...
dev/devicelab/lib/tasks/size_tests.dart
View file @
2a11e896
...
...
@@ -29,7 +29,7 @@ TaskFunction createBasicMaterialAppSizeTest() {
await
inDirectory
(
sampleDir
,
()
async
{
await
flutter
(
'packages'
,
options:
<
String
>[
'get'
]);
await
flutter
(
'
build'
,
options:
<
String
>[
'clean'
]
);
await
flutter
(
'
clean'
);
if
(
deviceOperatingSystem
==
DeviceOperatingSystem
.
ios
)
{
await
prepareProvisioningCertificates
(
sampleDir
.
path
);
...
...
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