Commit Graph

1270 Commits

Author SHA1 Message Date
Zachary Anderson 80f358dede Adds targets for simarmv6 and armv6
related #25562

R=rmacnak@google.com

Review URL: https://codereview.chromium.org/1624593002 .
2016-01-22 13:07:48 -08:00
Florian Schneider f47839ba09 Rename DART_PRECOMPILED -> DART_PRECOMPILED_RUNTIME
To avoid future confusion with precompiler compiler-related macros/build targets

BUG=
R=rmacnak@google.com

Review URL: https://codereview.chromium.org/1581393008 .
2016-01-19 13:59:49 -08:00
Natalie Weizenbaum b33dcfdaad Remove the Dromaeo and TodoMVC samples.
No one was maintaining or using these, and they were stale to the point
that they were breaking pkgbuild tests because their dependencies
weren't compatible with the latest SDK.

This also removes tools/testing/perf_testing, which only tested these
two samples.

R=kevmoo@google.com

Review URL: https://codereview.chromium.org/1576153002 .
2016-01-11 13:09:26 -08:00
Natalie Weizenbaum 6f3168ad47 Fix some broken pkgbuild tests.
This brings in the latest version of http and shelf, and stops the
pkgbuild dependency override mechanism from making packages depend on
the pub package.

R=whesse@google.com

Review URL: https://codereview.chromium.org/1560513002 .
2016-01-05 13:24:12 -08:00
William Hesse 634e5a1d02 Refs #25328 Use a portable shebang
BSD systems don't place bash in /bin and a lot of the dart tools
hardcode a #!/bin/bash shebang that fails the 'all' target build
(not able to execute dart2js since the interpreter is not found).

Solve the issue by using #!/usr/bin/env as the shebang. For scripts
that need to pass arguments to bash modify the script to use the set
command as the first executed line of shell.

BUG=
R=whesse@google.com

Review URL: https://codereview.chromium.org/1552313002 .
2016-01-05 16:26:28 +01:00
William Hesse 79b6d81dd2 Move third_party/firefox_jsshell dependency to cloud storage
BUG=
R=ricow@google.com

Review URL: https://codereview.chromium.org/1544463002 .
2015-12-21 14:38:14 +01:00
Ryan Macnak 6b964b83ac Add ./tools/test.py -c precompiler -r dart_precompiled.
- Make --gen/run-precompiled-snapshot take a directory to use for the snapshot pieces.
 - Throw on Platform.executeable to prevent tests from becoming fork-bombs.
 - Update status files so 'dart_precompiled' is generally expected to behave the same as 'vm'.

Currently multitests will fail unless run with --jobs=1 because the test harness assigns them the same temporary directory.

Running this also requires a great deal of space. My out directory is 380G.

BUG=http://dartbug.com/24975
R=fschneider@google.com, srdjan@google.com

Review URL: https://codereview.chromium.org/1507943002 .
2015-12-18 12:08:10 -08:00
William Hesse 6485590527 Remove old java-based analyzer from test scripts and status files
BUG=
R=sgjesse@google.com

Review URL: https://codereview.chromium.org/1537653002 .
2015-12-17 14:44:57 +01:00
Sigmund Cherem e6f6ce9743 fix safari test
Apparently my approach to use wss didn't work to exercise the error codepath. This change makes us excersize errors. After testing this in Safari though, I coudln't reproduce the issue, so I remove the note about this being a regression test for the original issue.

Review URL: https://codereview.chromium.org/1513363003 .
2015-12-10 16:02:27 -08:00
Lasse R.H. Nielsen ed0b187d58 Add data-URI support class to dart:core (next to Uri).
R=floitsch@google.com, fschneider@google.com

Committed: https://github.com/dart-lang/sdk/commit/bbc66c2c41e61d82d6b85fdd16e2b0f1204c2a33

Review URL: https://codereview.chromium.org/1381033002 .
2015-11-12 13:02:20 +01:00
Ryan Macnak 783ed2470b Change default build and test architecture to x64.
Precompilation isn't supported on IA32 so local testing misses it.

R=srdjan@google.com

Review URL: https://codereview.chromium.org/1408783005 .
2015-10-16 10:59:08 -07:00
Ryan Macnak 5532a354c3 Add a test configuration for noopt so we can add status file entries for it.
R=srdjan@google.com

Review URL: https://codereview.chromium.org/1409543004 .
2015-10-14 12:36:39 -07:00
Rico Wind 2e22f41612 This is a fixed up version of:
https://codereview.chromium.org/1305183010/

