Vyacheslav Egorov
4e7a31262e
Reland "Merge more Kernel infrastructure from kernel_sdk SDK fork."
...
This relands commit 2fed1c3905 with fixes to ensure that analyzer summaries are correctly created and XARM build does not try to use target binaries on the host.
R=zra@google.com
BUG=
Review URL: https://codereview.chromium.org/2453773002 .
2016-10-26 16:48:28 +02:00
Vyacheslav Egorov
cf7ff42e60
Revert "Merge more Kernel infrastructure from kernel_sdk SDK fork."
...
This reverts commit 2fed1c3905 .
SDK builds are failing
TBR=zra@google.com
Review URL: https://codereview.chromium.org/2455593002 .
2016-10-26 13:06:27 +02:00
Vyacheslav Egorov
2fed1c3905
Merge more Kernel infrastructure from kernel_sdk SDK fork.
...
- bring patched SDK generation scripts and VM patch tweaks that allow VM patch files to be parsed by analyzer front-end;
Patched SDK is an SDK with all VM patches spliced into it. Kernel compiler is based on the analyzer front-end which does
not have any patch files support/model so for it to produce Kernel files that match VM we need to generate a such patched SDKs.
- bring test script modifications that allow to test Kernel pipeline
BUG=
R=asiva@google.com , kmillikin@google.com , whesse@google.com , zra@google.com
Review URL: https://codereview.chromium.org/2434123003 .
2016-10-26 13:02:54 +02:00
Siva Annamalai
af4d246ef1
Cleanup options for use of application snapshots
...
- unified kAppAfterRun and kAppJITAfterRun to kAppJIT
- adjusted the test configuration to make dart2app and dart2appjit to mean
the same
- delete GenerateFullSnapshot function as it is not used anymore
R=rmacnak@google.com
Review URL: https://codereview.chromium.org/2429023002 .
2016-10-19 17:42:01 -07:00
Florian Schneider
b85f900cb7
test.dart: Push all required files to Android device when running AOT tests
...
Some tests have resources in sub-directories (e.g. certificates/)
Remove status file lines for tests that are now passing.
Fixes #26376,#26377.
R=rmacnak@google.com
Review URL: https://codereview.chromium.org/2434123002 .
2016-10-19 16:50:23 -07:00
Ryan Macnak
572eb0ce7a
Apparently co19 tests have their own separate annotation parsing.
...
Review URL: https://codereview.chromium.org/2419613007 .
2016-10-14 16:43:20 -07:00
Ryan Macnak
656964107b
Update AOT Android harness for single-file app snapshots.
...
R=fschneider@google.com
Review URL: https://codereview.chromium.org/2419183002 .
2016-10-14 16:23:19 -07:00
Ryan Macnak
fe04737a77
Add test directive to include other files used by a test in its compiled output directory.
...
Fixes #27591
R=fschneider@google.com
Review URL: https://codereview.chromium.org/2423593002 .
2016-10-14 16:11:25 -07:00
Ryan Macnak
3d00ecdc8f
Reapply "Use a single file for app snapshots."
...
- Don't read script to check for an app snapshot if it is a pipe. Fixes loading source from a pipe.
- Fix windows and fushsia builds.
R=asiva@google.com
Review URL: https://codereview.chromium.org/2416973003 .
2016-10-14 09:57:54 -07:00
Ryan Macnak
6839a23240
Revert "Use a single file for app snapshots."
...
This reverts commit 4f8b16df3b .
Review URL: https://codereview.chromium.org/2410303008 .
2016-10-13 15:29:23 -07:00
Ryan Macnak
4f8b16df3b
Use a single file for app snapshots.
...
For blobs, put all four pieces into a single file with a header describing their offsets.
For dynamic libraries, move the vm isolate and isolate pieces into the dynamic library as additional read-only sections.
Automatically detect if the script argument is an app snapshot and initialize the VM appropriately, similar to automatic detection of script snapshots.
R=asiva@google.com
Review URL: https://codereview.chromium.org/2405393002 .
2016-10-13 14:33:56 -07:00
John McCutchan
1937854112
Only collect 1 stack trace when a test timeouts on mac
...
BUG=
R=zra@google.com
Review URL: https://codereview.chromium.org/2383553002 .
2016-09-29 08:30:48 -07:00
John McCutchan
e434d3daab
Attempt to print the stack traces of hung test processes on MacOS.
...
/usr/bin/sample is a standard tool installed on all MacOS machines.
BUG=
R=fschneider@google.com
Review URL: https://codereview.chromium.org/2371383005 .
2016-09-28 13:39:54 -07:00
John McCutchan
74ee4ea047
Fix handling of co19 syntax error tests using the @compile-error tag and reload bots
...
BUG=
R=fschneider@google.com
Review URL: https://codereview.chromium.org/2369633002 .
2016-09-23 14:26:22 -07:00
William Hesse
92cd3e10f5
Fix test.py and tests to use an explicit --packages flag.
...
BUG=https://github.com/dart-lang/sdk/issues/27412
R=johnmccutchan@google.com
Review URL: https://codereview.chromium.org/2361813003 .
2016-09-22 17:51:09 +02:00
William Hesse
88a64b77bf
Add support for package spec to testing HttpServer.
...
BUG=https://github.com/dart-lang/sdk/issues/27065
R=terry@google.com
Review URL: https://codereview.chromium.org/2347423003 .
2016-09-19 18:43:16 +02:00
William Hesse
61eee9ee52
Use checked-in .package file for building and testing
...
Stop creating [build dir]/packages directory with symbolic links.
BUG=https://github.com/dart-lang/sdk/issues/23565
R=rnystrom@google.com
Committed: https://github.com/dart-lang/sdk/commit/5d3e356ca75be8aeff3efde5df946d746b9f8352
Review URL: https://codereview.chromium.org/1746743002 .
Reverted: https://github.com/dart-lang/sdk/commit/6d238ba197c8bda71afe790f16f6e9adaf7abd13
2016-09-16 15:03:18 +02:00
William Hesse
34b7fd39dc
Avoid error in testing script if environment is empty.
...
BUG=
R=eernst@google.com
Review URL: https://codereview.chromium.org/2344903002 .
2016-09-15 18:29:38 +02:00
Rico Wind
c1efad95c4
Remove ricow@ from failure print out
...
BUG=
R=whesse@google.com
Review URL: https://codereview.chromium.org/2346803002 .
2016-09-15 16:05:48 +02:00
William Hesse
6d238ba197
Revert "Use checked-in .package file for building and testing"
...
This reverts commit 5d3e356ca7 .
BUG=
R=eernst@google.com
Review URL: https://codereview.chromium.org/2340813004 .
2016-09-15 15:46:49 +02:00
William Hesse
5d3e356ca7
Use checked-in .package file for building and testing
...
Stop creating [build dir]/packages directory with symbolic links.
BUG=https://github.com/dart-lang/sdk/issues/23565
R=rnystrom@google.com
Review URL: https://codereview.chromium.org/1746743002 .
2016-09-15 14:50:30 +02:00
Florian Schneider
30f16437b1
test.dart: Print stack traces of all threads when a test times out
...
This helps diagnosing tests timing out when running test.py.
BUG=
R=whesse@google.com
Review URL: https://codereview.chromium.org/2320473004 .
2016-09-08 10:49:15 -07:00
Sigmund Cherem
6b3357d848
Pass the flag in test_suite. I'm not super familiar with this code, but I'm
...
copying what I see for the cps-ir flag. Turns out we were not passing the flag
when running the html tests.
BUG=
Review URL: https://codereview.chromium.org/2284793002 .
2016-08-26 10:19:49 -07:00
William Hesse
25840473a5
Add --fast-startup flag to test.py
...
BUG=https://github.com/dart-lang/sdk/issues/27085
Review URL: https://codereview.chromium.org/2281773002 .
2016-08-26 01:56:20 +02:00
William Hesse
fda21e2b9a
Add relative path to test when creating generated multitest directory
...
BUG=https://github.com/dart-lang/sdk/issues/27139
R=kustermann@google.com
Review URL: https://codereview.chromium.org/2270413002 .
2016-08-24 14:16:22 +02:00
William Hesse
523ceac525
Fix type error in test.dart script.
...
BUG=
R=eernst@google.com
Review URL: https://codereview.chromium.org/2264003002 .
2016-08-22 11:50:05 +02:00
Sigmund Cherem
2ee3b9fae6
Delete site/try
...
R=het@google.com , whesse@google.com
Review URL: https://codereview.chromium.org/2232273004 .
2016-08-15 12:14:45 -07:00
William Hesse
9b8f01f80e
Add --packages flag to test.py, to specify a package spec file.
...
BUG=https://github.com/dart-lang/sdk/issues/27063
Review URL: https://codereview.chromium.org/2240193002 .
2016-08-12 15:44:09 +02:00
Aleksei Semenov
c9081ea4df
initial support for running tests against dart analyzer in strong mode ( #27033 )
2016-08-09 10:58:15 +02:00
Siva Annamalai
9eb719b105
Fix build break.
...
Review URL: https://codereview.chromium.org/2194413002 .
2016-08-01 15:03:55 -07:00
Siva Annamalai
a794b54273
Increase test runtime timeout configuration for hot_reload tests in debug mode as we are about to add additional verification which involves iterating over the heap.
...
R=rmacnak@google.com
Review URL: https://codereview.chromium.org/2197653005 .
2016-08-01 14:37:10 -07:00
John McCutchan
9c83d24622
Add --hot-reload-rollback test mode
...
BUG=
R=rmacnak@google.com
Review URL: https://codereview.chromium.org/2200683002 .
2016-08-01 10:57:22 -07:00
Ryan Macnak
7fa49e9910
Resolve disagreement between build.py and test.py over which architectures are included in 'all'.
...
R=zra@google.com
Review URL: https://codereview.chromium.org/2162793004 .
2016-07-19 15:32:18 -07:00
John McCutchan
ef71bc1834
Improve hot reload test mode
...
- [x] Start reloading even earlier.
- [x] Keep the value of FLAG_reload_every per-isolate (so spawned isolates reload eagerly too).
- [x] Adjust the reload every back off curve to be linear in the beginning.
- [x] Cap the reload every threshold at 1,000,000
- [x] Test status file updates.
- [x] Stop disabling the background compiler / OSR when running tests.
- [x] Skip multi tests with compilation errors when reloading.
BUG=
R=rmacnak@google.com
Review URL: https://codereview.chromium.org/2133823002 .
2016-07-11 12:29:13 -07:00
John McCutchan
dc1b2bf580
Small tweaks to hot reload testing
...
- [x] Start reloading 5x sooner in test mode.
- [x] Skip mirrors tests for now.
- [x] Skip reloading tests that expect compile time errors.
BUG=
R=rmacnak@google.com
Review URL: https://codereview.chromium.org/2128923003 .
2016-07-08 06:51:21 -07:00
John McCutchan
621ce4e2fd
Add --hot-reload-test-mode flag to embedder and wire it up to test.py
...
- [x] Add --hot-reload-test-mode to standalone embedder.
- [x] Have test.py pass `--hot-reload-test-mode` instead of specific flags.
- [x] Add --reload_every_back_off flag to control exponential backof off reloads.
- [x] Add --check_reloaded flag to ensure that an isolate has reloaded at least once before exiting.
BUG=
R=rmacnak@google.com
Review URL: https://codereview.chromium.org/2118923002 .
2016-07-01 14:26:25 -07:00
Ryan Macnak
eb20b68e87
Add --hot-reload to the test harness.
...
./tools/build.py -mdebug,release runtime
./tools/test.py -mdebug,release --checked --hot-reload
BUG=http://dartbug.com/26809
R=johnmccutchan@google.com
Review URL: https://codereview.chromium.org/2114083002 .
2016-07-01 11:28:00 -07:00
William Hesse
3d9f53a4e6
Ensure short path names for generated tests on Windows, in test runner.
...
BUG=
R=sgjesse@google.com
Review URL: https://codereview.chromium.org/2104333002 .
2016-06-29 22:43:16 +02:00
Carlo Bernaschina
412c5f7bf5
Added observatory_ui tests to configuration
...
R=johnmccutchan@google.com
Review URL: https://codereview.chromium.org/2104213002 .
2016-06-29 08:39:44 -07:00
William Hesse
f3c5ec9ff1
Suppress timeouts on Windows browser bots when dart2js hangs.
...
Also run dartfmt on test_runner.dart file.
BUG=https://github.com/dart-lang/sdk/issues/26060
R=sgjesse@google.com
Review URL: https://codereview.chromium.org/2105783002 .
2016-06-28 17:23:02 +02:00
William Hesse
7e9a9804d9
Add suppression to test.dart for flaky content_shell crashes
...
BUG=https://github.com/dart-lang/sdk/issues/26739
R=kustermann@google.com
Review URL: https://codereview.chromium.org/2081173002 .
2016-06-27 14:44:11 +02:00
William Hesse
fb117bb484
Fix analyzer warnings for browser_controller.
...
BUG=
R=terry@google.com
Review URL: https://codereview.chromium.org/2069243002 .
2016-06-15 22:22:34 +02:00
William Hesse
f76236db74
Revert "Revert "Make Safari tests more robust.""
...
This reverts commit b9cdd0e1b2 .
This change should now work, because the buildbot recipes use the
renamed flag --reset-browser-configuration.
BUG=
R=ahe@google.com
Review URL: https://codereview.chromium.org/2070513002 .
2016-06-15 04:29:33 -07:00
Peter von der Ahé
b9cdd0e1b2
Revert "Make Safari tests more robust."
...
This reverts commit 199806da03 .
That commit failed because tools/bots/compiler.py is being ignored, and test.py is invoked based on recipes not included in this repository.
TBR
Review URL: https://codereview.chromium.org/2065053003 .
2016-06-15 10:39:36 +02:00
Peter von der Ahé
199806da03
Make Safari tests more robust.
...
R=whesse@google.com
Review URL: https://codereview.chromium.org/1871883002 .
2016-06-15 10:16:14 +02:00
Terry Lucas
6914b84a03
Fixed Linux bots to disable GPU otherwise process is terminated
...
R=whesse@google.com
TBR=alanknight@google.com , whesse@google.com
Review URL: https://codereview.chromium.org/2054153002 .
2016-06-13 06:34:04 -07:00
William Hesse
093672fe21
Queue standard test suites before co19
...
When running multiple test suites, queue the suites listed in
TEST_SUITE_DIRECTORIES before co19, vm tests, analyze_library, and
pkgbuild.
A re-upload of CL https://codereview.chromium.org/15565004/ from 2 years ago.
R=sgjesse@google.com
CC=kustermann@google.com
Review URL: https://codereview.chromium.org/2059153002 .
2016-06-13 13:37:34 +02:00
Zach Anderson
44796ed02d
Move Windows build output from //build to //out
...
This is needed in order to begin migration to GN because
third-party dependencies and GN boilerplate expect GN
boilerplate to be in //build.
R=asiva@google.com , whesse@google.com
Review URL: https://codereview.chromium.org/2027063003 .
2016-06-03 08:28:48 -07:00
Sigmund Cherem
d1d46593d5
Make test.dart override only those dependencies declared in the pubspec.yaml
...
file (attempt #2 ).
Differences from before:
- pull in transitive dependencies that were missing
- pass on the package-root in standalone/io/test_runner_test
BUG= http://dartbug.com/26563
R=whesse@google.com
Review URL: https://codereview.chromium.org/2019163002 .
2016-05-31 15:48:54 -07:00
Sigmund Cherem
dd7cfb2b62
Revert "Make test.dart override only those dependencies declared in the pubspec.yaml"
...
This reverts commit bcfdd3345b .
Broke standalone/io/test_runner_test, need to investigate.
BUG=
Review URL: https://codereview.chromium.org/2017093004 .
2016-05-27 17:39:17 -07:00