ricow@google.com
a9c0550da9
Revert revision 13230
...
Review URL: https://codereview.chromium.org//11066014
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13231 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-04 13:44:44 +00:00
ricow@google.com
d8c04e8444
Add firefox jsshell support in testing scripts.
...
Additionally, introduce a new jscl key in the configuration for less verbose status file section headers (i.e., $jscl instead of ($runtime == d8 || $runtime == jsshell)
This also adds support for setting environment variables in a command.
Review URL: https://codereview.chromium.org//11028023
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13230 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-04 13:24:29 +00:00
ager@google.com
c4c4b7f08c
Add in-process http server to the dart test scripts.
...
Removed support for extra commands. Change pkg/intl test to use
builtin http server.
Fixed regression in test runner so the test script terminates when
passing in an unknown selector.
BUG=
Review URL: https://codereview.chromium.org//11035027
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13217 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-04 10:43:48 +00:00
ager@google.com
ffe5b29eed
Minor fixes to test.dart.
...
Fix some switches, remove interfaces, and add 'incomplete' to
the TestOutput abstract class.
R=ricow@google.com ,whesse@google.com
BUG=
Review URL: https://codereview.chromium.org//11047013
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13169 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-03 10:47:05 +00:00
ricow@google.com
f17ea5191c
Update the semantics of the 'special-command' flag given to the test script.
...
This gives the suffix as arguments to the existing executable, not as a suffix to the whole command.
Review URL: https://codereview.chromium.org//11019012
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13100 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-02 05:38:56 +00:00
ager@google.com
0f53862f55
Change run_vm_tests to take the VM arguments before the test name so
...
it acts more like the standalone VM. That way the test scripts can
uniformly pass extra arguments to the cctest runner and to the VM
itself.
The use case for this is that it is nice to be able to add extra
vm flags to all tests using the --special-commands flag for the
test runner:
./tools/test.py --special-commands='time @ --vm-flag'
This will turn cc tests into:
time run_vm_tests --vm-flag Selector
and VM tests into:
time dart --vm-flag my_test.dart
R=ricow@google.com ,asiva@google.com
BUG=
Review URL: https://codereview.chromium.org//11018014
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13067 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-01 14:04:26 +00:00
ahe@google.com
48a59514f3
Add progress indicator for co19 updating.
...
Review URL: https://codereview.chromium.org//11000049
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13008 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-28 12:13:50 +00:00
ahe@google.com
c88380cb8c
Remove stale co19 entries.
...
Review URL: https://codereview.chromium.org//10981064
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12997 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-28 08:52:31 +00:00
ahe@google.com
1c518f6169
Separate compile-time and runtime errors.
...
Review URL: https://codereview.chromium.org//10977054
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12964 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-27 14:31:05 +00:00
ahe@google.com
684c93a740
Rename a variable to fix build breakage
...
Review URL: https://codereview.chromium.org//10990080
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12943 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-27 07:44:19 +00:00
ahe@google.com
e13c0b1c7d
Always fail if a process failed to launch.
...
This reveals a problem with the implementation of extra commands, which is also fixed.
Review URL: https://codereview.chromium.org//10993048
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12942 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-27 07:39:40 +00:00
ahe@google.com
a14563d93e
Use typedefs in test.dart.
...
Review URL: https://codereview.chromium.org//10986047
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12908 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-26 13:33:11 +00:00
ager@google.com
7977b42215
Update all occurrences of raw strings.
...
R=hausner@google.com ,kasperl@google.com
BUG=
Review URL: https://codereview.chromium.org//10977027
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12893 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-26 06:01:23 +00:00
ahe@google.com
3a4d55f209
Create a wrapper around test.dart for running co19 tests.
...
Review URL: https://codereview.chromium.org//10973009
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12775 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-24 12:52:53 +00:00
ahe@google.com
d6ca10a62e
Update co19 to r343.
...
Review URL: https://codereview.chromium.org//10972007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12774 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-24 12:37:43 +00:00
ahe@google.com
034a66d17f
Parameterize 'new Options().script'.
...
Review URL: https://codereview.chromium.org//10970060
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12763 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-24 09:41:53 +00:00
ahe@google.com
8332173392
Use semicolon, not comma.
...
Review URL: https://codereview.chromium.org//10956066
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12761 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-24 08:51:22 +00:00
ahe@google.com
f5083a4db7
Use the VM under test, not the prebuilt binary
...
Review URL: https://codereview.chromium.org//10965060
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12760 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-24 08:31:32 +00:00
gram@google.com
eb2a0fc533
Eliminate some of the flakiness in testing:
...
- errors in test_controller.js get posted to the Dart configs
- Dart configs will receive these and set uncaughtError
- Selenium driver will output the full HTML body, not just up to the first script tag (else the errors above could be lost).
Review URL: https://codereview.chromium.org//10968040
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12735 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-21 20:21:32 +00:00
whesse@google.com
2722230b81
Fix dart/tools directory to remove @'raw string' and foo.dynamic.
...
BUG=
Review URL: https://codereview.chromium.org//10908239
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12698 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-21 12:53:08 +00:00
alanknight@google.com
eac6195680
Be sure to use absolute paths in intl web server tests
...
Review URL: https://codereview.chromium.org//10961034
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12666 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-21 00:08:23 +00:00
alanknight@google.com
907c7ea083
Read locales over http in the browser
...
Review URL: https://codereview.chromium.org//10959002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12664 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-20 23:27:56 +00:00
antonm@google.com
b26899502d
Store status for dart2dart tests in a separate file.
...
R=ahe@google.com ,smok@google.com
Review URL: https://codereview.chromium.org//10947034
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12571 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-19 16:16:37 +00:00
johnniwinther@google.com
5bb04a5069
MSVS output to /build/ dir.
...
Review URL: https://codereview.chromium.org//10933125
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12471 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-18 07:48:26 +00:00
lrn@google.com
99749ca619
This reapplies the change to remove "dynamic" from Object.
...
TBR=kasperl@google.com
Review URL: https://codereview.chromium.org//10908291
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12449 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-17 19:14:49 +00:00
lrn@google.com
54d6cbda76
Revert "Remove Object.dynamic."
...
Some test expectations were missing.
TBR=kasperl@google.com
Review URL: https://codereview.chromium.org//10933122
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12433 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-17 12:10:29 +00:00
lrn@google.com
9cc07e2f3f
Remove Object.dynamic.
...
Review URL: https://codereview.chromium.org//10914286
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12432 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-17 12:00:44 +00:00
ngeoffray@google.com
bef1d105d2
Avoid timeouts in dart2js/release/checked.
...
Review URL: https://codereview.chromium.org//10909264
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12428 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-17 10:17:49 +00:00
efortuna@google.com
9163dfe93c
revert 1204. Will investigate when I get a chance.
...
TBR=rnystrom
Review URL: https://codereview.chromium.org//10928216
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12413 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-15 01:21:41 +00:00
rnystrom@google.com
383488ec4f
Update unittest to new package layout.
...
Review URL: https://codereview.chromium.org//10917275
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12404 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-14 21:12:17 +00:00
rnystrom@google.com
659a57df3e
Revert "Make unittest follow the new package layout."
...
This reverts commit 38f7d16f373832a7bf889192af7845cb602aec01.
Review URL: https://codereview.chromium.org//10911318
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12400 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-14 19:43:10 +00:00
rnystrom@google.com
2ba81033a6
Make unittest follow the new package layout.
...
Review URL: https://codereview.chromium.org//10918240
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12396 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-14 18:22:24 +00:00
efortuna@google.com
5778a6896f
Improve selenium RC failure message.
...
Review URL: https://codereview.chromium.org//10907222
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12357 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-13 22:10:42 +00:00
ahe@google.com
97fd568d65
Require wrapping for Firefox/Windows
...
Review URL: https://chromiumcodereview.appspot.com//10914250
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12298 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-13 05:02:05 +00:00
ahe@google.com
722e7ce28d
Add --step_name option to test.dart.
...
Review URL: https://chromiumcodereview.appspot.com//10905208
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12296 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-13 04:19:11 +00:00
ahe@google.com
952ebb3a50
Enable wrapper-less browser tests on selenium.
...
Also fix bug 4631.
Review URL: https://chromiumcodereview.appspot.com//10916259
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12295 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-13 04:14:47 +00:00
whesse@google.com
6160cad059
Print error output from DumpRenderTree updater in test.dart.
...
BUG=dart:4157
Review URL: https://chromiumcodereview.appspot.com//10911205
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12195 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-11 13:24:24 +00:00
ahe@google.com
d1cb4358a2
Run dart2js tests unmodified in drt.
...
Review URL: https://chromiumcodereview.appspot.com//10918168
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12182 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-11 11:16:21 +00:00
ahe@google.com
0e4bf23853
Revert "Run dart2js tests unmodified in browser."
...
This reverts r12164, r12166, r12167, and r12169.
Review URL: https://chromiumcodereview.appspot.com//10914197
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12170 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-11 09:05:52 +00:00
ahe@google.com
7d55ed7fdf
Run dart2js tests unmodified in browser.
...
Review URL: https://chromiumcodereview.appspot.com//10919098
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12159 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-11 07:00:24 +00:00
antonm@google.com
a1770a8bbd
Sync .gitignore with the corresponding svn properties.
...
R=ahe@google.com
Review URL: https://chromiumcodereview.appspot.com//10914176
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12122 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-10 15:44:25 +00:00
efortuna@google.com
31cf5d5c24
Always turn on auto-updating on firefox for browser tests.
...
Review URL: https://chromiumcodereview.appspot.com//10909131
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12081 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-07 23:49:32 +00:00
dgrove@google.com
2561dd7544
Remove frogpad, as it's unused.
...
Review URL: https://chromiumcodereview.appspot.com//10919138
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11996 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-06 22:20:44 +00:00
efortuna@google.com
f916eec374
Additional run_perf_tests.py tweaks.
...
Review URL: https://chromiumcodereview.appspot.com//10914115
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11995 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-06 22:13:31 +00:00
ahe@google.com
87a9716d82
Update co19 to r328.
...
Review URL: https://chromiumcodereview.appspot.com//10915121
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11952 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-06 14:18:21 +00:00
ahe@google.com
753f0563e4
Tool for identifying stale co19 status lines.
...
Review URL: https://chromiumcodereview.appspot.com//10918095
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11922 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-06 07:41:49 +00:00
bak@google.com
5782b0beba
- Removed named constructor Stopwatch.start() due to conflict with instance methods start().
...
This change reduces errors reported by dart_analyser when cheking corelib.
- Change comment format in newissues.dart.
Review URL: https://chromiumcodereview.appspot.com//10908066
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11801 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-04 10:56:29 +00:00
aprelev@gmail.com
680cb56d8c
Fixed dartc test/build setup, so test can run on Windows. Might be related to dart:2623
...
BUG=dart:2623
TEST=run "tools\test.py -mrelease -cdartc -rnone" on windows and observe all test pass.
Review URL: https://chromiumcodereview.appspot.com//10872106
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11674 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-31 04:19:09 +00:00
efortuna@google.com
b0750b8cad
Set svn properties to ignore .vcproj files in the tree.
...
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11669 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-30 23:22:32 +00:00
whesse@google.com
61d20e42f9
Use new syntax for getters in test.dart and its libraries.
...
BUG=
Review URL: https://chromiumcodereview.appspot.com//10920003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11616 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-30 14:16:05 +00:00