- Reorder the priority of flags in the test harness when passed to the VM:
  default flags, file flags, command line flags
- Ensure to not enable assertions when not being requested.

Peter, any reason to not move the flags in to the
configuration file?  Why don't we actually have all of them in there? (not
that I want to move them, I am just currious why we don't add them in
there, it seems more logical to me)

BUG=
R=iposva@google.com, whesse@google.com

Committed: https://github.com/dart-lang/sdk/commit/dd7767d95eda87054844e0b24ebd2ce9b04354bb

Review URL: https://codereview.chromium.org//1330643003 .
2015-09-14 07:58:18 +02:00
Rico Wind 02320ff26e Revert "This is a fixed up version of:"
This reverts commit dd7767d95e.

This made the analyzer fail:
http://build.chromium.org/p/client.dart/builders/analyzer_experimental-linux-release-be/builds/3418/

Please note that this is just not the new test (which I would just have
suppressed)
It seems that in --checked --host-checked mode we see a range of new
failures, because of the change to flags.

It also made dart2js fail on the new tests

Ivan: Will you look into this with the analyzer people?

R=iposva@google.com
BUG=

Review URL: https://codereview.chromium.org//1308743006 .
2015-09-07 08:41:46 +02:00
Rico Wind dd7767d95e This is a fixed up version of:
https://codereview.chromium.org/1305183010/

- Reorder the priority of flags in the test harness when passed to the VM:
  default flags, file flags, command line flags
- Ensure to not enable assertions when not being requested.

Peter, any reason to not move the flags in to the
configuration file?  Why don't we actually have all of them in there? (not
that I want to move them, I am just currious why we don't add them in
there, it seems more logical to me)

BUG=
R=iposva@google.com, whesse@google.com

Review URL: https://codereview.chromium.org//1330643003 .
2015-09-07 07:44:41 +02:00
Harry Terkelsen f65c675c16 Add tests for simple packages scenarios
BUG=
R=iposva@google.com, pquitslund@google.com

