Commit Graph

1865 Commits

Author SHA1 Message Date
ahe@google.com ec723484c6 Handle native paths in test wrappers.
Review URL: https://chromiumcodereview.appspot.com//10447060

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8041 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-29 09:15:28 +00:00
ngeoffray@google.com 3c29a44d83 Add a browser configuration to avoid repeating (runtime == 'ff' || runtime == 'ie' || ...).
Review URL: https://chromiumcodereview.appspot.com//10451062

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8035 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-29 07:39:36 +00:00
efortuna@google.com c2c8e28e2d Fix typo in webdriver test setup script.
Review URL: https://chromiumcodereview.appspot.com//10443036

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8023 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-26 01:27:38 +00:00
vsm@google.com cb9abc9a4f Suppress dart:dom version of Dromaeo for Dartium
Review URL: https://chromiumcodereview.appspot.com//10441011

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7950 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-24 15:41:37 +00:00
whesse@google.com 820b8e5672 Fix bug in refactoring of string concatenations in test code.
BUG=
TEST=test.py --compiler=dartc --runtime=none dartc/junit

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7898 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-23 09:15:46 +00:00
whesse@google.com a4e88c8b3e Remove string concatenation with + from all Dart files in tools directory.
Fix whitespace errors and rename shadowed variable in ddbg.dart.

BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7897 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-23 08:51:38 +00:00
vsm@google.com 6de0884cb0 Run dart2js compiled Dromaeo on Chrome
Review URL: https://chromiumcodereview.appspot.com//10408075

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7883 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-22 23:05:16 +00:00
vsm@google.com 120b4c94e0 Generate dart2js versions of Dromaeo
Note, this only generates dart2js versions and enables running them in the browser.  Before enabling dart2js in the perf script, I need to debug it.  The dart2js tests currently hang.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7875 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-22 20:13:59 +00:00
efortuna@google.com 2b98dbf338 Deal with different chromedrivers running on for Chrome and Dartium.
Review URL: https://chromiumcodereview.appspot.com//10417025

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7861 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-22 17:07:53 +00:00
whesse@google.com a7ccbaf9ba Remove string concatenation using + from test_suite.dart. Simplify output directory recursive directory creation, removing a TODO.
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7845 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-22 11:15:08 +00:00
whesse@google.com dbd1d5b33d Remove system-provided temporary directory usage from test scripts.
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7783 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-21 08:00:47 +00:00
hausner@google.com 048b8bde32 More String + elimination in tests
Worst offender was standalone test suite
Review URL: https://chromiumcodereview.appspot.com//10414002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7762 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-18 21:03:59 +00:00
sigmund@google.com a19e8bb1fe test.dart: include _dart2js.status when creating test suites with 'forDirectory'
this will allow dart2js to split their status files to reduce their conflicts.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7663 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-15 17:11:40 +00:00
whesse@google.com b46a7bc2f7 Report total time for multiphase tests, in test script's --test option, not time of last phase.
BUG=
TEST=test.py --time

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7607 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-14 13:03:34 +00:00
ager@google.com 0a181379c7 Fix dartc part of test scripts.
R=sgjesse@google.com
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7531 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-11 06:19:28 +00:00
ager@google.com 5fb75d3952 Change dart:io to use Future for one-shot operations.
This appears to be what a lot of our users are doing and it is the
style used in our other libraries.

Noteworthy changes:

- File and Directory objects are now immutable.

- Directory.list returns an active lister object.

- Write operations on files return futures and the
  onNoPendingWrites handler is gone. The same
  functionality is there by using 'then' on the
  future returned from the last write operation.

- Process starting is now done with static methods:
  -- Process.start yields an InteractiveProcess.
  -- Process.run yields a Future<ProcessResult>

BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7529 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-11 06:09:42 +00:00
efortuna@google.com f46f19e0ff Fix dealing with incomplete files as the first set of files encountered.
Review URL: https://chromiumcodereview.appspot.com//10391037

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7477 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-09 23:21:52 +00:00
efortuna@google.com c8f1b44423 Store files locally in a different location after they've been posted.
Review URL: https://chromiumcodereview.appspot.com//10383053

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7424 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-08 16:53:39 +00:00
mattsh@google.com 3ee233c155 updated legpad with new DART2JS_LIBRARY_MAP
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7417 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-08 15:06:05 +00:00
ngeoffray@google.com 4e3f5102f9 Start implementing checked mode and tools support for using it.
Review URL: https://chromiumcodereview.appspot.com//10353014

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7375 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-07 13:18:21 +00:00
efortuna@google.com dd900032c4 Make change to actually upload to app engine.
Review URL: https://chromiumcodereview.appspot.com//10360004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7296 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-03 18:23:06 +00:00
ager@google.com e6b2635059 Change Platform members to getters instead of methods.
R=sgjesse@google.com
BUG=dartbug.com/1668
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7282 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-03 13:16:33 +00:00
sigmund@google.com 8369d0ad46 reenable some dartc tests that have been disabled accidentally. Move
client/dartc/ to samples/dartc/.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7262 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-02 22:55:51 +00:00
efortuna@google.com ea407c8a0f Add uploading to appengine code back in.
Review URL: https://chromiumcodereview.appspot.com//10340006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7259 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-02 22:31:13 +00:00
sigmund@google.com e14efee078 fix vm test configuration to specify vm/cc
Review URL: https://chromiumcodereview.appspot.com//10335002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7254 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-02 20:35:01 +00:00
sigmund@google.com 5b8ad6bfab test rename overhaul: step 14 - vm tests
Review URL: https://chromiumcodereview.appspot.com//10271014

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7245 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-02 16:46:16 +00:00
ahe@google.com e98525d2ba dart2js_developer is not in the SDK.
Review URL: https://chromiumcodereview.appspot.com//10304008

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7232 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-02 12:13:28 +00:00
ahe@google.com c4c5443e6b Shoehorn dart2js into the SDK.
Review URL: https://chromiumcodereview.appspot.com//10266011

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7230 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-02 11:48:06 +00:00
vsm@google.com bf779d8e33 Suppress get_drt/dartium download if an executable is provided via flag
Note, the Dartium win bot was hanging (I believe timing out) at this
point running the webdriver test even though it was providing its own
binary.  I had commented out the webdriver test - this CL should
enable it to work again.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7194 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-01 16:34:51 +00:00
efortuna@google.com 94c7096faf Skip crashing test on Chrome in Windows.
Review URL: https://chromiumcodereview.appspot.com//10267016

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7171 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-30 23:08:05 +00:00
efortuna@google.com 6c8c8ff71d Change "VM" for DromaeoSize.
Review URL: https://chromiumcodereview.appspot.com//10270026

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7170 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-30 22:01:58 +00:00
sigmund@google.com 45efebba9a test rename overhaul: step 10 - crypto tests, and add back other tests commited
recently, but just before the rename overhaul.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7115 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-28 00:12:28 +00:00
efortuna@google.com a74e2b4f11 Improve posting format for size tests.
Review URL: https://chromiumcodereview.appspot.com//10252017

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7110 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-27 23:03:41 +00:00
mattsh@google.com b7e61d5ede fix legpad example to use new dart2js bash script
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7102 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-27 19:07:38 +00:00
efortuna@google.com 421d36c5e2 Don't run Dartium on JS perf tests.
Review URL: https://chromiumcodereview.appspot.com//10238013

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7098 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-27 18:40:06 +00:00
sigmund@google.com 6dbe08da0a test rename overhaul: step 9 - minor fix for client tests.
Review URL: https://chromiumcodereview.appspot.com//10254010

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7091 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-27 17:18:06 +00:00
sigmund@google.com d6c2cca796 test rename overhaul: step 6 - isolate tests
Review URL: https://chromiumcodereview.appspot.com//10247004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7088 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-27 17:06:51 +00:00
efortuna@google.com f79e1bcd2d Fix webdriver_test_setup script for installing with correct permissions on nonWindows machines.
Review URL: https://chromiumcodereview.appspot.com//10239011

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7034 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-26 18:11:33 +00:00
sigmund@google.com 50256eecf8 test.dart: print suite name in browser tests
Review URL: https://chromiumcodereview.appspot.com//10227016

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7028 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-26 16:52:11 +00:00
ahe@google.com 85bcb1124f Address review comments from CL 10151014.
Review URL: https://chromiumcodereview.appspot.com//10228003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7016 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-26 14:23:15 +00:00
ager@google.com acbb5eef57 Add 'lib' test suite to default tests.
R=ricow@google.com
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7014 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-26 12:38:02 +00:00
whesse@google.com dcaf164bce Fix summary report count of tests run by test.dart when tests are run on a browser.
BUG=dart:2726
TEST=test.py with browser != none, suite == frog.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7007 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-26 11:09:58 +00:00
whesse@google.com 7a31ae82e2 Cancel timout in test_runner.dart if RunningProcess transfers control to BatchRunnerProcess
BUG=dart:2726
TEST=test.py with compiler: frog, runtime: chrome mode: release, system: win7,

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6996 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-26 09:11:09 +00:00
whesse@google.com cd29ee3fad Add handler for Process.onError in test_runner.dart.
The handler prints informaion, and does nothing.  This reproduces the current behavior with no handler, and is a first step to handling this error correctly.

BUG=dart:2726
TEST=tools/test.dart (Selenium and Browser tests?)

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6990 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-26 07:33:36 +00:00
sigmund@google.com f1d72ac4f9 rename _tests.dart to _test.dart
Review URL: https://chromiumcodereview.appspot.com//10154010

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6984 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-26 00:23:45 +00:00
efortuna@google.com 20bb8812d4 Get get_drt working on Windows, take 2.
Review URL: https://chromiumcodereview.appspot.com//10134070

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6983 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-25 23:29:33 +00:00
sigmund@google.com cb8056e881 (second try) unittest steps 3, 4: removes TestFramework.dart
Review URL: https://chromiumcodereview.appspot.com//10222013

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6980 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-25 22:31:04 +00:00
efortuna@google.com 69b93479c7 Revert r6969.
Review URL: https://chromiumcodereview.appspot.com//10191026

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6976 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-25 21:26:25 +00:00
efortuna@google.com d8d0e0e317 Make get_drt.py work in Windows.
Review URL: https://chromiumcodereview.appspot.com//10224006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6969 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-25 19:44:00 +00:00
sigmund@google.com a7e7679286 Revert "unittest step 3 and 4: remove TestFramework.dart, make test.dart use"
Review URL: https://chromiumcodereview.appspot.com//10226008

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6968 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-25 19:42:26 +00:00