Commit Graph

28 Commits

Author SHA1 Message Date
dgrove@google.com 518b80f7c6 Continue removal of frog.
Review URL: https://chromiumcodereview.appspot.com//10854232

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10996 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-20 19:35:58 +00:00
whesse@google.com 5673b2b301 Add Path library and change test scripts, combined change.
Use Path for the filename and TestInformation.filename throughout test scripts.

Change test_suite.dart to use Path class.

Fix bug in join

Address comments.

Address comments

Address comments on Path library.

Add path library to dart:io.

BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9203 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-28 15:39:28 +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
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
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
sigmund@google.com f8db005eb2 test rename overhaul: step 12 - standalone
Review URL: https://chromiumcodereview.appspot.com//10252020

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7165 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-30 17:34:19 +00:00
sigmund@google.com 1dd7f30abc test rename overhaul: step 11 - tests/utils
Review URL: https://chromiumcodereview.appspot.com//10170040

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7117 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-28 00:16:04 +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
sigmund@google.com 64d7bc5acf test rename overhaul: step 8 - language tests
Review URL: https://chromiumcodereview.appspot.com//10248007

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7101 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-27 18:45:10 +00:00
sigmund@google.com d9eae90196 test rename overhaul: step 7 - corelib tests
Review URL: https://chromiumcodereview.appspot.com//10244009

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7096 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-27 18:06:37 +00:00
iposva@google.com d10d1d2cb3 - Add tests/lib to start testing libraries outside of core.
Review URL: https://chromiumcodereview.appspot.com//10197008

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6929 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-25 09:13:56 +00:00
asiva@google.com 29334088c1 Fix configuration check so that the test scripts runs the vm unit tests.
Review URL: https://chromiumcodereview.appspot.com//9956005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6045 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-30 16:18:41 +00:00
efortuna@google.com c8e35dbeb1 Rename test.dart component to specify compiler + runtime.
Review URL: https://chromiumcodereview.appspot.com//9838068

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5893 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-27 18:40:41 +00:00
ager@google.com 659c9a4072 By popular demand, print the configurations being tested by test.dart at startup.
This time don't print anything if the 'silent' progress is requested.

Question to be answered later: Do we actually need the JUnit tests? What do they add?

R=whesse@google.com
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5403 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-13 14:19:29 +00:00
ager@google.com 8a310c9c36 Revert "By popular demand, print the configurations being tested by test.dart at startup."
DartC is parsing all the output without using tokens. I'll have to update
their parser before I can land this.

R=whesse@google.com
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5394 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-13 12:44:12 +00:00
ager@google.com 3c2b1e0a32 By popular demand, print the configurations being tested by test.dart at startup.
R=whesse@google.com
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5393 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-13 12:34:55 +00:00
turnidge@google.com 7647d8ff7f Add the vm internal dart tests into the test suite.
Review URL: https://chromiumcodereview.appspot.com//9414032

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5113 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-07 19:43:59 +00:00
sigmund@google.com 3606f4c98e vmbot: fix vm bot config
Review URL: https://chromiumcodereview.appspot.com//9414014

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4329 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-16 18:27:05 +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
whesse@google.com e543e9901e Synchronize test-runtime.dart and test-compiler.dart with changed test.dart.
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3399 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-18 16:06:44 +00:00
whesse@google.com dfcaf76c50 Make test_wrapper.py and test_compiler.dart that will work for a deps.compiler checkout.
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3236 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-12 14:45:10 +00:00
whesse@google.com f245169804 Add --list option to tools/test.dart.
BUG=
TEST=tools/test.dart --list

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2897 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-02 13:20:51 +00:00
ager@google.com fd97081f49 Add --time option to dart test scripts.
This is useful for finding new tests that start taking a long time.

R=whesse@google.com
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2183 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-07 16:33:16 +00:00
ager@google.com 5023793165 Correctly handle the --arch argument to dart test scripts.
Support a --verbose/-v flag that prints all commands run.

R=whesse@google.com
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2169 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-07 12:48:09 +00:00
ager@google.com 2713ef1ca0 Make tools/test-runtime.dart executable.
R=sgjesse@google.com
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2073 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-05 15:00:16 +00:00
ager@google.com e2a6cd4eab Make multi tests work with DartC.
The static type error annotations
are in the multi-tests so that dartc can verify with the
--fatal-type-errors flag that they are correctly caugth.

Enqueue all tests from one configuration before moving on to the next to not start an overwhelming amount of directory listers.

Simplify the setup of dartc batch runners. Simply restart
with the right binary if there is a mismatch. With the new enqueueing switching happens at the right time and we can have as many dartc batch processors as we have cores.

R=whesse@google.com
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2018 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-02 13:46:28 +00:00
ager@google.com 3bf558018e Allow single-dash options to be specified without a space before value.
./tools/test.dart -mdebug,release

Make the patterns given to the test script more restrictive. A pattern
has to specify the test suite as the first component. The rest is used
as a pattern on all tests within that suite:

./tools/test.dart -mrelease leg co19/leg

will run the leg tests and the co19 tests that contains the substring
'leg' somewhere in the full path name of the test.

R=whesse@google.com
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2014 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-02 11:50:05 +00:00
ager@google.com d337ced66c Fork test scripts to support special runtime checkout.
Deal with a couple of other issues in tests scripts also
caused by having to support a separate runtime checkout.
Review URL: http://codereview.chromium.org//8773006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@1977 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-01 13:02:24 +00:00