ricow@google.com
d7c294b4e2
Remove observatory symlink from the repository - they have unforseen issues when copying around stuff for testing.
...
Long storry short: for testing the ability to do pub get and pub build we copy in the packages and test them if they have a pubspec yaml file.
If you copy a symlink, like the one added in r38788, without -L to cp you will just get the relative symlink copied in, which will, of course, not work.
I generally think it is a bad idea to add symlinks to the repo, we have had enough issues with the ones for packages/pub
Instead, to keep the testing, add the runtime/bin/vmservice to the location of where we look for packages
R=koda@google.com
Review URL: https://codereview.chromium.org//434883002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@38983 260f80e4-7a28-3924-810f-c04153c831b5
2014-08-07 12:59:35 +00:00
whesse@google.com
75e14b393a
Test infrastructure: Avoid restarting browser app on Android twice simultaneously.
...
BUG=
R=kustermann@google.com
Review URL: https://codereview.chromium.org//442673003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@38898 260f80e4-7a28-3924-810f-c04153c831b5
2014-08-05 14:01:23 +00:00
whesse@google.com
60a9ad6c0b
Reland r37983, "Add periodic browser restart to ContentShellOnAndroid test runtime"
...
This was reverted in r38002, because it didn't seem needed. It now looks like it will make the builder more stable.
Original CL: https://codereview.chromium.org/363323002/
TBR=ricow@google.com
Review URL: https://codereview.chromium.org//439713006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@38866 260f80e4-7a28-3924-810f-c04153c831b5
2014-08-04 16:25:47 +00:00
sra@google.com
be4ebbe937
Add --dart2js-options flag to test command
...
Example:
tools/test.py ... --dart2js-options='--dump-info' ...
will run the dart2js compilation step with --dump-info
R=ricow@google.com
Review URL: https://codereview.chromium.org//435603005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@38836 260f80e4-7a28-3924-810f-c04153c831b5
2014-08-01 17:05:41 +00:00
sigmund@google.com
769782b5d4
Fix CSP mode of the polymer compiler. Turns out that inline Javascript <script>
...
tags are also not allowed (unless you have unsafe-inline). This fixes our build
to extract code for those script tags as well.
R=blois@google.com
Review URL: https://codereview.chromium.org//424213004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@38707 260f80e4-7a28-3924-810f-c04153c831b5
2014-07-29 22:11:56 +00:00
whesse@google.com
c7d5711688
Build Tools Cleanup
...
Cleans up Python Code in Build Tools
TEST: build everything and run tests
BUG: https://code.google.com/p/dart/issues/detail?id=19592
R=ricow@google.com
Review URL: https://codereview.chromium.org//350483003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@38573 260f80e4-7a28-3924-810f-c04153c831b5
2014-07-25 11:47:59 +00:00
ricow@google.com
9f85c90367
Make ie11 use a fresh window again
...
Review URL: https://codereview.chromium.org//379923002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@38088 260f80e4-7a28-3924-810f-c04153c831b5
2014-07-09 16:36:54 +00:00
ricow@google.com
53899b43a9
Add file-filter flag to polymer deploy
...
Use the filter to not copy in files from .svn directories when doing deploy
Please feel free to do this in another way and throw this away - I just want us to get moving on this.
Review URL: https://chromiumcodereview.appspot.com//372983006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@38077 260f80e4-7a28-3924-810f-c04153c831b5
2014-07-09 05:21:46 +00:00
ricow@google.com
33ed771f0a
Don't use new windows for ie11
...
R=whesse@google.com
Review URL: https://codereview.chromium.org//377493002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@38023 260f80e4-7a28-3924-810f-c04153c831b5
2014-07-07 11:10:35 +00:00
whesse@google.com
bb59b9fa85
Revert r37983, "Add periodic browser restart to ContentShellOnAndroid test runtime. Update test status for ContentShellOnAndroid."
...
This reverts CL https://codereview.chromium.org/363323002/
We found that the flaky timeouts are real renderer crashes, and this change does not seem to help. We will instead report more data on the renderer crashes.
BUG=
R=ricow@google.com
Review URL: https://codereview.chromium.org//373453002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@38002 260f80e4-7a28-3924-810f-c04153c831b5
2014-07-04 09:19:08 +00:00
whesse@google.com
419bf8df29
Add periodic browser restart to ContentShellOnAndroid test runtime. Update test status for ContentShellOnAndroid.
...
BUG=dartbug.com/19127
R=kustermann@google.com
Review URL: https://codereview.chromium.org//363323002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@37983 260f80e4-7a28-3924-810f-c04153c831b5
2014-07-03 12:59:59 +00:00
whesse@google.com
edcdb5e02d
Update co19 test suite to r737
...
R=ricow@google.com
Review URL: https://codereview.chromium.org//330633002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@37305 260f80e4-7a28-3924-810f-c04153c831b5
2014-06-13 08:15:06 +00:00
zra@google.com
e3f564fb6c
Changes for running tests on arm64 hardware.
...
R=regis@google.com
Review URL: https://codereview.chromium.org//311413002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@37046 260f80e4-7a28-3924-810f-c04153c831b5
2014-06-05 18:43:55 +00:00
sigmund@google.com
5e8288d086
Once again, seems that there are still tests failing with 59 chars. Seems that
...
is the longest we got in the bots thus far.
Review URL: https://codereview.chromium.org//300973004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@36773 260f80e4-7a28-3924-810f-c04153c831b5
2014-05-28 22:20:43 +00:00
nweiz@google.com
37a3ab9189
Code review changes for r36718.
...
R=kustermann@google.com
Review URL: https://codereview.chromium.org//303693006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@36765 260f80e4-7a28-3924-810f-c04153c831b5
2014-05-28 20:37:43 +00:00
sigmund@google.com
702986dc4b
Fix again long paths in windows - seems that we had an off by one error in this
...
check.
Review URL: https://codereview.chromium.org//307693004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@36761 260f80e4-7a28-3924-810f-c04153c831b5
2014-05-28 20:05:58 +00:00
sigmund@google.com
b8e0779330
Patch long names in polymer/e2e_test/... (updates test_suite.dart)
...
R=jmesserly@google.com , ricow@google.com
Review URL: https://codereview.chromium.org//305633003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@36755 260f80e4-7a28-3924-810f-c04153c831b5
2014-05-28 18:14:18 +00:00
nweiz@google.com
9c43b077fb
Don't run tests against pinned barback versions in third_party.
...
These packages are kept around to ensure that pub continues working
with historic barback versions, but pub's test suite handles loading
and testing against them manually. Other test suites (pkgbuild in
particular) can safely ignore them.
TBR
Review URL: https://codereview.chromium.org//306603002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@36718 260f80e4-7a28-3924-810f-c04153c831b5
2014-05-27 23:05:18 +00:00
ahe@google.com
c5a9af1d62
Send data with 404 response
...
The primary reason is to work around http://dartbug.com/19024 , but this is not a hack or temporary code.
R=ricow@google.com
Review URL: https://codereview.chromium.org//301683002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@36675 260f80e4-7a28-3924-810f-c04153c831b5
2014-05-27 13:30:49 +00:00
ricow@google.com
6da681a7f4
Add dart2js batch mode support
...
This removes an old map from runtimes to executables that is no longer needed and instead assumes a ProcessCommand that has an executable.
The added benefit of this is that it works with --use-sdk (and there are less code to maintain)
The flag to enable dart2js batch mode is temporary until we can switch the default.
When we can, this can go away and we can reuse the noBatch flag (which defaults to false)
R=whesse@google.com
Review URL: https://codereview.chromium.org//305453003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@36628 260f80e4-7a28-3924-810f-c04153c831b5
2014-05-26 11:03:03 +00:00
whesse@google.com
6fc4ef13a6
Fix logical error in r36299
...
BUG=
R=kustermann@google.com
Review URL: https://codereview.chromium.org//295603003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@36301 260f80e4-7a28-3924-810f-c04153c831b5
2014-05-19 15:01:37 +00:00
whesse@google.com
dae3c92848
test.dart: Handle checkout paths containing spaces.
...
Change TestUtils to correctly convert from a URI to a file path, and
simplify the setting of the path to the Dart checkout.
R=kustermann@google.com
Review URL: https://codereview.chromium.org//282173004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@36299 260f80e4-7a28-3924-810f-c04153c831b5
2014-05-19 14:30:26 +00:00
efortuna@google.com
cad8fc591c
Add additional case where we use the use-dart2js-libraries flag in test.dart.
...
BUG=
R=whesse@google.com
Review URL: https://codereview.chromium.org//283223003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@36224 260f80e4-7a28-3924-810f-c04153c831b5
2014-05-15 15:27:19 +00:00
efortuna@google.com
3a51e6bf88
Update test.dart to tell the analyzer to use the --use-dart2js-libraries flag when analyzing dart2js libs.
...
BUG=
R=brianwilkerson@google.com
Review URL: https://codereview.chromium.org//286883004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@36189 260f80e4-7a28-3924-810f-c04153c831b5
2014-05-14 20:34:43 +00:00
zra@google.com
2146126308
Fix bug on arm64.
...
Also increases test timeout to match simarm and simmips.
R=regis@google.com
Review URL: https://codereview.chromium.org//283833005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@36175 260f80e4-7a28-3924-810f-c04153c831b5
2014-05-14 16:56:12 +00:00
ricow@google.com
51df890220
Add missing file from revert in revision 36165
...
Review URL: https://codereview.chromium.org//272543007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@36167 260f80e4-7a28-3924-810f-c04153c831b5
2014-05-14 13:53:01 +00:00
ricow@google.com
d4c3fb063b
Revert revisions 36163 and 36162
...
Review URL: https://codereview.chromium.org//288703003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@36165 260f80e4-7a28-3924-810f-c04153c831b5
2014-05-14 13:41:58 +00:00
ricow@google.com
4872c41303
Cache output of dart2js compilations that went wrong on disk.
...
This change adds a out.js.cached_output (or equivalent) for compilations that fails.
There are two cases where this helps:
Commits where the sdk does not change and but we would normally recompile since we don't have the dart2js output
Runs on the buildbot where we do several runs on different runtimes in serial
Additionally, this introduces a check on multitest files so we don't copy the file if the content is already correct. The reason for this is that a bunch of tests depend on the copied import which will then trigger a recompilation.
This will help in the same two cases as above.
This change also changes dart2js to always output the deps file, otherwise we have no way of knowing if we can reuse the output.
R=floitsch@google.com , kustermann@google.com , whesse@google.com
Review URL: https://codereview.chromium.org//256743009
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@36162 260f80e4-7a28-3924-810f-c04153c831b5
2014-05-14 12:54:01 +00:00
ricow@google.com
6be37386e0
Add mobile safari simulator support in the testing scripts
...
R=whesse@google.com
Review URL: https://codereview.chromium.org//262763005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@35626 260f80e4-7a28-3924-810f-c04153c831b5
2014-05-01 11:32:08 +00:00
whesse@google.com
89c4738b70
Fix long co19 path names in new directory.
...
BUG=
R=ricow@google.com
Review URL: https://codereview.chromium.org//266523002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@35567 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-30 09:41:13 +00:00
ricow@google.com
9a9ca47034
Add clear_browser_cache flag to test.dart
...
This can be used by any browser implementation to flush browser specific caches if set
clear_safari_cache is left in as a synonym for now, I will remove if after I update the bots
Review URL: https://chromiumcodereview.appspot.com//252653007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@35477 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-28 09:38:31 +00:00
ricow@google.com
6886c3f350
Add default selector exclution flag to test.dart
...
This can be used like this:
tools/test.py -mrelease --exclude-suite=co19,pkg
to run the default selector tests but not run pkg and co19 tests.
Why am I doing this:
We want to keep broad testing on developer machines, but want to allow testing resources to have a better and more logic distribution on the bots, e.g., not run pkg tests on the vm bots.
R=whesse@google.com
Review URL: https://codereview.chromium.org//256703003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@35424 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-25 14:42:33 +00:00
whesse@google.com
9bb09add29
Reduce memory usage of test.dart: canonicalize Set<Expectation>
...
BUG=dartbug.com/18084
R=kustermann@google.com
Review URL: https://codereview.chromium.org//258523006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@35375 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-24 15:42:17 +00:00
whesse@google.com
afbf758380
Reduce test.dart memory usage
...
BUG=dartbug.com/18084
R=ricow@google.com
Review URL: https://codereview.chromium.org//247223009
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@35365 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-24 11:09:49 +00:00
whesse@google.com
bede5d4373
Reduce test.dart memory usage.
...
BUG=dartbug.com/18084
R=ricow@google.com
Review URL: https://codereview.chromium.org//234673003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@35313 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-23 15:07:47 +00:00
whesse@google.com
4faa800a5c
Remove obsolete "interop.js" from browser test scripts.
...
BUG=dartbug.com/17661
R=ricow@google.com
Review URL: https://codereview.chromium.org//246443005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@35248 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-22 08:00:10 +00:00
efortuna@google.com
d8a23ea25a
"Reverting 35157"
...
BUG=
R=blois@google.com
Review URL: https://codereview.chromium.org//243253002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@35211 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-21 17:51:42 +00:00
efortuna@google.com
b5ffc1968e
Fix Browser Controller to not reuse iFrames, which can sometimes cause bad state to be left between tests.
...
BUG=
R=jmesserly@google.com
Review URL: https://codereview.chromium.org//241783003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@35157 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-17 22:56:05 +00:00
paulberry@google.com
b2a55b4309
Avoid exceptions when analyzing truncated test output.
...
r34867 introduced a mechanism to truncate excessively long test
output. Since the truncation may happen in the middle of a line, we
need to be tolerant of mal-formed lines when analyzing the test
output.
R=kustermann@google.com , whesse@google.com
Review URL: https://codereview.chromium.org//236313005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@35063 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-15 15:49:36 +00:00
whesse@google.com
48b4b4550f
Reduce test.dart memory usage.
...
BUG=18084
R=kustermann@google.com
Review URL: https://codereview.chromium.org//239003002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@35058 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-15 12:50:46 +00:00
whesse@google.com
052d61b1da
Truncate excessively long output from tests in test.dart.
...
BUG=dartbug.com/18084
R=kustermann@google.com
Review URL: https://codereview.chromium.org//227113010
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34867 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-09 10:38:28 +00:00
sigmund@google.com
5c363f6831
Include PUB_CACHE when invoking build.dart too.
...
R=whesse@google.com
Review URL: https://codereview.chromium.org//229183002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34843 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-08 21:09:37 +00:00
whesse@google.com
55546df84a
Update co19 test suite to r706
...
R=kustermann@google.com
Review URL: https://codereview.chromium.org//225403020
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34826 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-08 14:48:59 +00:00
whesse@google.com
9139d46d39
test.dart: Enable shortening of shorter generated test paths on Windows.
...
BUG=
R=kustermann@google.com
Review URL: https://codereview.chromium.org//226543004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34780 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-07 15:28:47 +00:00
whesse@google.com
25c05ba8ea
test.dart: Shorten long paths for generated test files on Windows.
...
BUG=
R=kustermann@google.com
Review URL: https://codereview.chromium.org//225863004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34778 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-07 14:47:30 +00:00
whesse@google.com
8fb7ab6c74
test.dart: Add timeout for browsers that are started but do not fetch tests.
...
BUG=
R=kustermann@google.com
Review URL: https://codereview.chromium.org//218683009
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34701 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-03 12:35:22 +00:00
ricow@google.com
d3305f559c
Don't send csp flag to polymer build step
...
Filed issue 18011 to track removing unneccesary stuff from polymer pkg
R=johnniwinther@google.com
Review URL: https://codereview.chromium.org//223403004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34686 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-03 08:54:55 +00:00
zra@google.com
2fe51715e5
Begins work on ARM64, first assembler test.
...
Most new code is in constants_arm64.h and
{assembler,disassembler,simulator}_arm64.{h,cc}
The rest of the CL just #def's out tests, modifies status files,
and adds UNIMPLEMENTED functions, etc.
R=regis@google.com
Review URL: https://codereview.chromium.org//221133002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34654 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-02 17:39:32 +00:00
kustermann@google.com
e14b9b8c57
Prevent test.dart warning "TestCase would be finished twice"
...
BUG=
R=ricow@google.com , whesse@google.com
Review URL: https://codereview.chromium.org//220243011
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34638 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-02 08:04:31 +00:00
johnniwinther@google.com
cf376bee12
Deprecate automatic generation of precompiled.js.
...
RELNOTES=Deprecate automatic generation of precompiled.js from dart2js.
R=floitsch@google.com , ricow@google.com
Review URL: https://codereview.chromium.org//219053003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34637 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-02 05:59:48 +00:00