Ricardo Amador
2e9905afab
Update infrastructure python code to be compatible with python 2 and python 3 ( flutter/engine#39133 )
...
* Compatibility with python2 and python3
* Formatting
* Updated to use a function instead of decoding bytes in multiple places.
* Formatting and whitespace cleanup.
* Fix import statement.
* Linter change for docstring.
* Formatting.
* Remove function from run_tests.py since it is a pain to import.
* Add todo message for python 2 deprecation.
* Updated copyright year.
2023-01-26 16:04:31 +00:00
Chinmay Garde
a35e55cf9a
[Impeller] Disable impeller_unittests. ( flutter/engine#38307 )
...
Fixes https://github.com/flutter/flutter/issues/114872
Followup in https://github.com/flutter/flutter/issues/117122
2022-12-15 02:27:17 +00:00
Zachary Anderson
9896c5f66d
pylint all Python scripts under testing/ ( flutter/engine#38268 )
2022-12-14 16:23:16 +00:00
Zachary Anderson
6a6203c77e
Pylint testing/run_tests.py ( flutter/engine#38016 )
2022-12-09 09:14:48 -08:00
Christopher Fujino
62dc88c192
extend const_finder to allow skipping particular classes ( flutter/engine#37257 )
...
* wip
* extend const_finder_test to compile web dills
* add test
* add back tests, including non-const for web
* update run_tests.py
* fix whitespace
* clean up test file
* add new options to cli
* use annotation rather than explicit deny list
* clean up
* Apply suggestions from code review
Co-authored-by: Zachary Anderson <zanderso@users.noreply.github.com>
* clean up
* code review
Co-authored-by: Zachary Anderson <zanderso@users.noreply.github.com>
2022-11-11 23:38:03 +00:00
Jonah Williams
6641536611
use shader utils for JSON test ( flutter/engine#37176 )
2022-10-31 17:42:58 +00:00
Jonah Williams
4a72fe9fae
[Impeller] add supprt for JSON output mode ( flutter/engine#37123 )
2022-10-29 16:38:16 +00:00
Dan Field
248aca72c6
[Impeller] Set resourceOptions/storageMode on MTLTextures created from MTLBuffers. ( flutter/engine#37073 )
2022-10-28 06:35:21 +00:00
Kaushik Iska
83489bd574
[Impeller] Add a shard for Impeller Vulkan testing ( flutter/engine#36965 )
2022-10-25 19:29:44 +00:00
Dan Field
cb5d746c25
[Impeller] Add polyline benchmark with lots of cubics and quads. ( flutter/engine#36731 )
2022-10-13 18:31:04 +00:00
ColdPaleLight
cbda16b4b4
Create benchmarks for DisplayListBuilder ( flutter/engine#34910 )
2022-07-29 18:56:02 +00:00
Márk Tolmács
c85e3529b1
Fix tests on the Windows platform ( flutter/engine#34350 )
...
Addresses https://github.com/flutter/flutter/issues/36301
2022-07-11 11:01:05 -07:00
Dan Field
6dd8d32f31
Expose SkPathOps in a standalone library. ( flutter/engine#34267 )
2022-07-11 10:11:03 -07:00
Zachary Anderson
3c6820dc68
Move embedder_a11y_unittests to its own binary ( flutter/engine#34377 )
2022-06-29 12:38:26 -07:00
Dan Field
f7163f555c
Roll SwiftShader, ANGLE, use SwANGLE in test harnesses ( flutter/engine#33814 )
...
Roll Swiftshader, ANGLE, and Vulkan deps.
Updates license bot for new locations of licenses and new files
in roll.
Converts unit test harnesses to use SwANGLE, which is the
supported way of using SwiftShader as a software backend for GLES.
Updates goldens due to swiftshader changes.
Fixes up include paths to avoid directly including third_party
code by that name, which is unlikely to work in other build
environments.
Includes upstream patches to ANGLE and SwiftShader to build in our
windows environments, as well as patches to Skia to support
defining the location of VulkanMemoryAllocator and a patch to ANGLE
to support opting into a newer version of VMA.
2022-06-23 16:43:39 -07:00
Emmanuel Garcia
135a1c8e56
Handle SurfaceView in a VirtualDisplay ( flutter/engine#33599 )
2022-06-22 19:39:05 -07:00
Jonah Williams
a184d04005
cleanup fractional translation ifdefs and config ( flutter/engine#34198 )
2022-06-22 09:00:57 -07:00
jensjoha
f316b56ce7
Fix dot package references ( flutter/engine#34174 )
...
Don't use .packages -> use .dart_tool/package_config.json
2022-06-21 08:17:18 +02:00
Jenn Magder
7f68c203f9
Create iOS simulator before running IosUnitTests ( flutter/engine#33906 )
2022-06-09 15:38:05 -07:00
Dan Field
45633ced2a
Purge resources on rasterizer teardown ( flutter/engine#33890 )
2022-06-08 16:58:04 -07:00
Zachary Anderson
1790d5a019
Adds a python formatter ( flutter/engine#33797 )
...
* Adds a python formatter
* Apply format
2022-06-03 13:00:14 -07:00
Zachary Anderson
ba64d1e1b5
Run some unit tests in parallel ( flutter/engine#33603 )
2022-05-26 20:14:06 -07:00
Zachary Anderson
5d5c396ec0
Run run_tests.py Dart tests in parallel ( flutter/engine#33619 )
2022-05-26 14:44:09 -07:00
Emmanuel Garcia
5ce95c21d7
Fix scenario tests on Android ( flutter/engine#33360 )
2022-05-20 12:38:05 -07:00
Jonah Williams
815195114e
allow flutter tester to disable font loading from asset bundle ( flutter/engine#33323 )
2022-05-13 15:04:06 -07:00
Jonah Williams
a4895a7315
compile a flutter tester with SUPPORT_FRACTIONAL_TRANSLATION and raster cache disabled ( flutter/engine#33272 )
2022-05-12 12:49:04 -07:00
Jonah Williams
8aef5df7b1
Add support for loading asset directly from ImmutableBuffer ( flutter/engine#32999 )
2022-05-10 19:39:04 -07:00
Tong Mu
e6f56a53ff
[Linux] Make unit tests abort on critical errors, and fix two such errors ( flutter/engine#32348 )
2022-04-28 15:24:05 -07:00
Jim Graham
0e92250c2a
Display list test executables ( flutter/engine#32973 )
2022-04-27 17:04:07 -07:00
Chris Bracken
92e109f579
Add API consistency test ( flutter/engine#32408 )
2022-04-07 15:26:04 -07:00
gaaclarke
9b0587193e
added dart plugin registrant test executables to run_tests.py ( flutter/engine#31726 )
2022-02-28 19:51:57 -08:00
godofredoc
65ca495690
Skip font-tests for host_profile variants. ( flutter/engine#31515 )
...
font-tests are not built by default in the host_profile variant. The
test was working properly because all the variants were being built
sequentially in the same host. With the separation of builds and tests
every variant is built in a separate host and host_profile does not have
access to font-tests built by host_debug.
Bug: https://github.com/flutter/flutter/issues/98642
2022-02-17 09:13:52 -08:00
Chris Bracken
81c662ef3d
Enable a11y unittests on Windows ( flutter/engine#31387 )
...
This enables accessibility unittests on Windows as part of our CI testing.
It also corrects two unit tests which were fixed by
https://github.com/flutter/engine/pull/29773 , which fixed
https://github.com/flutter/flutter/issues/78460 .
Finally it disables an AXFragmentRoot test that times out. We don't use
AXFragmentRoot in Flutter as it's only used with UI Automation APIs,
which Flutter does not use (we use MSAA).
Issue: https://github.com/flutter/flutter/issues/98225
2022-02-12 12:51:01 -08:00
Zachary Anderson
fd6043f0de
Adds impeller_unittests to run_tests.py ( flutter/engine#31280 )
2022-02-07 18:05:56 -08:00
Emmanuel Garcia
6d8f65e672
Parallelize Android unit tests ( flutter/engine#30728 )
2022-02-04 16:15:09 -08:00
Daco Harkes
3f08ba3ad1
Migrate run_tests.py to dart pub get ( flutter/engine#31181 )
2022-02-01 23:12:27 -08:00
eggfly
dae2e15222
Add more info for --type in run_tests.py and add android into all type ( flutter/engine#30458 )
2021-12-28 09:29:10 -08:00
Jenn Magder
cb6cd0a3e8
Update IosUnitTests to use iPhone 11 simulator ( flutter/engine#30090 )
2021-12-03 10:49:02 -08:00
Clement Skau
9d35daaffd
[test] Fixes testing/run_tests.py py3 support. ( flutter/engine#29611 )
2021-11-10 09:02:45 +01:00
Chris Bracken
5fea3a3568
Re-enable embedder tests on Windows ( flutter/engine#29624 )
...
Issue: https://github.com/flutter/flutter/issues/36294
2021-11-09 13:41:59 -08:00
Chris Yang
b7e0926db9
ios test script checks for ios_test_flutter artifacts ( flutter/engine#29554 )
2021-11-05 14:43:01 -07:00
Dan Field
293ef51fc6
Reland Android systrace ( flutter/engine#29080 )
...
* Reland "Use the systrace recorder if systracing is enabled at startup, and enable systracing in release mode on Android (#28903 )" (#29071 )"
This reverts commit a7660964b41f64991369341364a43c93317a4a51.
* More logcat
* more logs
* Remove wait
* Avoid plugin registrar exception
* DEFAULT instead of LAUNCHER
* use am instead of monkey
* Update android_systrace_test.py
2021-10-08 15:55:50 -07:00
Zachary Anderson
a7660964b4
Revert "Use the systrace recorder if systracing is enabled at startup, and enable systracing in release mode on Android ( #28903 )" ( flutter/engine#29071 )
...
This reverts commit 79063b3c6105c3cf8be757ed6d31dd9a055060d9.
2021-10-07 22:08:10 -07:00
Dan Field
79063b3c61
Use the systrace recorder if systracing is enabled at startup, and enable systracing in release mode on Android ( flutter/engine#28903 )
2021-10-07 15:59:46 -07:00
gaaclarke
bde0f38b61
made it so you can specify which adb to use for android tests ( flutter/engine#28975 )
2021-09-30 16:37:24 -07:00
gaaclarke
fb483ee0d6
made android unit tests not require the host engine variant to exist ( flutter/engine#28925 )
2021-09-29 10:07:33 -07:00
gaaclarke
452b0bd2f9
added unit tests for the android embedder that run on android devices ( flutter/engine#28784 )
2021-09-28 14:02:18 -07:00
Zachary Anderson
75c1fbccc7
Don't use Dart's application_snapshot() rule ( flutter/engine#28361 )
2021-09-16 13:37:01 -07:00
Jason Simmons
a00125e2e4
Run the Android Robolectric tests using Gradle ( flutter/engine#28084 )
2021-08-25 09:11:02 -07:00
Brandon DeRosier
bb11686888
Symbolize ASan traces when using run_tests.py ( flutter/engine#28274 )
...
* Configure ASan to symbolize on linux
* Supply ASAN_SYMBOLIZER_PATH when running tests, fix problem with line stripping in run_tests
2021-08-23 16:43:01 -07:00