Commit Graph

1865 Commits

Author SHA1 Message Date
efortuna@google.com 34c061e29e Reduce flakiness of browser tests.
Review URL: https://chromiumcodereview.appspot.com//9361040

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4044 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-08 18:08:13 +00:00
zundel@google.com 1172e2bf77 Remove implicit --optimize from testing dartc component in release mode
Review URL: https://chromiumcodereview.appspot.com//9362013

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4040 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-08 16:17:05 +00:00
whesse@google.com 9f27aa3a69 Remove unused support files for old version of tools/test.py.
BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com//9360017

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4033 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-08 14:11:42 +00:00
efortuna@google.com 0fbaf61a8d Add frog build target on Windows and change frogium and webdriver components to use frog instead of frogsh.
Review URL: https://chromiumcodereview.appspot.com//9350022

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4006 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-07 20:48:14 +00:00
whesse@google.com db48b7504d Make test.dart exit with an error message when a selector is repeated.
BUG=dart:1565
TEST=tools/test.dart standalone/File standalone/Directory

Review URL: https://chromiumcodereview.appspot.com//9348015

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3992 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-07 12:56:31 +00:00
ahe@google.com 35fcd5e429 Also increase timeout for leg-debug
Review URL: https://chromiumcodereview.appspot.com//9332001

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3951 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-06 16:19:41 +00:00
ahe@google.com bb39ff705f Increase timeout limit in frog-debug
Review URL: https://chromiumcodereview.appspot.com//9328043

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3950 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-06 16:12:55 +00:00
ahe@google.com 533aebd06d @dynamic-type-error are no longer negative tests
BUG=http://code.google.com/p/dart/issues/detail?id=1550

Review URL: https://chromiumcodereview.appspot.com//9310118

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3932 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-06 11:26:15 +00:00
ahe@google.com 2c9093125d Run co19 language tests on leg.
Review URL: https://chromiumcodereview.appspot.com//9325033

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3928 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-05 13:35:04 +00:00
ahe@google.com da2bec0dfc Remove "complex matching" from co19.
Review URL: https://chromiumcodereview.appspot.com//9325024

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3896 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-03 13:27:21 +00:00
whesse@google.com 79b646bb2a In test.dart, don't check that the shell or compiler executable exists if we are just listing tests.
BUG=
TEST=tools/test.dart --list

Review URL: https://chromiumcodereview.appspot.com//9317077

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3894 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-03 13:12:29 +00:00
whesse@google.com e7860a4f33 Change output of test.dart --list option, so it can be parsed automatically.
The framework that lets shared tests be run in Eclipse uses the output of this command, and this framework is tested when running test.dart --component=dartc dartc/junit_tests.

BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com//9315036

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3891 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-03 12:19:20 +00:00
whesse@google.com 8cf7a30c9e Move test.dart's check for missing test directories from co19 to general framework.
BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com//9320038

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3886 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-03 09:47:00 +00:00
efortuna@google.com acb397ad92 Fixing Windows buildbot exception.
Review URL: https://chromiumcodereview.appspot.com//9317060

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3872 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-02 20:52:32 +00:00
efortuna@google.com 7f85b28ff6 Fix windows performance tests.
Review URL: https://chromiumcodereview.appspot.com//9325002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3865 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-02 19:15:31 +00:00
antonm@google.com d65a7bd3eb Support passing DartVM flags via DART_FLAGS.
Review URL: https://chromiumcodereview.appspot.com//9320037

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3847 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-02 15:04:27 +00:00
efortuna@google.com 1e734076dc Get Firefox on Windows running.
Review URL: https://chromiumcodereview.appspot.com//9314047

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3811 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-01 21:24:52 +00:00
ager@google.com 9a6f6b8210 Fix VM test suite after path changes.
R=whesse@google.com
BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com//9314032

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3787 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-01 13:18:08 +00:00
whesse@google.com 2f3266f20a Fix test.dart on dartc client compilation tests.
BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com//9317030

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3784 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-01 12:37:32 +00:00
whesse@google.com 03700e60e5 Make test.dart use the path of the running script to find the Dart checkout.
This could be tools/test.dart, tools/test-runtime.dart, or tools/test-compiler.dart.

BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com//9302034

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3782 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-01 12:10:24 +00:00
dgrove@google.com f45724122a Fix a few remaining issues from moving swarm.
Review URL: http://codereview.chromium.org//9310010

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3759 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-31 22:56:47 +00:00
whesse@google.com 0fc415a002 Add flag to tools/test.dart. Add utils test suite to list of default suites.
Optional --drt= flag specifies non-standard location of DumpRenderTree for browser tests.

BUG=
TEST=tools/test.dart -cdartium --drt=client/tests/drt/DumpRenderTree

Review URL: https://chromiumcodereview.appspot.com//9159064

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3728 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-31 14:10:53 +00:00
ahe@google.com 26d232679d Create a URI class in utils/ (based on client/util/).
Review URL: https://chromiumcodereview.appspot.com//9295043

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3722 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-31 12:11:10 +00:00
efortuna@google.com 95498e8e50 Prevent browser windows from staying open.
Review URL: https://chromiumcodereview.appspot.com//9303019

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3705 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-31 01:47:41 +00:00
efortuna@google.com 5a44035961 Changing to recommended way to fix console.log in IE by Kasper.
Plus some updates to the test.stats files for IE results.
Review URL: https://chromiumcodereview.appspot.com//9302012

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3704 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-31 00:51:43 +00:00
vsm@google.com 9f963fb24e Refactoring to migrate layout tests over.
I'll rename layout tests to end in Test.dart as I migrate them over.

Review URL: https://chromiumcodereview.appspot.com//9297032

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3674 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-27 23:30:08 +00:00
efortuna@google.com 825ee40c58 Add closing paren.
TBR=sigmund@google.com,
Review URL: https://chromiumcodereview.appspot.com//9232062

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3670 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-27 21:35:37 +00:00
efortuna@google.com 9f58ccf764 Fix dartc tests, and second half of r3585 for Windows.
TBR=sigmund@google.com,
Review URL: https://chromiumcodereview.appspot.com//9298028

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3669 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-27 21:29:34 +00:00
efortuna@google.com 02c2b89f37 Resubmitting first half of r3585 from issue http://chromiumcodereview.appspot.com/9146049/
This previously broke dartc tests.
Review URL: https://chromiumcodereview.appspot.com//9234078

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3665 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-27 20:46:53 +00:00
efortuna@google.com c4aea9a397 Add doctype to test html boilerplate so that IE 9 does not go into quirks mode.
Review URL: https://chromiumcodereview.appspot.com//9271083

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3663 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-27 19:20:49 +00:00
efortuna@google.com e16df64b9d Wrote a daily update script.
Review URL: https://chromiumcodereview.appspot.com//9235046

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3623 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-26 19:26:09 +00:00
efortuna@google.com a84c69a064 Reverting r3585. Unclear how this broke dartc...
TBR=sigmund@google.com,
Review URL: https://chromiumcodereview.appspot.com//9290006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3588 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-25 02:45:41 +00:00
efortuna@google.com 0d150af08d More fixes for test.dart to run browser tests on Windows!
Review URL: https://chromiumcodereview.appspot.com//9146049

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3585 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-25 00:57:09 +00:00
ager@google.com 4efd1f98fa Split dart:builtin into dart:builtin and dart:io.
- dart:builtin is implicitly imported.
- dart:io has to be explicitly imported.

I will update the macos and windows stable test binaries when we
are happy with the solution.

