98 Commits

Author SHA1 Message Date
Brandon DeRosier
a5adf663ce Make run_tests.py suppressions flag fail with a clear error on unsupported platforms (flutter/engine#28235) 2021-08-20 14:48:30 -07:00
Anthony
50adf078fd [Re-land] Add SPIR-V FragmentShader API to painting.dart (flutter/engine#28208)
[Re-land] Add SPIR-V FragmentShader API to painting.dart

- Add a SPIR-V FragmentShader interface in painting.dart
- Create end to end pixel tests for ops supported by the SPIR-V to SkSL transpiler
- The end to end tests also test the c++ fragment shader implementation

Co-authored-by: Christopher Crawford <chriscraws@gmail.com>
2021-08-20 11:24:14 -04:00
Zachary Anderson
e3f282c563 Revert "Add SPIR-V FragmentShader API to painting.dart (#26996)" (flutter/engine#28202)
This reverts commit 1b518619357cc1666a9fca183c9766d1ece16d0f.
2021-08-19 12:38:10 -07:00
Emmanuel Garcia
1a9e4c4ff3 Bump Android version and add more info to create_sdk_cipd_package.sh (flutter/engine#27413) 2021-08-18 18:22:02 -07:00
Anthony
1b51861935 Add SPIR-V FragmentShader API to painting.dart (flutter/engine#26996)
Add SPIR-V FragmentShader API to painting.dart
2021-08-18 12:58:25 -04:00
Brandon DeRosier
792f013ddb Use the suppressions script to source runtime suppressions in run_tests.py (flutter/engine#28140) 2021-08-17 14:34:24 -07:00
Brandon DeRosier
0d81592d40 Add asan flag to run_tests.py (flutter/engine#28082) 2021-08-13 14:26:19 -07:00
Emmanuel Garcia
604089b0fd Provide Open JDK 11 (flutter/engine#27942) 2021-08-11 12:34:11 -07:00
Jason Simmons
5126dfe55e Python 3 compatibility fix for running Java tests using run_tests.py (flutter/engine#27970)
(Note that LUCI is currently still running this script using Python 2)
2021-08-11 11:00:57 -07:00
Jenn Magder
b5409c0989 Allow iOS unit tests to run on Xcode 13 (flutter/engine#27850) 2021-08-02 14:25:02 -07:00
Chris Bracken
8803824c64 Migrate all Python hashbangs to Python 3 (flutter/engine#27838)
Migrates all `#!/usr/bin/env python` hashbang lines to use python3.

Also updates the licence tool to treat python3 scripts on par with
python 2 scripts.

Issue: https://github.com/flutter/flutter/issues/83043
2021-07-31 11:09:12 -07:00
Jason Simmons
497e812a04 Add a run_tests flag that captures core dumps from engine unit tests and runs a GDB script (flutter/engine#27742) 2021-07-29 23:09:04 -07:00
eggfly
a869375cd7 Re-enable fml_unittests (flutter/engine#27664) 2021-07-26 09:38:01 -07:00
George Wright
868320cb91 Update test scripts for coverage (flutter/engine#27659) 2021-07-23 13:13:34 -07:00
gaaclarke
61d6663a04 Added a test filter for objc tests (flutter/engine#27566) 2021-07-19 19:51:01 -07:00
Zachary Anderson
ac95dbd5bc Build testing/dart snapshots with GN instead of in run_tests.py (flutter/engine#27292) 2021-07-09 14:27:48 -07:00
Zachary Anderson
778fcfff51 Fix host_release tests for prebuilt Dart SDK (flutter/engine#27284) 2021-07-09 11:58:57 -07:00
Dan Field
8ab4d95ea5 Partial reland for VM tests (flutter/engine#27069) 2021-06-30 10:54:50 -07:00
Dan Field
81388c9511 Revert "--sound-null-safety instead of enable-experiment where possible (#26999)" (flutter/engine#27059)
This reverts commit a34de4830b50728b589903abfe69a7d809967b73.
2021-06-29 21:36:07 -07:00
Dan Field
a34de4830b --sound-null-safety instead of enable-experiment where possible (flutter/engine#26999) 2021-06-29 15:36:03 -07:00
Jason Simmons
663678b9de Use unstripped executables when running tests on Linux (flutter/engine#26921) 2021-06-29 07:31:02 -07:00
Zachary Anderson
39f533c8b8 Make ci/lint.dart more idiomatic and move to tools/clang_tidy (flutter/engine#26722) 2021-06-22 20:36:01 -07:00
Zachary Anderson
23cb015a33 Add pre-push git hook (flutter/engine#26699) 2021-06-20 16:12:53 -07:00
godofredoc
fe04881df4 Remove gn. ninja commands from test runner. (flutter/engine#26822)
* Remove gn. ninja commands from test runner.

* Fix formatting issues.

* Remove trailing space.

* Initialize command variable.
2021-06-18 17:18:11 -07:00
godofredoc
f7ececee99 Revert "Remove autoninja calls from the analyze script. (#26752)" (flutter/engine#26812)
This reverts commit 0f363535ba38fb4faed1a17bd9ab8636be258ef4.
2021-06-17 14:56:15 -07:00
godofredoc
0f363535ba Remove autoninja calls from the analyze script. (flutter/engine#26752)
* Remove autoninja calls from the analyze script.

Calling autoninja from this script is preventing the roll of new depot
tools that requires autoninja to run from inside a goma context.

Bug: https://github.com/flutter/flutter/issues/84618

* Also remove gn commands.

* Comment the gn/ninja commands to build java tests.

* Remove the ninja command.

* Remove steps to build host_debug from tests.

* Assert folder exists.

* Remove outdated code.

* Fix path joining instructions.
2021-06-17 14:26:37 -07:00
Zachary Anderson
cd45fc09ea Make litetest throw on test failure instead of exit() (flutter/engine#26462) 2021-05-27 18:03:50 -07:00
Alexander Aprelev
67abe0b333 Reland "Provide better messaging when user attempts to use non-secure http connection. (#26226)" (flutter/engine#26400)
This reverts commit 6b463d837e120c70fc3c5dbf4535e19bbba5d228 as dart sdk with corresponding changes has landed in internal repo.
2021-05-25 09:08:23 -07:00
Alexander Aprelev
6b463d837e Revert "Provide better messaging when user attempts to use non-secure http connection. (#26226)" (flutter/engine#26371)
This reverts commit fbd8d578c659d0fd5c4bc268b2c95ca275187bd3 because it breaks g3 Fuchsia tests since g3 fuchsia doesn't have updated dart sdk.
2021-05-24 11:13:37 -07:00
Alexander Aprelev
fbd8d578c6 Provide better messaging when user attempts to use non-secure http connection. (flutter/engine#26226)
* Provide better message when user attempts to use non-secure http connection.

Co-authored-by: Zachary Anderson <zanderso@users.noreply.github.com>
2021-05-21 10:46:25 -07:00
Zachary Anderson
ac61a5fea8 Clean up testing/benchmark (flutter/engine#26313) 2021-05-21 09:49:05 -07:00
Zachary Anderson
740a85e9f0 Adds package:litetest, uses it instead of package:test under testing/dart (flutter/engine#26215) 2021-05-19 23:08:23 -07:00
Chinmay Garde
e9527be661 Ensure stdout and stderr from failed test runs are reported from run_tests.py. (flutter/engine#25758) 2021-04-24 19:29:01 -07:00
Dan Field
ea35899927 Provide a stub platform view embedder for tester to avoid emitting errors (flutter/engine#25661) 2021-04-21 13:04:01 -07:00
Dan Field
446b6a6a61 Support SKP captures in flutter_tester (flutter/engine#25566) 2021-04-14 09:39:01 -07:00
Tong Mu
640ad94161 ci: Print output in case of compile error (flutter/engine#23522)
* Print compile error

* Better comment

* Update run_tests.py
2021-01-19 23:04:53 -08:00
chunhtai
ec2eb68f80 Apply local patch to chromium accessibility code (flutter/engine#23110) 2021-01-06 17:39:02 -08:00
Greg Spencer
f485eaf7a1 Enable delayed event delivery for macOS (flutter/engine#21231)
This enables delayed event delivery for macOS, so that shortcuts can handle keys that are headed for a text field and intercept them. This fixes the problem where pressing TAB (or other shortcuts) in a text field also inserts a tab character into the text field.
2020-12-11 15:21:39 -08:00
Andy Weiss
ebdd79df0d [embedder][glfw] Add support for locales to glfw shell (flutter/engine#22657)
The other linux shell (and all the other embedding) have support for
getting the locales from the system and sending them over the
flutter/localization channel. The glfw shell does not have that which is
causing a crash on an assert now that Locale is no longer nullable
in Platform.

This adds a similar approach to what is going on over in the other linux
shell.
2020-11-24 14:23:12 -08:00
stuartmorgan
79b158833b Add initial settings message to Windows embedding (flutter/engine#22323)
Sends the flutter/settings update message to the engine after starting
it. For now values other than 24-hour time preference are hard-coded,
but dark mode support can be added later.

Fixes https://github.com/flutter/flutter/issues/65590
2020-11-23 15:58:45 -08:00
Daco Harkes
b6c5eff614 WeakPersistentHandle migration (flutter/engine#19843)
and roll Dart to 52783837369de45d3372cb6c6b7cdd63e71cd829.
2020-11-03 13:06:53 +01:00
stuartmorgan
ff1528235d Add a proc table version of embedder API (flutter/engine#21813) 2020-10-29 13:13:03 -07:00
Kaushik Iska
6104a7e793 [macOS] flutter_desktop_darwin_unittests can be enabled for all runtime modes (flutter/engine#21681) 2020-10-08 10:12:03 -07:00
Kaushik Iska
6db42cf2a9 Run desktop darwin tests in debug mode (flutter/engine#21660) 2020-10-07 16:32:01 -07:00
Dan Field
f83e92cbaf Use hint freed specifically for image disposal (flutter/engine#20754)
* Use hint freed specifically for image disposal
2020-09-02 13:41:58 -07:00
Chris Bracken
d42e2f004c Extract Dart test utilities library (flutter/engine#20874)
This extracts a Dart test utilities library, containing
`expectAssertion` and `expectArgumentError` functions that simplify
running tests that test assertions across debug, profile, and release
configurations.

This change also restricts Dart unit tests to testing files whose
filename matches `*_test.dart` under `flutter/testing/dart`; previously
any file in that directory was run, but all files matched the above
pattern.
2020-08-30 11:07:05 -07:00
Gary Qian
489c453c46 Update to android 30r2 and roll buildroot (flutter/engine#20479) 2020-08-17 16:33:48 -07:00
Dan Field
4d8aaaa337 Make sure ios tests fail if they fail (flutter/engine#20518)
* Make sure ios tests fail if they fail

* explain
2020-08-14 10:11:37 -07:00
xster
5ac78f5be6 Refactor initial route code take 2 (flutter/engine#20468) 2020-08-13 14:18:11 -07:00
gaaclarke
232d6c4fca Revert "Refactor initial route code (#19684)" (flutter/engine#20450)
This reverts commit 21404b56c6c183a829d9c758bec2330155e2d86d.
2020-08-12 12:43:08 -07:00