Review URL: https://codereview.chromium.org//1290623002 .
2015-08-17 17:13:19 -07:00
Sigmund Cherem b273d56f0d Fix pkgbuild tests after adding a pubspec on pkg/compiler (fix #23750)
BUG=
R=whesse@google.com

Review URL: https://codereview.chromium.org//1217353002.
2015-07-01 08:19:00 -07:00
Sigmund Cherem b18c5a3e7c sdk files reorganization to make dart2js a proper package
BUG=
R=brianwilkerson@google.com, floitsch@google.com, whesse@google.com

Review URL: https://codereview.chromium.org//1212513002.
2015-06-29 10:21:14 -07:00
Johnni Winther bac7481d3d Opt-in to generate code for compile-time error. Only supported for SSA.
BUG=
R=karlklose@google.com

Review URL: https://codereview.chromium.org//1167353003
2015-06-09 14:36:38 +02:00
Rico Wind fc6b3e8a99 Remove pkg_tested from the default selector
We now pull in pub from github into pkg_tested and we don't want to run those tests by default

Also, the pub tests relies on the sdk being build, so the tests will fail if you don't explicitly specify --use-sdk to the tools/test.py invocation.

R=whesse@google.com, fschneider@google.com, rnystrom@google.com
BUG=

Review URL: https://codereview.chromium.org//1169433002

Review URL: https://codereview.chromium.org//1161003005
2015-06-03 07:37:06 +02:00
Rico Wind 6a054d5cc7 Revert "Remove pkg_tested from the default selector"
This reverts commit 9db675f734.

Need to discuss this with other people

R=fschneider@google.com,whesse@google.com,rnystrom@google.com
BUG=

Review URL: https://codereview.chromium.org//1167533005
2015-06-02 14:40:25 +02:00
Rico Wind 9db675f734 Remove pkg_tested from the default selector
We now pull in pub from github into pkg_tested and we don't want to run those tests by default

Also, the pub tests relies on the sdk being build, so the tests will fail if you don't explicitly specify --use-sdk to the tools/test.py invocation.

R=fschneider@google.com, rnystrom@google.com, whesse@google.com
BUG=

Review URL: https://codereview.chromium.org//1169433002
2015-06-02 14:31:27 +02:00
Rico Wind 415bbb9a07 Remove clear_safari_cache flag in tools/test.py
Bots have been transitioned a long time ago

R=whesse@google.com
BUG=

Review URL: https://codereview.chromium.org//1143393006
2015-06-02 11:35:12 +02:00
Natalie Weizenbaum 3d8c06c4e9 Start pulling pub from its own repo.
Pub now lives in third_party/pkg/pub (it's in pkg to make it possible to import
using "package:" imports).

R=ricow@google.com, rnystrom@google.com

Review URL: https://codereview.chromium.org//1165473002
2015-05-29 14:50:18 -07:00
Rico Wind f34fae854a Initial github commit for getting stuff working
Readd samples, samples-dev, tools/testing/bin, third_party removed by cleanup (no history, sorry)

Add DEPS file which will replace the old all.deps and standalone.deps

Add tools/deps/dartium.deps replacing the old dartium.deps (but now editable from a normal checkout)

Fixup tools/utils.py to use the new archiving schema (git count for be, version number for dev/stable

Fix codereview.settings
2015-05-16 15:41:58 +02:00
kevmoo@google.com 84526cf02c ignore the downloaded test bins
R=ricow@google.com

Review URL: https://codereview.chromium.org//1133843005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@45767 260f80e4-7a28-3924-810f-c04153c831b5
2015-05-13 17:11:20 +00:00
ricow@google.com 568a551386 Fix test_suite.dart
Missing semicolon

TBR=kustermann@google.com
BUG=

Review URL: https://codereview.chromium.org//1127423002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@45590 260f80e4-7a28-3924-810f-c04153c831b5
2015-05-07 12:50:05 +00:00
ricow@google.com e92f697236 Remove dart2dart support from testing scripts and status files
I will leave it to the dart2js people to remove the support from the dart2js tools (there is also a bunch of comments still in code, do a git grep)

R=kustermann@google.com, floitsch@google.com, kmillikin@google.com
BUG=

Review URL: https://codereview.chromium.org//1126363003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@45588 260f80e4-7a28-3924-810f-c04153c831b5
2015-05-07 11:29:55 +00:00
ricow@google.com bf512c6b32 Don't list pkg/third_party when finding packages
R=kevmoo@google.com
BUG=

Review URL: https://codereview.chromium.org//1108763005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@45431 260f80e4-7a28-3924-810f-c04153c831b5
2015-04-27 20:11:42 +00:00
karlklose@google.com 7058fdfe5b Use --use-cps-ir compiler option in the test script to run dart2js with the new backend.
R=ricow@google.com

Review URL: https://codereview.chromium.org//1064053005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@45205 260f80e4-7a28-3924-810f-c04153c831b5
2015-04-16 11:25:11 +00:00
ricow@google.com 8d4af95d99 Don't report firefox crash reports
This disables firefox crash reporting (which will show a pop up dialog)

R=whesse@google.com
BUG=

Review URL: https://codereview.chromium.org//1027093004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@45202 260f80e4-7a28-3924-810f-c04153c831b5
2015-04-16 11:17:12 +00:00
zra@google.com 86bfd7cb30 Adds a simarmv5te build and test target.
Also:
- Removes command line flags to choose simulated arm version.
  I think we should use build targets instead, like in this change,
  to make building and testing more obvious.
- Skips pkg tests on all simulators.

R=regis@google.com, ricow@google.com

Review URL: https://codereview.chromium.org//1077823002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@45181 260f80e4-7a28-3924-810f-c04153c831b5
2015-04-15 20:44:43 +00:00
ricow@google.com 8f302fbf34 Add a --cps-ir flag to the testing script to allow us to run with the new cps based backend in dart2js
R=whesse@google.com, karlklose@google.com
BUG=

Review URL: https://codereview.chromium.org//1085803002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@45136 260f80e4-7a28-3924-810f-c04153c831b5
2015-04-14 12:33:46 +00:00
johnmccutchan@google.com 647c355f8c Relocate service library tests and hookup a working status file
BUG=

Review URL: https://codereview.chromium.org//1071363002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@45043 260f80e4-7a28-3924-810f-c04153c831b5
2015-04-09 22:57:59 +00:00
johnmccutchan@google.com cef8aa3a34 Enable observatory tests by default
BUG=
R=turnidge@google.com

Review URL: https://codereview.chromium.org//1075013002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@45039 260f80e4-7a28-3924-810f-c04153c831b5
2015-04-09 21:43:28 +00:00
zra@google.com f6028da01d Fixes bug in typed data read/write for floats and doubles.
When reading from a byte array as floats or doubles, perform the
endianness correction before converting to a float or double
rather than the other way around. This is to avoid floating
point canonicalization changing the bytes before we put them
in the right order.

Unrelatedly, this change also adds armv5te as an architecture
needing extra time for tests to correct an oversight in my
last CL.

R=iposva@google.com

Review URL: https://codereview.chromium.org//1059493002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@44871 260f80e4-7a28-3924-810f-c04153c831b5
2015-04-02 20:22:39 +00:00
zra@google.com 34044a4ca8 Adds armv5 build and test target.
R=regis@google.com

Review URL: https://codereview.chromium.org//1043263002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@44828 260f80e4-7a28-3924-810f-c04153c831b5
2015-03-31 23:11:33 +00:00
turnidge@google.com 57bf6c53a1 Turn off observatory tests.
BUG=

Review URL: https://codereview.chromium.org//1042523003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@44753 260f80e4-7a28-3924-810f-c04153c831b5
2015-03-27 18:41:30 +00:00
turnidge@google.com caea4d0ce2 Turn on observatory tests
BUG=

Review URL: https://codereview.chromium.org//1036383002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@44747 260f80e4-7a28-3924-810f-c04153c831b5
2015-03-27 17:38:59 +00:00
turnidge@google.com b577beaafc Turn off observatory tests
BUG=
R=johnmccutchan@google.com

Review URL: https://codereview.chromium.org//1038913005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@44716 260f80e4-7a28-3924-810f-c04153c831b5
2015-03-26 18:16:04 +00:00
turnidge@google.com 4ac382e0d4 Make sure Observatory tests run for each commit. Fix broken tests.
BUG=
R=johnmccutchan@google.com

Review URL: https://codereview.chromium.org//1031393003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@44714 260f80e4-7a28-3924-810f-c04153c831b5
2015-03-26 17:35:48 +00:00
rmacnak@google.com fbc6b005a4 Support percent encoded data URIs in the standalone embedder.
BUG=
R=iposva@google.com

Review URL: https://codereview.chromium.org//1028453002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@44609 260f80e4-7a28-3924-810f-c04153c831b5
2015-03-20 20:11:53 +00:00
lrn@google.com 2b908ad153 Change Multitest files to preserve line numbers.
Instead of omitting multi-test parts that is not part of the current file,
an empty line is inserted instead.

Also move the "generated file, don't edit" warning line to the end of the file.

R=whesse@google.com

Review URL: https://codereview.chromium.org//1026693002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@44604 260f80e4-7a28-3924-810f-c04153c831b5
2015-03-20 13:34:43 +00:00
floitsch@google.com fea7ca3d16 dart2js: fix csp mode when minifying.
R=ricow@google.com

Review URL: https://codereview.chromium.org//1000043003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@44453 260f80e4-7a28-3924-810f-c04153c831b5
2015-03-13 10:01:58 +00:00
ricow@google.com 5172de7370 Change testing script notification line kustermann->whesse
BUG=
R=whesse@google.com

Review URL: https://codereview.chromium.org//991223002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@44366 260f80e4-7a28-3924-810f-c04153c831b5
2015-03-10 12:04:51 +00:00
whesse@google.com 5ef44eeb0a Fix new HTML test type when using dart2dart compiler.
BUG=http://dartbug.com/16603
R=ricow@google.com

Review URL: https://codereview.chromium.org//977383002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@44281 260f80e4-7a28-3924-810f-c04153c831b5
2015-03-06 09:44:19 +00:00
kevmoo@google.com 3f2addecd7 fix status_reporter
R=ricow@google.com

Review URL: https://codereview.chromium.org//974973002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@44186 260f80e4-7a28-3924-810f-c04153c831b5
2015-03-03 18:08:26 +00:00
kevmoo@google.com 6041043793 Add a --simple flag to status_reporter to allow a fast build covering important configurations
R=ricow@google.com

Review URL: https://codereview.chromium.org//948113003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@44087 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-27 12:08:40 +00:00
ricow@google.com f39e0b392a Move dart_style to third_party/pkg_tested
Start testing packages in third_party/pkg_tested

R=rnystrom@google.com

Review URL: https://codereview.chromium.org//955413004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@44064 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-26 18:12:48 +00:00
ricow@google.com d6e6b50a64 Allow uri in deepJsonCompare
R=sgjesse@google.com, whesse@google.com
BUG=

Review URL: https://codereview.chromium.org//957253002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@44043 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-26 09:29:30 +00:00