R=iposva@google.com
BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com//9254026

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3537 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-24 07:36:59 +00:00
efortuna@google.com c8e620d663 Fix frogsh + Windows + test.dart take 2
Review URL: https://chromiumcodereview.appspot.com//9117010

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3522 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-23 23:34:13 +00:00
sigmund@google.com 036f2cdbd3 Revert "Make changes to test.dart and frogsh for Windows."
Review URL: https://chromiumcodereview.appspot.com//9193021

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3510 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-23 19:59:06 +00:00
efortuna@google.com 9bd7f7722f Make changes to test.dart and frogsh for Windows.
This should enable frogsh to build correctly and function properly on Windows. 
test.dart is waiting on a fix in the VM before it will be fully ready.
Review URL: https://chromiumcodereview.appspot.com//9233015

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3506 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-23 19:09:32 +00:00
efortuna@google.com f3a51018d0 Update browser testing readme.
TBR=sigmund@google.com,
Review URL: https://chromiumcodereview.appspot.com//9272003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3478 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-22 01:05:25 +00:00
iposva@google.com 0e36a463f6 Address comment from https://chromiumcodereview.appspot.com/9150027:
- Add an _ between mode and arch in test configuration.
Review URL: https://chromiumcodereview.appspot.com//9150035

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3438 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-19 17:12:31 +00:00
whesse@google.com ca63b5de74 Add configuration information to test.dart output.
BUG=dart:1168
TEST=

Review URL: https://chromiumcodereview.appspot.com//9150027

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3431 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-19 12:37:41 +00:00
whesse@google.com 202d43e713 Test.dart will wait for the temporary directory to be deleted before exiting.
BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com//9195006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3429 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-19 10:21:20 +00:00
vsm@google.com dbf9aaea7f Do not set checked mode unconditionally for Dartium
It should get picked up based on whether --checked is passed in.  This should get the bot green(er).

TBR=sigmund

Review URL: https://chromiumcodereview.appspot.com//9232033

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3421 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-19 00:28:10 +00:00
whesse@google.com d500436f9c Fix test.dart on Windows: change all backslashes to slashes eagerly.
BUG=dart:1206
TEST=

Review URL: https://chromiumcodereview.appspot.com//9250009

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3400 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-18 16:24:01 +00:00
whesse@google.com 7eb6b33a01 Add temporary directory for dartc compilation of tests.
This subdirectory of the system temp directory is deleted after tests are run.
This CL also unifies finding of the top-level dart checkout directory.

BUG=dart:1167
TEST=tools/test.dart -cdartc,chromium

Review URL: https://chromiumcodereview.appspot.com//9240011

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3397 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-18 15:37:44 +00:00
efortuna@google.com 4ecc520173 Make changes for Safari to run with webdriver on the bots.
Review URL: https://chromiumcodereview.appspot.com//9252002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3382 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-18 02:22:10 +00:00
efortuna@google.com 14d6a24393 Fix test.dart to have the same behavior as test.py for --frog and --froglib.
(Fixing Issue 1046)
Review URL: https://chromiumcodereview.appspot.com//9178022

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3366 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-17 18:37:17 +00:00
ager@google.com b01e8121b9 Tiny style and comment fixes to test_suite.dart.
R=whesse@google.com
BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com//9244004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3354 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-17 13:09:13 +00:00
whesse@google.com c220130314 Add summary of failures to end of test.dart output.
BUG=
TEST=

Review URL: http://codereview.chromium.org//9234002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3336 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-16 12:31:50 +00:00
efortuna@google.com 9fa0180cc1 Get Firefox and IE working again with Object.defineProperty!
Review URL: http://codereview.chromium.org//9214005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3312 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-13 22:28:50 +00:00
whesse@google.com ffc864b671 Fix test.dart multitest generated_test directory on Windows.
Also revert debugging change r3242.

BUG=
TEST=cd runtime; ../tools/testing/bin/windows/dart.exe ../tools/test.dart -component=vm

Review URL: http://codereview.chromium.org//9162005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3292 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-13 14:35:41 +00:00