Remove old java-based analyzer from test scripts and status files

BUG=
R=sgjesse@google.com

Review URL: https://codereview.chromium.org/1537653002 .
This commit is contained in:
William Hesse 2015-12-17 14:44:57 +01:00
parent 07a5d7d814
commit 6485590527
19 changed files with 55 additions and 1115 deletions

View file

@ -122,7 +122,7 @@ typed_data/test/typed_buffers_test/none: Fail # Issue 17607 (I put this here e
# Unexplained errors only occuring on Safari 6.1 and earlier.
typed_data/test/typed_buffers_test: RuntimeError
[ $compiler == dartanalyzer || $compiler == dart2analyzer ]
[ $compiler == dart2analyzer ]
compiler/samples/compile_loop/compile_loop: CompileTimeError # Issue 16524
lookup_map/test/version_check_test: StaticWarning # https://github.com/dart-lang/http_parser/issues/6
lookup_map/test/lookup_map_test: StaticWarning # https://github.com/dart-lang/http_parser/issues/6

View file

@ -15,7 +15,7 @@ evaluate_activation_test/scope: RuntimeError # http://dartbug.com/20047
*: SkipByDesign
# Tests with known analyzer issues
[ $compiler == dartanalyzer || $compiler == dart2analyzer ]
[ $compiler == dart2analyzer ]
developer_extension_test: SkipByDesign
[ $arch == arm ]

View file

@ -53,7 +53,7 @@ dart/optimized_stacktrace_test: RuntimeError
# minifying they can be renamed, which is issue 7953.
dart/inline_stack_frame_test: RuntimeError, Pass # Issue 7953
[ $compiler == dart2js || $compiler == dartanalyzer || $compiler == dart2analyzer ]
[ $compiler == dart2js || $compiler == dart2analyzer ]
# Data uri's not supported by dart2js or the analyzer.
dart/data_uri*test: Skip
@ -70,7 +70,7 @@ cc/Int8ListLengthMaxElements: Skip # Issue 23536, uses 1 GB memory.
[ $arch == mips && $mode == debug ]
cc/FindCodeObject: Skip # Takes more than 8 minutes. Issue 17440
[ $compiler == dartanalyzer || $compiler == dart2analyzer ]
[ $compiler == dart2analyzer ]
dart/optimized_stacktrace_test: StaticWarning
[ $runtime != vm ]

View file

@ -31,8 +31,8 @@ swarm/test/swarm_test: Fail # Issue 4517
[ $compiler == dart2analyzer ]
swarm/test/swarm_test: StaticWarning
swarm/test/swarm_ui_lib/layout/layout_test: StaticWarning
swarm/test/swarm_ui_lib/observable/observable_test: StaticWarning
swarm/test/swarm_ui_lib/layout/layout_test: StaticWarning
swarm/test/swarm_ui_lib/observable/observable_test: StaticWarning
swarm/test/swarm_ui_lib/touch/touch_test: StaticWarning
swarm/test/swarm_ui_lib/util/util_test: StaticWarning
swarm/test/swarm_ui_lib/view/view_test: StaticWarning

View file

@ -1,68 +0,0 @@
#!/bin/bash
# Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
# for details. All rights reserved. Use of this source code is governed by a
# BSD-style license that can be found in the LICENSE file.
# This file is used to execute the analyzer by running the jar file.
# It is a simple wrapper enabling us to have simpler command lines in
# the testing infrastructure.
set -e
FOUND_BATCH=0
for ARG in "$@"
do
case $ARG in
-batch|--batch)
FOUND_BATCH=1
;;
*)
;;
esac
done
function follow_links() {
file="$1"
while [ -h "$file" ]; do
# On Mac OS, readlink -f doesn't work.
file="$(readlink "$file")"
done
echo "$file"
}
# Unlike $0, $BASH_SOURCE points to the absolute path of this file.
PROG_NAME="$(follow_links "$BASH_SOURCE")"
# Handle the case where dart-sdk/bin has been symlinked to.
BIN_DIR="$(cd "${PROG_NAME%/*}" ; pwd -P)"
SDK_DIR="$(cd "${BIN_DIR}/.." ; pwd -P)"
if [ -z "$DART_CONFIGURATION" ];
then
DART_CONFIGURATION="ReleaseIA32"
fi
if [ `uname` == 'Darwin' ];
then
JAR_DIR="$BIN_DIR"/../../xcodebuild/$DART_CONFIGURATION/dartanalyzer
else
JAR_DIR="$BIN_DIR"/../../out/$DART_CONFIGURATION/dartanalyzer
fi
JAR_FILE="$JAR_DIR/dartanalyzer.jar"
EXTRA_JVMARGS="-Xss2M "
OS=`uname | tr "[A-Z]" "[a-z]"`
if [ "$OS" == "darwin" ] ; then
# Bump up the heap on Mac VMs, some of which default to 128M or less.
EXTRA_JVMARGS+=" -Xmx512M -client "
else
# On other architectures
# -batch invocations will do better with a server vm
# invocations for analyzing a single file do better with a client vm
if [ $FOUND_BATCH -eq 0 ] ; then
EXTRA_JVMARGS+=" -client "
fi
fi
exec java $EXTRA_JVMARGS -jar "$JAR_FILE" --dart-sdk "$SDK_DIR" "$@"

View file

@ -1,27 +0,0 @@
@echo off
rem Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
rem for details. All rights reserved. Use of this source code is governed by a
rem BSD-style license that can be found in the LICENSE file.
rem
rem This file is used to execute the analyzer by running the jar file.
rem It is a simple wrapper enabling us to have simpler command lines in
rem the testing infrastructure.
set SCRIPTPATH=%~dp0
rem Does the path have a trailing slash? If so, remove it.
if %SCRIPTPATH:~-1%==\ set SCRIPTPATH=%SCRIPTPATH:~0,-1%
rem DART_CONFIGURATION defaults to ReleaseIA32
if "%DART_CONFIGURATION%"=="" set DART_CONFIGURATION=ReleaseIA32
set arguments=%*
set "SDK_DIR=%SCRIPTPATH%\..\..\build\%DART_CONFIGURATION%\dart-sdk"
set "JAR_DIR=%SCRIPTPATH%\..\..\build\%DART_CONFIGURATION%\dartanalyzer"
set "JAR_FILE=%JAR_DIR%\dartanalyzer.jar"
java -jar "%JAR_FILE%" --dart-sdk "%SDK_DIR%" %arguments%

View file

@ -39,5 +39,5 @@ example,
int x = "not an int"; /// 01: static type warning
...
as part of a test will only pass the "--compiler dartanalyzer" test if
as part of a test will only pass the "--compiler dart2analyzer" test if
the assignment generates a static type warning.

View file

@ -1,293 +0,0 @@
# Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
# for details. All rights reserved. Use of this source code is governed by a
# BSD-style license that can be found in the LICENSE file.
[ $compiler == dartanalyzer ]
WebPlatformTest/html/semantics/forms/the-textarea-element/textarea-type_t01: fail
LayoutTests/fast/forms/checkValidity-001_t01: fail
# TBF: infinite look: class A {const A();final m = const A();}
Language/Expressions/Constants/depending_on_itself_t03: fail
# TBF: when we override "foo([x = 0]) {}" with "foo([x]) {}" we should report warning - different default value
Language/Classes/Instance_Methods/override_different_default_values_t02: MissingStaticWarning
Language/Classes/Abstract_Instance_Members/override_default_value_t04: MissingStaticWarning
# TBF: Static members should not be accessible via subclasses.
Language/Classes/Superclasses/Inheritance_and_Overriding/inheritance_t05: MissingStaticWarning
# co19 issue #442, undefined name "Expect"
Language/Types/Interface_Types/subtype_t12: fail, OK
# co19 issue #438, Static variables are initialized lazily, need not be constants
Language/Expressions/Constants/exception_t01: fail, OK
Language/Expressions/Constants/exception_t02: fail, OK
# co19 issue #543: invocation of a non-function
Language/Expressions/Function_Invocation/Function_Expression_Invocation/static_type_t02: fail, OK
# co19 issue #564: URI can be any number adjacent string literals
Language/Libraries_and_Scripts/URIs/syntax_t14: fail, OK
Language/Libraries_and_Scripts/URIs/syntax_t15: fail, OK
# co19 issue #615: Expect import missing
LibTest/collection/LinkedList/LinkedList_A01_t01: Fail, OK
LibTest/isolate/IsolateStream/any_A01_t01: Fail # co19-roll r706: Please triage this failure.
LibTest/isolate/IsolateStream/asBroadcastStream_A01_t01: Fail # co19-roll r706: Please triage this failure.
LibTest/isolate/IsolateStream/contains_A01_t01: Fail # co19-roll r706: Please triage this failure.
LibTest/isolate/IsolateStream/first_A01_t01: Fail # co19-roll r706: Please triage this failure.
LibTest/isolate/IsolateStream/first_A02_t01: Fail # co19-roll r706: Please triage this failure.
LibTest/isolate/IsolateStream/first_A02_t02: Fail # co19-roll r706: Please triage this failure.
LibTest/isolate/IsolateStream/isBroadcast_A01_t01: Fail # co19-roll r706: Please triage this failure.
LibTest/isolate/IsolateStream/isBroadcast_A01_t02: Fail # co19-roll r706: Please triage this failure.
LibTest/isolate/IsolateStream/isEmpty_A01_t01: Fail # co19-roll r706: Please triage this failure.
LibTest/isolate/IsolateStream/last_A01_t01: Fail # co19-roll r706: Please triage this failure.
LibTest/isolate/IsolateStream/last_A02_t01: Fail # co19-roll r706: Please triage this failure.
LibTest/isolate/IsolateStream/length_A01_t01: Fail # co19-roll r706: Please triage this failure.
LibTest/isolate/IsolateStream/single_A01_t01: Fail # co19-roll r706: Please triage this failure.
LibTest/isolate/IsolateStream/single_A02_t01: Fail # co19-roll r706: Please triage this failure.
LibTest/isolate/ReceivePort/receive_A01_t01: Fail # co19-roll r706: Please triage this failure.
LibTest/isolate/ReceivePort/receive_A01_t03: Fail # co19-roll r706: Please triage this failure.
LibTest/isolate/ReceivePort/toSendPort_A01_t01: Fail # co19-roll r706: Please triage this failure.
LibTest/isolate/ReceivePort/toSendPort_A01_t03: Fail # co19-roll r706: Please triage this failure.
LibTest/isolate/SendPort/call_A01_t01: Fail # co19-roll r706: Please triage this failure.
LibTest/isolate/SendPort/send_A02_t04: Fail # co19-roll r706: Please triage this failure.
LibTest/isolate/SendPort/send_A02_t03: Fail # co19-roll r706: Please triage this failure.
LibTest/isolate/SendPort/send_A02_t05: Fail # co19-roll r706: Please triage this failure.
LibTest/isolate/SendPort/send_A02_t06: Fail # co19-roll r706: Please triage this failure.
LibTest/isolate/SendPort/send_A03_t01: Fail # co19-roll r706: Please triage this failure.
LibTest/isolate/SendPort/send_A03_t02: Fail # co19-roll r706: Please triage this failure.
LibTest/isolate/IsolateStream/any_A02_t01: Fail # co19-roll r706: Please triage this failure.
LibTest/isolate/IsolateStream/contains_A02_t01: Fail # co19-roll r706: Please triage this failure.
LibTest/isolate/ReceivePort/receive_A01_t02: Fail # co19-roll r706: Please triage this failure.
LibTest/isolate/ReceivePort/toSendPort_A01_t02: Fail # co19-roll r706: Please triage this failure.
# co19 issue 642, The argument type 'int' cannot be assigned to the parameter type 'Iterable'
LibTest/collection/DoubleLinkedQueue/DoubleLinkedQueue_class_A01_t01: Fail, OK
LibTest/collection/ListQueue/ListQueue_class_A01_t01: Fail, OK
LibTest/collection/Queue/Queue_class_A01_t01: Fail, OK
Language/Expressions/Method_Invocation/Cascaded_Invocations/syntax_t19: MissingStaticWarning
Language/Expressions/Assignable_Expressions/syntax_t09: MissingStaticWarning
Language/Statements/For/For_Loop/execution_t07: MissingStaticWarning
Language/Statements/For/For_Loop/execution_t08: MissingStaticWarning
Language/Statements/Switch/last_statement_t03: MissingStaticWarning
Language/Statements/Assert/type_t04: MissingStaticWarning
Language/Variables/final_t04: MissingCompileTimeError # co19-roll r651: Please triage this failure
Language/Variables/final_t05: MissingCompileTimeError # co19-roll r651: Please triage this failure
Language/Variables/final_t06: MissingCompileTimeError # co19-roll r651: Please triage this failure
Language/Variables/final_t07: MissingCompileTimeError # co19-roll r651: Please triage this failure
Language/Variables/final_or_static_initialization_t01: MissingCompileTimeError # co19-roll r651: Please triage this failure
Language/Variables/final_or_static_initialization_t02: MissingCompileTimeError # co19-roll r651: Please triage this failure
Language/Variables/final_or_static_initialization_t03: MissingCompileTimeError # co19-roll r651: Please triage this failure
Language/Expressions/Function_Invocation/Unqualified_Invocation/invocation_t17: MissingCompileTimeError # co19-roll r651: Please triage this failure
Language/Expressions/Function_Invocation/Unqualified_Invocation/invocation_t18: MissingCompileTimeError # co19-roll r651: Please triage this failure
Language/Classes/Superinterfaces/no_member_A07_t05: StaticWarning # co19-roll r667: Please triage this failure
LibTest/convert/JsonEncoder/JsonEncoder_A01_t01: StaticWarning # co19-roll r667: Please triage this failure
# co19 issue 656
LibTest/typed_data/Float32x4/equal_A01_t01: Skip # co19 issue 656
LibTest/typed_data/Float32x4/notEqual_A01_t01: Skip # co19 issue 656
LibTest/typed_data/Float32x4/greaterThan_A01_t01: Skip # co19 issue 656
LibTest/typed_data/Float32x4/greaterThanOrEqual_A01_t01: Skip # co19 issue 656
LibTest/typed_data/Float32x4/lessThan_A01_t01: Skip # co19 issue 656
LibTest/typed_data/Float32x4/lessThanOrEqual_A01_t01: Skip # co19 issue 656
WebPlatformTest/custom-elements/*: Pass, StaticWarning # Issue 18095.
# co19 roll to r706: Please triage all these issues.
Language/Expressions/Method_Invocation/Super_Invocation/accessible_instance_member_t03: StaticWarning # co19-roll r706: Please triage this failure.
Language/Expressions/Method_Invocation/Super_Invocation/accessible_instance_member_t04: StaticWarning # co19-roll r706: Please triage this failure.
Language/Expressions/Method_Invocation/Super_Invocation/accessible_instance_member_t05: StaticWarning # co19-roll r706: Please triage this failure.
Language/Libraries_and_Scripts/Parts/compilation_t04: CompileTimeError # co19-roll r706: Please triage this failure.
Language/Libraries_and_Scripts/Parts/static_warning_t01: CompileTimeError # co19-roll r706: Please triage this failure.
Language/Libraries_and_Scripts/Scripts/syntax_t11: CompileTimeError # co19-roll r706: Please triage this failure.
LayoutTests/fast/dom/DOMImplementation/createDocument-namespace-err_t01: StaticWarning # co19-roll r706: Please triage this failure.
LayoutTests/fast/dom/DOMImplementation/createDocumentType-err_t01: StaticWarning # co19-roll r706: Please triage this failure.
LayoutTests/fast/dom/Document/CaretRangeFromPoint/caretRangeFromPoint-in-zoom-and-scroll_t01: StaticWarning # co19-roll r706: Please triage this failure.
LayoutTests/fast/dom/Element/scrollWidth_t01: StaticWarning # co19-roll r706: Please triage this failure.
LayoutTests/fast/html/article-element_t01: StaticWarning # co19-roll r706: Please triage this failure.
LayoutTests/fast/html/aside-element_t01: StaticWarning # co19-roll r706: Please triage this failure.
LayoutTests/fast/html/imports/import-events_t01: CompileTimeError # co19-roll r706: Please triage this failure.
LayoutTests/fast/html/text-field-input-types_t01: StaticWarning # co19-roll r706: Please triage this failure.
LibTest/html/Document/adoptNode_A01_t01: StaticWarning # co19-roll r706: Please triage this failure.
LibTest/html/Document/childNodes_A01_t01: StaticWarning # co19-roll r706: Please triage this failure.
LibTest/html/Document/importNode_A01_t01: StaticWarning # co19-roll r706: Please triage this failure.
LibTest/html/Document/securityPolicy_A01_t01: StaticWarning # co19-roll r706: Please triage this failure.
LibTest/html/HttpRequest/responseText_A01_t02: StaticWarning # co19-roll r706: Please triage this failure.
LibTest/html/HttpRequest/responseType_A01_t03: CompileTimeError # co19-roll r706: Please triage this failure.
LibTest/html/IFrameElement/attributeChanged_A01_t01: StaticWarning # co19-roll r706: Please triage this failure.
LibTest/html/IFrameElement/contentWindow_A01_t01: StaticWarning # co19-roll r706: Please triage this failure.
LibTest/html/IFrameElement/enteredView_A01_t01: CompileTimeError # co19-roll r706: Please triage this failure.
LibTest/html/IFrameElement/getNamespacedAttributes_A01_t01: StaticWarning # co19-roll r706: Please triage this failure.
LibTest/html/Window/document_A01_t01: StaticWarning # co19-roll r706: Please triage this failure.
LibTest/html/Window/moveBy_A01_t01: StaticWarning # co19-roll r706: Please triage this failure.
LibTest/html/Window/moveTo_A01_t01: StaticWarning # co19-roll r706: Please triage this failure.
LibTest/html/Window/moveTo_A02_t01: StaticWarning # co19-roll r706: Please triage this failure.
LibTest/html/Window/postMessage_A01_t01: StaticWarning # co19-roll r706: Please triage this failure.
LibTest/html/Window/postMessage_A01_t02: StaticWarning # co19-roll r706: Please triage this failure.
LibTest/html/Window/requestFileSystem_A01_t01: StaticWarning # co19-roll r706: Please triage this failure.
LibTest/html/Window/requestFileSystem_A01_t02: StaticWarning # co19-roll r706: Please triage this failure.
LibTest/html/Window/requestFileSystem_A02_t01: StaticWarning # co19-roll r706: Please triage this failure.
LibTest/html/Window/resizeBy_A01_t01: StaticWarning # co19-roll r706: Please triage this failure.
LibTest/html/Window/resizeTo_A01_t01: StaticWarning # co19-roll r706: Please triage this failure.
LibTest/isolate/ReceivePort/sendPort_A01_t01: StaticWarning # co19-roll r706: Please triage this failure.
LibTest/math/Point/operator_addition_A02_t01: StaticWarning # co19-roll r706: Please triage this failure.
LibTest/math/Point/operator_mult_A03_t01: StaticWarning # co19-roll r706: Please triage this failure.
LibTest/math/Point/operator_subtraction_A02_t01: StaticWarning # co19-roll r706: Please triage this failure.
WebPlatformTest/dom/events/event_constants/constants_A01_t01: StaticWarning # co19-roll r706: Please triage this failure.
# co19-roll r722
LayoutTests/fast/dom/HTMLAnchorElement/anchor-ismap-crash_t01: StaticWarning # co19-roll r722: Please triage this failure.
LayoutTests/fast/dom/HTMLAnchorElement/set-href-attribute-rebase_t01: StaticWarning # co19-roll r722: Please triage this failure.
LayoutTests/fast/dom/HTMLBaseElement/href-attribute-resolves-with-respect-to-document_t01: StaticWarning # co19-roll r722: Please triage this failure.
LayoutTests/fast/dom/HTMLDialogElement/inert-does-not-match-disabled-selector_t01: StaticWarning # co19-roll r722: Please triage this failure.
LayoutTests/fast/dom/HTMLDialogElement/show-modal-focusing-steps_t01: StaticWarning # co19-roll r722: Please triage this failure.
LayoutTests/fast/dom/HTMLDialogElement/top-layer-position-relative_t01: StaticWarning # co19-roll r722: Please triage this failure.
LayoutTests/fast/dom/HTMLDialogElement/top-layer-position-static_t01: StaticWarning # co19-roll r722: Please triage this failure.
LayoutTests/fast/dom/HTMLDocument/clone-node_t01: StaticWarning # co19-roll r722: Please triage this failure.
LayoutTests/fast/dom/HTMLInputElement/size-attribute_t01: StaticWarning # co19-roll r722: Please triage this failure.
LayoutTests/fast/dom/HTMLLabelElement/form/test1_t01: StaticWarning # co19-roll r722: Please triage this failure.
LayoutTests/fast/dom/HTMLLabelElement/label-control_t01: StaticWarning # co19-roll r722: Please triage this failure.
LayoutTests/fast/dom/HTMLObjectElement/set-type-to-null-crash_t01: StaticWarning # co19-roll r722: Please triage this failure.
LibTest/html/IFrameElement/outerHtml_setter_A01_t01: StaticWarning # co19-roll r722: Please triage this failure.
LibTest/html/Node/childNodes_A01_t02: StaticWarning # co19-roll r722: Please triage this failure.
LibTest/html/Node/contains_A01_t02: StaticWarning # co19-roll r722: Please triage this failure.
LibTest/html/Node/dispatchEvent_A01_t01: StaticWarning # co19-roll r722: Please triage this failure.
LibTest/html/Node/nodes_A01_t01: StaticWarning # co19-roll r722: Please triage this failure.
WebPlatformTest/shadow-dom/events/event-dispatch/test-001_t01: StaticWarning # co19-roll r722: Please triage this failure.
LayoutTests/fast/dom/HTMLOptionElement/collection-setter-getter_t01: StaticWarning # co19-roll r722: Please triage this failure.
LayoutTests/fast/dom/HTMLScriptElement/isURLAttribute_t01: StaticWarning # co19-roll r722: Please triage this failure.
LayoutTests/fast/dom/HTMLScriptElement/script-async-attr_t01: StaticWarning # co19-roll r722: Please triage this failure.
LayoutTests/fast/dom/HTMLScriptElement/script-set-src_t01: StaticWarning
LayoutTests/fast/dom/HTMLTableElement/createCaption_t01: StaticWarning # co19-roll r722: Please triage this failure.
LayoutTests/fast/dom/HTMLTableElement/insert-row_t01: StaticWarning # co19-roll r722: Please triage this failure.
LayoutTests/fast/dom/HTMLTemplateElement/custom-element-wrapper-gc_t01: StaticWarning # co19-roll r722: Please triage this failure.
LayoutTests/fast/dom/HTMLTemplateElement/inertContents_t01: StaticWarning # co19-roll r722: Please triage this failure.
LayoutTests/fast/dom/HTMLTemplateElement/no-form-association_t01: StaticWarning # co19-roll r722: Please triage this failure.
LayoutTests/fast/dom/MutationObserver/clear-transient-without-delivery_t01: StaticWarning # co19-roll r722: Please triage this failure.
LayoutTests/fast/dom/MutationObserver/disconnect-cancel-pending_t01: StaticWarning # co19-roll r722: Please triage this failure.
LayoutTests/fast/dom/MutationObserver/document-fragment-insertion_t01: StaticWarning # co19-roll r722: Please triage this failure.
LayoutTests/fast/dom/MutationObserver/mutation-record-constructor_t01: StaticWarning # co19-roll r722: Please triage this failure.
LayoutTests/fast/dom/MutationObserver/observe-exceptions_t01: StaticWarning # co19-roll r722: Please triage this failure.
LayoutTests/fast/dom/NodeList/nodelist-reachable_t01: StaticWarning # co19-roll r722: Please triage this failure.
LayoutTests/fast/dom/Range/missing-arguments_t01: StaticWarning # co19-roll r722: Please triage this failure.
LayoutTests/fast/dom/Range/surroundContents-check-boundary-points_t01: StaticWarning # co19-roll r722: Please triage this failure.
LayoutTests/fast/html/imports/import-element-removed-flag_t01: StaticWarning # co19-roll r722: Please triage this failure.
LibTest/html/CanvasRenderingContext2D/addEventListener_A01_t03: StaticWarning # co19-roll r722: Please triage this failure.
WebPlatformTest/dom/collections/emptyName_A01_t03: StaticWarning # co19-roll r722: Please triage this failure.
WebPlatformTest/dom/nodes/DOMImplementation-createDocument_t01: StaticWarning # co19-roll r722: Please triage this failure.
WebPlatformTest/dom/nodes/DOMImplementation-createHTMLDocument_t01: CompileTimeError # co19-roll r722: Please triage this failure.
WebPlatformTest/dom/nodes/Document-createElement-namespace_t01: StaticWarning # co19-roll r722: Please triage this failure.
WebPlatformTest/dom/nodes/Document-createElement_t01: CompileTimeError # co19-roll r722: Please triage this failure.
WebPlatformTest/dom/nodes/Element-childElementCount-nochild_t01: CompileTimeError # co19-roll r722: Please triage this failure.
WebPlatformTest/dom/nodes/Node-appendChild_t02: StaticWarning # co19-roll r722: Please triage this failure.
WebPlatformTest/dom/nodes/Node-contains_t01: StaticWarning # co19-roll r722: Please triage this failure.
WebPlatformTest/dom/nodes/Node-isEqualNode_t01: StaticWarning # co19-roll r722: Please triage this failure.
WebPlatformTest/dom/nodes/Node-parentNode_t01: StaticWarning # co19-roll r722: Please triage this failure.
# co19-roll r738
Language/Classes/Abstract_Instance_Members/override_default_value_t02: MissingStaticWarning # co19-roll r738: Please triage this failure.
Language/Classes/method_definition_t06: MissingStaticWarning # co19-roll r738: Please triage this failure.
LayoutTests/fast/dom/StyleSheet/detached-parent-rule-without-wrapper_t01: StaticWarning # co19-roll r738: Please triage this failure.
LayoutTests/fast/dom/StyleSheet/detached-stylesheet-without-wrapper_t01: StaticWarning # co19-roll r738: Please triage this failure.
LayoutTests/fast/dom/StyleSheet/removed-media-rule-deleted-parent-crash_t01: StaticWarning # co19-roll r738: Please triage this failure.
LayoutTests/fast/dom/StyleSheet/removed-stylesheet-rule-deleted-parent-crash_t01: StaticWarning # co19-roll r738: Please triage this failure.
LayoutTests/fast/dom/TreeWalker/TreeWalker-basic_t01: StaticWarning # co19-roll r738: Please triage this failure.
LayoutTests/fast/dom/Window/atob-btoa_t01: StaticWarning # co19-roll r738: Please triage this failure.
LayoutTests/fast/dom/Window/replaceable_t01: StaticWarning # co19-roll r738: Please triage this failure.
LayoutTests/fast/dom/Window/window-scroll-arguments_t01: StaticWarning # co19-roll r738: Please triage this failure.
LayoutTests/fast/dom/characterdata-api-arguments_t01: StaticWarning # co19-roll r738: Please triage this failure.
LayoutTests/fast/dom/css-cached-import-rule_t01: StaticWarning # co19-roll r738: Please triage this failure.
LayoutTests/fast/dom/css-insert-import-rule-twice_t01: StaticWarning # co19-roll r738: Please triage this failure.
LayoutTests/fast/dom/css-insert-import-rule_t01: StaticWarning # co19-roll r738: Please triage this failure.
LayoutTests/fast/dom/css-mediarule-deleteRule-update_t01: StaticWarning # co19-roll r738: Please triage this failure.
LayoutTests/fast/dom/css-mediarule-functions_t01: StaticWarning # co19-roll r738: Please triage this failure.
LayoutTests/fast/dom/css-mediarule-insertRule-update_t01: StaticWarning # co19-roll r738: Please triage this failure.
LayoutTests/fast/dom/css-rule-functions_t01: StaticWarning # co19-roll r738: Please triage this failure.
LayoutTests/fast/dom/destroy-selected-radio-button-crash_t01: StaticWarning # co19-roll r738: Please triage this failure.
LayoutTests/fast/dom/icon-url-change_t01: StaticWarning # co19-roll r738: Please triage this failure.
LayoutTests/fast/dom/icon-url-list_t01: StaticWarning # co19-roll r738: Please triage this failure.
LayoutTests/fast/dom/implementation-api-args_t01: StaticWarning # co19-roll r738: Please triage this failure.
LayoutTests/fast/dom/javascript-backslash_t01: StaticWarning # co19-roll r738: Please triage this failure.
LayoutTests/fast/dom/location-missing-arguments_t01: StaticWarning # co19-roll r738: Please triage this failure.
LayoutTests/fast/dom/option-properties_t01: StaticWarning # co19-roll r738: Please triage this failure.
LayoutTests/fast/dom/remove-named-attribute-crash_t01: StaticWarning # co19-roll r738: Please triage this failure.
LayoutTests/fast/dom/shadow/content-pseudo-element-css-text_t01: StaticWarning # co19-roll r738: Please triage this failure.
LayoutTests/fast/dom/shadow/content-pseudo-element-relative-selector-css-text_t01: StaticWarning # co19-roll r738: Please triage this failure.
LayoutTests/fast/dom/shadow/host-context-pseudo-class-css-text_t01: StaticWarning # co19-roll r738: Please triage this failure.
LayoutTests/fast/dom/shadow/host-pseudo-class-css-text_t01: StaticWarning # co19-roll r738: Please triage this failure.
LayoutTests/fast/dom/shadow/shadow-root-js-api_t01: StaticWarning # co19-roll r738: Please triage this failure.
WebPlatformTest/DOMEvents/approved/Event.bubbles.false_t01: StaticWarning # co19-roll r738: Please triage this failure.
WebPlatformTest/DOMEvents/approved/Propagation.path.target.removed_t01: StaticWarning # co19-roll r738: Please triage this failure.
WebPlatformTest/html/browsers/browsing-the-web/read-media/pageload-image_t01: StaticWarning # co19-roll r738: Please triage this failure.
WebPlatformTest/html/browsers/browsing-the-web/read-media/pageload-video_t01: StaticWarning # co19-roll r738: Please triage this failure.
WebPlatformTest/html/browsers/browsing-the-web/read-text/load-text-plain_t01: StaticWarning # co19-roll r738: Please triage this failure.
WebPlatformTest/html/dom/documents/dom-tree-accessors/document.body-getter_t01: StaticWarning # co19-roll r738: Please triage this failure.
WebPlatformTest/html/dom/documents/dom-tree-accessors/document.body-setter_t01: StaticWarning # co19-roll r738: Please triage this failure.
WebPlatformTest/html/dom/documents/dom-tree-accessors/document.head_t01: StaticWarning # co19-roll r738: Please triage this failure.
WebPlatformTest/html/dom/documents/dom-tree-accessors/document.title_t01: StaticWarning # co19-roll r738: Please triage this failure.
WebPlatformTest/html/dom/documents/dom-tree-accessors/document.title_t07: StaticWarning # co19-roll r738: Please triage this failure.
WebPlatformTest/html/dom/elements/global-attributes/dataset-delete_t01: StaticWarning # co19-roll r738: Please triage this failure.
WebPlatformTest/html/dom/elements/global-attributes/dataset-get_t01: StaticWarning # co19-roll r738: Please triage this failure.
WebPlatformTest/html/dom/elements/global-attributes/dataset-set_t01: StaticWarning # co19-roll r738: Please triage this failure.
WebPlatformTest/html/semantics/document-metadata/styling/LinkStyle_t01: StaticWarning # co19-roll r738: Please triage this failure.
WebPlatformTest/html/semantics/embedded-content/media-elements/error-codes/error_t01: StaticWarning # co19-roll r738: Please triage this failure.
WebPlatformTest/html/semantics/embedded-content/media-elements/interfaces/TextTrack/mode_t01: StaticWarning # co19-roll r738: Please triage this failure.
WebPlatformTest/html/semantics/embedded-content/the-audio-element/audio_constructor_t01: StaticWarning # co19-roll r738: Please triage this failure.
WebPlatformTest/html/semantics/forms/attributes-common-to-form-controls/formAction_document_address_t01: StaticWarning # co19-roll r738: Please triage this failure.
WebPlatformTest/html/semantics/forms/textfieldselection/selection_t01: StaticWarning # co19-roll r738: Please triage this failure.
WebPlatformTest/html/semantics/forms/the-datalist-element/datalistelement_t01: StaticWarning # co19-roll r738: Please triage this failure.
WebPlatformTest/html/semantics/forms/the-datalist-element/datalistoptions_t01: StaticWarning # co19-roll r738: Please triage this failure.
WebPlatformTest/html/semantics/forms/the-fieldset-element/disabled_t01: StaticWarning # co19-roll r738: Please triage this failure.
# co19-roll r761
LayoutTests/fast/animation/request-animation-frame-missing-arguments_t01: StaticWarning # co19-roll r761: Please triage this failure.
LayoutTests/fast/backgrounds/001_t01: StaticWarning # co19-roll r761: Please triage this failure.
LayoutTests/fast/canvas/canvas-arc-negative-radius_t01: StaticWarning # Issue 20939
LayoutTests/fast/canvas/canvas-createImageBitmap-animated_t01: StaticWarning # co19-roll r761: Please triage this failure.
LayoutTests/fast/canvas/webgl/framebuffer-object-attachment_t01: StaticWarning # co19-roll r761: Please triage this failure.
LayoutTests/fast/canvas/webgl/tex-image-and-sub-image-2d-with-array-buffer-view_t01: StaticWarning # co19-roll r761: Please triage this failure.
LayoutTests/fast/canvas/webgl/webgl-specific_t01: StaticWarning # co19-roll r761: Please triage this failure.
LayoutTests/fast/dom/text-api-arguments_t01: StaticWarning # co19-roll r761: Please triage this failure.
LayoutTests/fast/html/imports/import-events_t01: StaticWarning # co19-roll r761: Please triage this failure.
# co19-roll r786
LayoutTests/fast/events/initkeyboardevent-crash_t01: StaticWarning # co19-roll r786: Please triage this failure.
# co19-roll r801
LayoutTests/fast/html/select-dropdown-consistent-background-color_t01: StaticWarning # co19-roll r801: Please triage this failure.
LayoutTests/fast/inline/boundingBox-with-continuation_t01: StaticWarning # co19-roll r801: Please triage this failure.
LayoutTests/fast/loader/about-blank-hash-kept_t01: StaticWarning # co19-roll r801: Please triage this failure.
LayoutTests/fast/loader/hashchange-event-properties_t01: StaticWarning # co19-roll r801: Please triage this failure.
LayoutTests/fast/loader/scroll-position-restored-on-reload-at-load-event_t01: StaticWarning # co19-roll r801: Please triage this failure.
LayoutTests/fast/loader/stateobjects/replacestate-in-onunload_t01: StaticWarning # co19-roll r801: Please triage this failure.
LayoutTests/fast/media/media-query-list-syntax_t01: StaticWarning # co19-roll r801: Please triage this failure.
LayoutTests/fast/media/mq-append-delete_t01: StaticWarning # co19-roll r801: Please triage this failure.
LayoutTests/fast/media/mq-color-index_t02: StaticWarning # co19-roll r801: Please triage this failure.
LayoutTests/fast/media/mq-js-media-except_t01: StaticWarning # co19-roll r801: Please triage this failure.
LayoutTests/fast/media/mq-js-media-except_t02: StaticWarning # co19-roll r801: Please triage this failure.
LayoutTests/fast/media/mq-parsing_t01: StaticWarning # co19-roll r801: Please triage this failure.
LayoutTests/fast/mediastream/RTCPeerConnection-AddRemoveStream_t01: StaticWarning # co19-roll r801: Please triage this failure.
LayoutTests/fast/multicol/vertical-lr/float-truncation_t01: StaticWarning # co19-roll r801: Please triage this failure.
LayoutTests/fast/multicol/vertical-lr/image-inside-nested-blocks-with-border_t01: StaticWarning # co19-roll r801: Please triage this failure.
LayoutTests/fast/multicol/vertical-rl/float-truncation_t01: StaticWarning # co19-roll r801: Please triage this failure.
LayoutTests/fast/multicol/vertical-rl/image-inside-nested-blocks-with-border_t01: StaticWarning # co19-roll r801: Please triage this failure.
LayoutTests/fast/overflow/scroll-vertical-not-horizontal_t01: StaticWarning # co19-roll r801: Please triage this failure.
LayoutTests/fast/ruby/after-doesnt-crash_t01: StaticWarning # co19-roll r801: Please triage this failure.
LayoutTests/fast/shapes/shape-outside-floats/shape-outside-big-box-border-radius_t01: StaticWarning # co19-roll r801: Please triage this failure.
LayoutTests/fast/shapes/shape-outside-floats/shape-outside-floats-diamond-margin-polygon_t01: StaticWarning # co19-roll r801: Please triage this failure.
LayoutTests/fast/shapes/shape-outside-floats/shape-outside-floats-image-margin_t01: StaticWarning # co19-roll r801: Please triage this failure.
LayoutTests/fast/shapes/shape-outside-floats/shape-outside-floats-image-margin_t02: StaticWarning # co19-roll r801: Please triage this failure.
LayoutTests/fast/shapes/shape-outside-floats/shape-outside-rounded-boxes_t01: StaticWarning # co19-roll r801: Please triage this failure.
LayoutTests/fast/xpath/4XPath/Core/test_core_functions_t01: StaticWarning # co19 issue 703
WebPlatformTest/dom/Node-replaceChild_t01: CompileTimeError # co19-roll r761: Please triage this failure.
WebPlatformTest/html/semantics/forms/the-input-element/email_t02: StaticWarning # co19 issue 701
Language/Expressions/Instance_Creation/Const/abstract_class_t01: MissingCompileTimeError # Issue 22010
Language/Expressions/Instance_Creation/Const/abstract_class_t03: MissingCompileTimeError # Issue 22010

View file

@ -32,7 +32,7 @@ WebPlatformTest/shadow-dom/elements-and-dom-objects/shadowroot-object/shadowroot
# These tests are broken in both Javascript and Dart (co19 folks contacted to fix).
WebPlatformTest/shadow-dom/elements-and-dom-objects/shadowroot-object/shadowroot-methods/test-004_t01: Skip # Issue 21115
[ $compiler != dartanalyzer && $compiler != dart2analyzer ]
[ $compiler != dart2analyzer ]
# Tests that fail on every runtime, but not on the analyzer.
LibTest/async/Future/Future.error_A01_t01: RuntimeError # co19 issue 712
@ -93,7 +93,7 @@ LibTest/async/Future/Future.delayed_A01_t02: Pass, Fail # Issue 15524
### CHECKED MODE FAILURES ###
[ $compiler != dartanalyzer && $compiler != dart2analyzer && $checked ]
[ $compiler != dart2analyzer && $checked ]
LibTest/collection/DoubleLinkedQueue/removeFirst_A01_t01: RuntimeError # co19-roll r607: Please triage this failure
LibTest/collection/LinkedList/LinkedList_A01_t01: RuntimeError # co19-roll r623: Please triage this failure
LibTest/collection/LinkedList/lastWhere_A02_t01: RuntimeError # co19 issue 737

View file

@ -139,35 +139,6 @@ string_case_test/01: Fail, OK # Bug in Firefox.
string_case_test/02: Fail, OK # Bug in dartium version of V8.
string_case_test/03: Fail, OK # Bug in dartium version of V8.
[ $compiler == dartanalyzer ]
from_environment_const_type_test: Skip # The -D option that defines a constant
# for the Dart vm is not accepted by the deprecated java dartanalyzer.
int_parse_radix_test: Fail, OK # Test contains errors but doesnt mark them as expected
list_insert_test: Fail, OK # Test contains errors but doesnt mark them as expected
list_removeat_test: Fail, OK # Test contains errors but doesnt mark them as expected
# Issue 16391. These tests are supposed to produce a compile time
# error in checked mode, but they don't:
[ $compiler == dartanalyzer && $checked ]
from_environment_const_type_test/02: MissingCompileTimeError # Issue 16391
from_environment_const_type_test/03: MissingCompileTimeError # Issue 16391
from_environment_const_type_test/04: MissingCompileTimeError # Issue 16391
from_environment_const_type_test/06: MissingCompileTimeError # Issue 16391
from_environment_const_type_test/07: MissingCompileTimeError # Issue 16391
from_environment_const_type_test/08: MissingCompileTimeError # Issue 16391
from_environment_const_type_test/09: MissingCompileTimeError # Issue 16391
from_environment_const_type_test/11: MissingCompileTimeError # Issue 16391
from_environment_const_type_test/12: MissingCompileTimeError # Issue 16391
from_environment_const_type_test/13: MissingCompileTimeError # Issue 16391
from_environment_const_type_test/14: MissingCompileTimeError # Issue 16391
from_environment_const_type_test/16: MissingCompileTimeError # Issue 16391
from_environment_const_type_undefined_test/02: MissingCompileTimeError # Issue 16391
from_environment_const_type_undefined_test/03: MissingCompileTimeError # Issue 16391
from_environment_const_type_undefined_test/04: MissingCompileTimeError # Issue 16391
from_environment_const_type_undefined_test/06: MissingCompileTimeError # Issue 16391
from_environment_const_type_undefined_test/07: MissingCompileTimeError # Issue 16391
from_environment_const_type_undefined_test/08: MissingCompileTimeError # Issue 16391
# Analyzer's implementation of fromEnvironment assumes that undefined
# environment variables have an unspecified value (rather than being
# null) because it is expected that the user will supply a value when
@ -185,8 +156,6 @@ from_environment_const_type_undefined_test/16: CompileTimeError
int_parse_radix_test: fail
list_insert_test: fail
list_removeat_test: fail
[ $compiler == dartanalyzer || $compiler == dart2analyzer ]
hash_set_type_check_test: StaticWarning, OK # Tests failing type tests.
error_stack_trace_test: StaticWarning, OK # Test generates errors on purpose.
iterable_element_at_test: StaticWarning, OK # Test generates errors on purpose.
@ -204,7 +173,7 @@ regexp/*: Skip
[ $runtime == vm ]
regexp/global_test: Skip # Timeout. Issue 21709 and 21708
[ $runtime != vm && $compiler != dartanalyzer && $compiler != dart2analyzer]
[ $runtime != vm && $compiler != dart2analyzer]
package_resource_test: RuntimeError # Issue 23825 (not implemented yet).
data_resource_test: RuntimeError # Issue 23825 (not implemented yet).
file_resource_test: Skip, OK # VM specific test, uses dart:io.

View file

@ -411,7 +411,7 @@ touchevent_test/supported: Fail
[ (($runtime == dartium || $runtime == drt) && $system == macos) || $system == windows ]
xhr_test/xhr: Skip # Times out. Issue 21527
[ $compiler == dartanalyzer || $compiler == dart2analyzer ]
[ $compiler == dart2analyzer ]
custom/document_register_basic_test: StaticWarning
custom/element_upgrade_test: StaticWarning
datalistelement_test: StaticWarning

View file

@ -133,7 +133,7 @@ error_at_spawnuri_test: SkipByDesign # 13921 Dom isolates don't support spawnFu
exit_at_spawnuri_test: SkipByDesign # 13921 Dom isolates don't support spawnFunction
[ $compiler == dartanalyzer || $compiler == dart2analyzer ]
[ $compiler == dart2analyzer ]
browser/typed_data_message_test: StaticWarning
mint_maker_test: StaticWarning

View file

@ -1,611 +0,0 @@
# Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
# for details. All rights reserved. Use of this source code is governed by a
# BSD-style license that can be found in the LICENSE file.
[ $compiler == dartanalyzer ]
async_return_types_test/wrongTypeParameter: MissingStaticWarning # Issue 22410
async_return_types_test/wrongReturnType: MissingStaticWarning # Issue 22410
async_or_generator_return_type_stacktrace_test/01: MissingStaticWarning # Issue 22410
async_or_generator_return_type_stacktrace_test/02: MissingStaticWarning # Issue 22410
async_return_types_test/nestedFuture: MissingStaticWarning # Issue 22410
await_backwards_compatibility_test/none: CompileTimeError # Issue 22052
await_test: CompileTimeError # Issue 22052
async_await_test/02: CompileTimeError # Issue 22052
regress_17382_test: Skip # don't care about the static warning.
regress_23408_test: Skip # don't care about the warning.
regress_23038_test/01: Skip # Issue 23038
getter_setter_in_lib_test: Fail # issue 23286
issue13179_test: CompileTimeError # Issue 13179
tearoff_basic_test: Skip # Tear-off not supported
tearoff_constructor_basic_test: Skip # Tear-off not supported
sync_generator2_test/01: MissingCompileTimeError # Issue 22252
sync_generator2_test/02: MissingCompileTimeError # Issue 22252
sync_generator2_test/03: MissingCompileTimeError # Issue 22252
sync_generator2_test/04: MissingCompileTimeError # Issue 22252
sync_generator2_test/05: MissingCompileTimeError # Issue 22252
sync_generator2_test/06: MissingCompileTimeError # Issue 22252
sync_generator2_test/07: MissingCompileTimeError # Issue 22252
sync_generator2_test/10: MissingCompileTimeError # Issue 22252
async_test/type-mismatch2: MissingStaticWarning # Issue 22053
async_test/type-mismatch3: MissingStaticWarning # Issue 22053
async_test/type-mismatch4: MissingStaticWarning # Issue 22053
async_await_syntax_test/a05c: CompileTimeError
async_await_syntax_test/a05e: CompileTimeError
async_await_syntax_test/a05f: MissingCompileTimeError
async_await_syntax_test/a10a: MissingStaticWarning
async_await_syntax_test/b10a: MissingStaticWarning
async_await_syntax_test/c10a: MissingStaticWarning
async_await_syntax_test/d10a: MissingStaticWarning
assign_to_type_test/01: MissingStaticWarning
assign_to_type_test/02: MissingStaticWarning
assign_to_type_test/03: MissingStaticWarning
assign_to_type_test/04: MissingStaticWarning
# Runtime negative test. No static errors or warnings.
closure_call_wrong_argument_count_negative_test: skip
compile_time_constant_c_test/01: Fail # Issue 21000
compile_time_constant12_test: Fail # Issue 21000
enum_syntax_test/02: Fail # 21649
enum_syntax_test/03: Fail # 21649
enum_syntax_test/04: Fail # 21649
enum_syntax_test/05: Fail # 21649
enum_syntax_test/06: Fail # 21649
# Test issue 12694 (was analyzer issue), (1) when "abstract" is import prefix using it as type is warning; (2) currently analyzer resolves prefix as field (don't ask)
built_in_identifier_prefix_test: CompileTimeError # Issue 12694
# TBF: we should check conflicts not only for methods, but for accessors too
override_field_test/03: fail
method_override7_test/03: Fail # Issue 11497
external_test/21: Fail
external_test/24: Fail
external_test/25: Fail
constructor_duplicate_final_test/03: Fail
identical_const_test: Fail # Issue 21177
super_bound_closure_test/01: MissingStaticWarning # Issue 18914
mixin_forwarding_constructor4_test/01: MissingCompileTimeError # Issue 19576
mixin_forwarding_constructor4_test/02: MissingCompileTimeError # Issue 19576
mixin_forwarding_constructor4_test/03: MissingCompileTimeError # Issue 19576
mixin_super_constructor_named_test/01: MissingCompileTimeError # Issue 19576
mixin_super_constructor_positionals_test/01: MissingCompileTimeError # Issue 19576
reify_typevar_static_test/00: MissingCompileTimeError # Issue 21565
multiline_newline_test/01: CompileTimeError # Issue 23888
multiline_newline_test/02: CompileTimeError # Issue 23888
multiline_newline_test/03: CompileTimeError # Issue 23888
multiline_newline_test/04: MissingCompileTimeError # Issue 23888
multiline_newline_test/05: MissingCompileTimeError # Issue 23888
multiline_newline_test/06: MissingCompileTimeError # Issue 23888
const_for_in_variable_test/01: MissingCompileTimeError # Issue 25161
# Unsupported configuration specific imports.
config_import_test: CompileTimeError # Issue 24579
# Please add new failing tests before this line.
# Section below is for invalid tests.
#
#
ref_before_declaration_test/none: fail # test issue 14879, "P" is not defined
bad_initializer2_negative_test: fail # Issue 14880, Analyzer reports compile-time error, but test runner is not satisfied
# test issue 11124, It is warning, not error to don't initialize final field
field3a_negative_test: Fail # Issue 11124
final_syntax_test/01: Fail # Issue 11124
final_syntax_test/04: Fail # Issue 11124
final_syntax_test/02: Fail # Issue 11124
final_syntax_test/03: Fail # Issue 11124
# Test issue 11545, using not existing constructor name in annotation
metadata_test: fail
# test issue 11575, classes with abstract members are not marked as abstract
get_set_syntax_test/none: fail # Issue 11575
implicit_this_test/none: fail # Issue 11575
interface_test/none: fail # Issue 11575
syntax_test/none: fail # Issue 11575
# test issue 11576
bad_constructor_test/none: fail # Issue 11576
# test issue 11577, has return type for []=
cascade_test/none: fail # Issue 11577
# test issue 11578, redirecting factory with not subtype
factory5_test/none: fail # Issue 11578
type_variable_bounds_test/none: fail # Issue 11578
type_variable_scope_test/none: fail # Issue 11578
factory_implementation_test/none: fail # Issue 11578
malbounded_redirecting_factory_test/none: fail # Issue 11578
malbounded_redirecting_factory2_test/none: fail # Issue 11578
# test issue 11579, assignment, no setter
getter_no_setter_test/none: fail
# test issue 11584, positional arguments cannot be used for named parameters
compile_time_constant_e_test: fail # Test Issue 11584
# test issue 11585, static warning, not negative test
constructor3_negative_test: fail
constructor_call_wrong_argument_count_negative_test: fail
instance_call_wrong_argument_count_negative_test: fail
# test issue 11590, runtime only negative test
field_method4_negative_test: fail
# test issue 11594, Reference to a not resolve identifier is static warning
import_combinators_negative_test: fail
interface_static_non_final_fields_negative_test: fail
# test issue 11962, it is warning, not error to reference undeclared identifier
prefix1_negative_test: fail
prefix2_negative_test: fail
prefix4_negative_test: fail
prefix5_negative_test: fail
prefix12_negative_test: fail
# test issue 11964, Any use of a malformed type gives rise to a static warning.
prefix8_negative_test: fail
prefix11_negative_test: fail
# test issue 12156, fails only at runtime
static_call_wrong_argument_count_negative_test: fail
# test issue 12160, not annotated warnings for type variables from static member
type_parameter_test/none: fail
# test issue 12161, type variable in static, malformed type, static warning
type_variable_static_context_negative_test: fail
# test issue 12163, unresolved identifier is static warning in static context
unresolved_in_factory_negative_test: fail # Issue 12163
unresolved_top_level_var_negative_test: fail # Issue 12163
# test issue 12191, ambiguous import is always warning now
prefix3_negative_test: fail # Issue 12191
# test issue 12289, assignment in assert statement
type_error_test: fail # Issue 12289
# test issue 12381, It is compile-time error to invoke not existing function
issue11724_test: fail # Issue 12381
# test issue 12541; there shouldn't be a static warning
static_field_test/01: fail # Issue 12541
static_field_test/02: fail # Issue 12541
static_field_test/03: fail # Issue 12541
static_field_test/04: fail # Issue 12541
# test issue 13916, Looks as no warning should be in this redirecting factory
redirecting_factory_infinite_steps_test/01: fail
# test issue 14471, has (legitimate) static warning; but not annotated
redirecting_factory_default_values_test/none: StaticWarning # Test issue 14471; has (legitimate) static warning; but not annotated
# test issue 13956, It is a static type warning if any of the type arguments to k' are not subtypes of the bounds of the corresponding formal type parameters of type.
default_factory2_test/none: fail
# test issue 14021, it is warning, not an error to reference private (undefined) identifier
private_member1_negative_test: fail
private_member2_negative_test: fail
private_member3_negative_test: fail
# test issue 14079
malformed_test/none: fail # test issue 14079, legit warnings for malformed type
malformed_test/05: fail # test issue 14079, it is not error, but warning to instantiate malformed type
malformed_test/06: fail # test issue 14079, it is not error, but warning to use malformed type in "try-on" clause
regress_22438_test: fail # test issue 14079, it is not error, but warning to use malformed type in "try-on" clause
# test issue 14228
black_listed_test/none: fail # test issue 14228, warnings are required but not expected
# test issue 14410, "typedef C = " is now really illegal syntax
mixin_illegal_syntax_test/none: fail
# test issue 14736, It is a static warning if a class C declares an instance method named n and has a setter named n=.
setter4_test: StaticWarning
# test issue 15467
proxy_test/05: StaticWarning # Issue 15467
proxy_test/06: StaticWarning # Issue 15467
proxy3_test/03: StaticWarning # Issue 15467
proxy3_test/04: StaticWarning # Issue 15467
# test issue 18230
factory_redirection_test/02: StaticWarning # Issue 18230
factory_redirection_test/08: StaticWarning # Issue 18230
factory_redirection_test/09: StaticWarning # Issue 18230
factory_redirection_test/10: StaticWarning # Issue 18230
factory_redirection_test/11: StaticWarning # Issue 18230
factory_redirection_test/12: StaticWarning # Issue 18230
factory_redirection_test/13: StaticWarning # Issue 18230
factory_redirection_test/14: StaticWarning # Issue 18230
factory_redirection_test/none: StaticWarning # Issue 18230
# analyzer does not handle @proxy and noSuchMethod correctly
override_inheritance_no_such_method_test/03: StaticWarning # Issue 16132
override_inheritance_no_such_method_test/04: StaticWarning # Issue 16132
override_inheritance_no_such_method_test/05: StaticWarning # Issue 16132
# test issue 20074
regress_20074_test: CompileTimeError # Issue 20074
# The following tests are currently assumed to be failing because the test is wrong.
#
application_negative_test: CompileTimeError # Test Issue 14528
bad_constructor_test/05: CompileTimeError # Test Issue 5337
bad_initializer1_negative_test: CompileTimeError # Test Issue 14529
bad_named_constructor_negative_test: CompileTimeError # Test Issue 18693
body_less_constructor_wrong_arg_negative_test: CompileTimeError # Test Issue 18695
empty_block_case_test: StaticWarning # Test Issue 18701
error_stacktrace_test: StaticWarning # Test Issue 18702
const_counter_negative_test: CompileTimeError
const_optional_args_negative_test: CompileTimeError
constructor_redirect1_negative_test: CompileTimeError
constructor_redirect2_negative_test: CompileTimeError
constructor_setter_negative_test: CompileTimeError
duplicate_export_negative_test: CompileTimeError
duplicate_interface_negative_test: CompileTimeError
export_ambiguous_main_negative_test: CompileTimeError
extend_type_parameter2_negative_test: CompileTimeError
extend_type_parameter_negative_test: CompileTimeError
factory2_negative_test: CompileTimeError
factory2_test: StaticWarning # Test Issue 18727
factory3_negative_test: CompileTimeError
factory3_test: StaticWarning # Test Issue 18727
factory4_test: StaticWarning # Test Issue 18727
factory_implementation_test/00: StaticWarning
factory_negative_test: CompileTimeError
factory_redirection_test/01: StaticWarning # Test Issue 11578
factory_redirection_test/03: StaticWarning # Test Issue 11578
factory_redirection_test/05: StaticWarning # Test Issue 11578
factory_redirection_test/06: StaticWarning # Test Issue 11578
factory_return_type_checked_test: StaticWarning # Test Issue 18728
f_bounded_quantification4_test: StaticWarning
f_bounded_quantification5_test: StaticWarning
field1_negative_test: CompileTimeError
field2_negative_test: CompileTimeError
field3_negative_test: CompileTimeError
field4_negative_test: CompileTimeError
field5_negative_test: CompileTimeError
field6a_negative_test: CompileTimeError
field6_negative_test: CompileTimeError
first_class_types_literals_test/08: MissingStaticWarning # Issue 18731
first_class_types_literals_test/09: MissingStaticWarning # Issue 18731
first_class_types_literals_test/10: MissingStaticWarning # Issue 18731
first_class_types_literals_test/11: MissingStaticWarning # Issue 18731
first_class_types_literals_test/12: MissingStaticWarning # Issue 18731
function_malformed_result_type_test: StaticWarning
function_subtype_bound_closure7_test: StaticWarning
function_subtype_checked0_test: StaticWarning
function_subtype_closure0_test: StaticWarning
function_subtype_closure1_test: StaticWarning
function_subtype_factory1_test: StaticWarning
function_subtype_inline1_test: StaticWarning
function_type2_test: StaticWarning
function_type_parameter2_negative_test: CompileTimeError
function_type_parameter_negative_test: CompileTimeError
generic_list_checked_test: StaticWarning
generics_test: StaticWarning
generic_test: StaticWarning
getter_declaration_negative_test: CompileTimeError
getter_no_setter2_test/01: StaticWarning
getter_no_setter_test/01: StaticWarning
illegal_invocation_test/01: StaticWarning
implicit_this_test/02: StaticWarning
implied_interface_test: StaticWarning
import_combinators_test: StaticWarning
import_core_prefix_test: StaticWarning
inferrer_this_access_test: StaticWarning
inlined_throw_test: StaticWarning
instance_method2_negative_test: CompileTimeError
instance_method_negative_test: CompileTimeError
instanceof3_test: StaticWarning
instantiate_type_variable_test/01: StaticWarning
inst_field_initializer1_negative_test: CompileTimeError
interceptor6_test: StaticWarning
interface2_negative_test: CompileTimeError
interface_inherit_field_test: StaticWarning
interface_injection1_negative_test: CompileTimeError
interface_injection2_negative_test: CompileTimeError
interface_static_method_negative_test: CompileTimeError
invocation_mirror_test: StaticWarning
is_not_class1_negative_test: CompileTimeError
is_not_class2_test: StaticWarning
is_not_class4_negative_test: CompileTimeError
isnot_malformed_type_test: StaticWarning
issue1363_test: StaticWarning
issue1578_negative_test: CompileTimeError
label2_negative_test: CompileTimeError
label3_negative_test: CompileTimeError
label5_negative_test: CompileTimeError
label6_negative_test: CompileTimeError
label8_negative_test: CompileTimeError
label_test: StaticWarning
library_ambiguous_test/00: StaticWarning
library_ambiguous_test/01: StaticWarning
library_ambiguous_test/02: StaticWarning
library_ambiguous_test/03: StaticWarning
library_negative_test: CompileTimeError
list_literal2_negative_test: CompileTimeError
list_literal4_test: StaticWarning
list_literal_negative_test: CompileTimeError
list_test: StaticWarning
malbounded_type_cast_test: StaticWarning
malbounded_type_cast2_test: StaticWarning
malbounded_type_literal_test: StaticWarning
malbounded_type_test2_test: StaticWarning
malformed_type_test: StaticWarning
map_literal2_negative_test: CompileTimeError
map_literal3_test: StaticWarning
map_literal4_test: StaticWarning
map_literal6_test: StaticWarning
map_literal8_test: StaticWarning
map_literal_negative_test: CompileTimeError
method_override4_test: StaticWarning
method_override5_test: StaticWarning
method_override6_test: StaticWarning
method_override_test: StaticWarning
mixin_illegal_static_access_test: StaticWarning
mixin_illegal_syntax_test/13: CompileTimeError
mixin_type_parameters_mixin_extends_test: StaticWarning
mixin_type_parameters_mixin_test: StaticWarning
mixin_type_parameters_super_extends_test: StaticWarning
mixin_type_parameters_super_test: StaticWarning
mixin_with_two_implicit_constructors_test: StaticWarning
mixin_invalid_bound_test/none: StaticWarning # legitimate StaticWarning, cannot be annotated
mixin_invalid_bound2_test/none: StaticWarning # legitimate StaticWarning, cannot be annotated
mixin_super_bound_test: StaticWarning # legitimate StaticWarning, cannot be annotated
mixin_super_bound2_test: CompileTimeError # Issue 23772
mixin_super_test: CompileTimeError # Issue 23772
mixin_super_2_test: CompileTimeError # Issue 23772
mixin_super_use_test: CompileTimeError # Issue 23772
mixin_superclass_test: CompileTimeError # Issue 23772
named_constructor_test/01: StaticWarning
named_constructor_test/03: StaticWarning
named_parameters2_test: StaticWarning
named_parameters3_test: StaticWarning
named_parameters4_test: StaticWarning
named_parameters_test/01: StaticWarning
named_parameters_test/02: StaticWarning
named_parameters_test/03: StaticWarning
named_parameters_test/04: StaticWarning
named_parameters_test/05: StaticWarning
named_parameters_test/06: StaticWarning
named_parameters_test/07: StaticWarning
named_parameters_test/08: StaticWarning
named_parameters_test/09: StaticWarning
named_parameters_test/10: StaticWarning
named_parameters_type_test/01: StaticWarning
new_expression1_negative_test: CompileTimeError
new_expression2_negative_test: CompileTimeError
new_expression3_negative_test: CompileTimeError
non_const_super_negative_test: CompileTimeError
non_parameterized_factory2_test: StaticWarning
non_parameterized_factory_test: StaticWarning
no_such_constructor2_test: StaticWarning
no_such_method2_test: StaticWarning
no_such_method_dispatcher_test: StaticWarning
not_enough_positional_arguments_test/00: StaticWarning
not_enough_positional_arguments_test/01: CompileTimeError
not_enough_positional_arguments_test/02: StaticWarning
not_enough_positional_arguments_test/03: StaticWarning
not_enough_positional_arguments_test/05: StaticWarning
not_enough_positional_arguments_test/06: StaticWarning
not_enough_positional_arguments_test/07: StaticWarning
number_identifier_test/08: StaticWarning
number_identifier_test/09: StaticWarning
on_catch_malformed_type_test: StaticWarning
operator1_negative_test: CompileTimeError
operator2_negative_test: CompileTimeError
operator_equals_test: StaticWarning
optional_named_parameters_test/01: StaticWarning
optional_named_parameters_test/02: StaticWarning
optional_named_parameters_test/03: StaticWarning
optional_named_parameters_test/04: StaticWarning
optional_named_parameters_test/05: StaticWarning
optional_named_parameters_test/06: StaticWarning
optional_named_parameters_test/07: StaticWarning
optional_named_parameters_test/08: StaticWarning
optional_named_parameters_test/09: StaticWarning
override_field_method1_negative_test: CompileTimeError
override_field_method2_negative_test: CompileTimeError
override_field_method4_negative_test: CompileTimeError
override_field_method5_negative_test: CompileTimeError
parameter_initializer1_negative_test: CompileTimeError
parameter_initializer2_negative_test: CompileTimeError
parameter_initializer3_negative_test: CompileTimeError
parameter_initializer4_negative_test: CompileTimeError
parameter_initializer5_negative_test: CompileTimeError
parameter_initializer6_negative_test: CompileTimeError
parser_quirks_test: StaticWarning
part2_test: StaticWarning
positional_parameters_type_test/01: StaticWarning
prefix13_negative_test: CompileTimeError
prefix14_test: StaticWarning
prefix15_negative_test: CompileTimeError
prefix15_test: StaticWarning
prefix16_test: StaticWarning
prefix17_test: StaticWarning
prefix18_negative_test: CompileTimeError
prefix22_test: StaticWarning
prefix23_test: StaticWarning
prefix7_negative_test: CompileTimeError
property_field_override_test: StaticWarning
redirecting_factory_incompatible_signature_test: StaticWarning
regress_13494_test: StaticWarning
return_type_test: StaticWarning
script1_negative_test: CompileTimeError
script2_negative_test: CompileTimeError
setter_declaration2_negative_test: CompileTimeError
setter_declaration_negative_test: CompileTimeError
setter_no_getter_call_test/01: StaticWarning
source_self_negative_test: CompileTimeError
static_initializer_type_error_test: StaticWarning
string_escape4_negative_test: CompileTimeError
string_interpolate1_negative_test: CompileTimeError
string_interpolate2_negative_test: CompileTimeError
string_interpolate_test: StaticWarning
string_interpolation1_negative_test: CompileTimeError
string_interpolation2_negative_test: CompileTimeError
string_interpolation3_negative_test: CompileTimeError
string_interpolation4_negative_test: CompileTimeError
string_interpolation5_negative_test: CompileTimeError
string_interpolation6_negative_test: CompileTimeError
string_test: StaticWarning
string_unicode1_negative_test: CompileTimeError
string_unicode2_negative_test: CompileTimeError
string_unicode3_negative_test: CompileTimeError
string_unicode4_negative_test: CompileTimeError
super_assign_test: StaticWarning
super_call4_test: StaticWarning
super_getter_setter_test: StaticWarning
super_operator_index5_test: StaticWarning
super_operator_index6_test: StaticWarning
super_operator_index7_test: StaticWarning
super_operator_index8_test: StaticWarning
super_operator_test: StaticWarning
super_setter_test: StaticWarning
switch1_negative_test: CompileTimeError
switch3_negative_test: CompileTimeError
switch4_negative_test: CompileTimeError
switch5_negative_test: CompileTimeError
switch6_test: StaticWarning
switch7_negative_test: CompileTimeError
switch_fallthru_test: StaticWarning
test_negative_test: CompileTimeError
top_level_non_prefixed_library_test: StaticWarning
try_catch4_test: StaticWarning
try_catch5_test: StaticWarning
type_argument_in_super_type_test: StaticWarning
typed_selector2_test: StaticWarning
type_variable_identifier_expression_test: StaticWarning
type_variable_scope2_test: StaticWarning
type_variable_conflict2_test/02: MissingCompileTimeError
type_variable_conflict2_test/06: MissingCompileTimeError
type_variable_conflict2_test/08: MissingCompileTimeError
type_variable_conflict2_test/10: MissingCompileTimeError
unary_plus_negative_test: CompileTimeError
unbound_getter_test: StaticWarning
unhandled_exception_negative_test: CompileTimeError
unresolved_top_level_method_negative_test: StaticWarning
vm/debug_break_enabled_vm_test: CompileTimeError, OK
vm/type_cast_vm_test: StaticWarning
vm/type_vm_test: StaticWarning
void_type_test: StaticWarning
issue13474_test: StaticWarning, OK # Test Issue
# The following lines have been left in to quickly switch back to having deferred loading
# off by default again.
# Deferred loading support, tests marked as failing until support is enabled by default.
#deferred_closurize_load_library_test: Pass, Fail
#deferred_not_loaded_check_test/*: Pass, Fail
#deferred_shadow_load_library_test: Pass, Fail
#deferred_constraints_constants_test/*: Pass, Fail
#deferred_load_library_wrong_args_test/*: Pass, Fail
#deferred_constraints_type_annotation_test/*: Pass, Fail
#deferred_load_inval_code_test: Pass, Fail
#deferred_not_loaded_check_test: Pass, Fail
# Issues to be fixed now that type parameters have been fixed
# (issues 14221, 15553)
factory1_test/00: StaticWarning # Test Issue 18726
factory1_test/01: StaticWarning # Test Issue 18726
factory1_test/none: StaticWarning # Test Issue 18726
generic_closure_test: StaticWarning
local_function2_test: StaticWarning
redirecting_factory_long_test: StaticWarning
# This test uses "const Symbol('_setAt')"
vm/reflect_core_vm_test: CompileTimeError
# This test is expected to have warnings because of noSuchMethod overriding.
regress_12561_test: StaticWarning
main_not_a_function_test/01: Fail # Issue 20030
main_test/03: Fail # Issue 20030
no_main_test/01: Fail # Issue 20030
compile_time_constant10_test/none: CompileTimeError # Issue 21177
const_dynamic_type_literal_test: CompileTimeError # Issue 22989
regress_21912_test/02: StaticWarning # Issue 21912
regress_22976_test/02: StaticWarning # Issue 22976
variable_declaration_metadata_test/02: MissingCompileTimeError # Issue 23204
variable_declaration_metadata_test/03: MissingCompileTimeError # Issue 23204
variable_declaration_metadata_test/04: MissingCompileTimeError # Issue 23204
variable_declaration_metadata_test/06: MissingCompileTimeError # Issue 23204
variable_declaration_metadata_test/08: MissingCompileTimeError # Issue 23204
variable_declaration_metadata_test/09: MissingCompileTimeError # Issue 23204
variable_declaration_metadata_test/10: MissingCompileTimeError # Issue 23204
variable_declaration_metadata_test/12: MissingCompileTimeError # Issue 23204
variable_declaration_metadata_test/13: MissingCompileTimeError # Issue 23204
variable_declaration_metadata_test/14: MissingCompileTimeError # Issue 23204
variable_declaration_metadata_test/16: MissingCompileTimeError # Issue 23204
# Null-aware operators aren't implemented in the Java-based analyzer.
if_null_evaluation_order_test: CompileTimeError
if_null_precedence_test: CompileTimeError
if_null_behavior_test: CompileTimeError
if_null_assignment_behavior_test: CompileTimeError
if_null_assignment_static_test: CompileTimeError
conditional_property_assignment_test: CompileTimeError
conditional_property_access_test: CompileTimeError
conditional_method_invocation_test: CompileTimeError
# This test is expected to generate a warning, since it's
# intentionally referring to a variable that's not in scope.
transitive_private_library_access_test: StaticWarning
# Issue 16391. These tests are supposed to produce a compile time
# error in checked mode, but they don't:
[ $compiler == dartanalyzer && $checked ]
assign_static_type_test/02: MissingCompileTimeError # Issue 16391
compile_time_constant_checked2_test/02: MissingCompileTimeError # Issue 16391
compile_time_constant_checked2_test/03: MissingCompileTimeError # Issue 16391
compile_time_constant_checked2_test/04: MissingCompileTimeError # Issue 16391
compile_time_constant_checked2_test/06: MissingCompileTimeError # Issue 16391
compile_time_constant_checked3_test/02: MissingCompileTimeError # Issue 16391
compile_time_constant_checked3_test/03: MissingCompileTimeError # Issue 16391
compile_time_constant_checked3_test/04: MissingCompileTimeError # Issue 16391
compile_time_constant_checked3_test/06: MissingCompileTimeError # Issue 16391
compile_time_constant_checked4_test/01: MissingCompileTimeError # Issue 16391
compile_time_constant_checked4_test/02: MissingCompileTimeError # Issue 16391
compile_time_constant_checked4_test/03: MissingCompileTimeError # Issue 16391
compile_time_constant_checked_test/02: MissingCompileTimeError # Issue 16391
const_constructor2_test/13: MissingCompileTimeError # Issue 16391
const_constructor2_test/14: MissingCompileTimeError # Issue 16391
const_constructor2_test/15: MissingCompileTimeError # Issue 16391
const_constructor2_test/16: MissingCompileTimeError # Issue 16391
const_constructor2_test/17: MissingCompileTimeError # Issue 16391
const_constructor2_test/20: MissingCompileTimeError # Issue 16391
const_constructor2_test/22: MissingCompileTimeError # Issue 16391
const_constructor2_test/24: MissingCompileTimeError # Issue 16391
const_constructor3_test/02: MissingCompileTimeError # Issue 16391
const_constructor3_test/04: MissingCompileTimeError # Issue 16391
const_init2_test/02: MissingCompileTimeError # Issue 16391
malformed2_test/01: MissingCompileTimeError # Issue 16391
type_check_const_function_typedef2_test/00: MissingCompileTimeError # Issue 16391
type_parameter_test/05: MissingCompileTimeError # Issue 16391
compile_time_constant_checked5_test/03: MissingCompileTimeError # Issue 23292
compile_time_constant_checked5_test/04: MissingCompileTimeError # Issue 23292
compile_time_constant_checked5_test/08: MissingCompileTimeError # Issue 23292
compile_time_constant_checked5_test/09: MissingCompileTimeError # Issue 23292
compile_time_constant_checked5_test/13: MissingCompileTimeError # Issue 23292
compile_time_constant_checked5_test/14: MissingCompileTimeError # Issue 23292
compile_time_constant_checked5_test/18: MissingCompileTimeError # Issue 23292
compile_time_constant_checked5_test/19: MissingCompileTimeError # Issue 23292

View file

@ -28,7 +28,6 @@ const List<String> COMMON_ARGUMENTS =
const List<List<String>> COMMAND_LINES = const <List<String>>[
const <String>['-mrelease,debug', '-rvm', '-cnone'],
const <String>['-mrelease,debug', '-rvm', '-cnone', '--checked'],
const <String>['-mrelease', '-rnone', '-cdartanalyzer'],
const <String>['-mrelease', '-rnone', '-cdart2analyzer'],
const <String>['-mrelease', '-rd8', '-cdart2js', '--use-sdk'],
const <String>['-mrelease', '-rd8,jsshell', '-cdart2js', '--use-sdk',

View file

@ -64,12 +64,8 @@ abstract class CompilerConfiguration {
bool useNoopt = configuration['noopt'];
switch (compiler) {
case 'dartanalyzer':
return new AnalyzerCompilerConfiguration(
'dartanalyzer', isDebug: isDebug, isChecked: isChecked,
isHostChecked: isHostChecked, useSdk: useSdk);
case 'dart2analyzer':
return new DartBasedAnalyzerCompilerConfiguration(
return new AnalyzerCompilerConfiguration(
isDebug: isDebug, isChecked: isChecked,
isHostChecked: isHostChecked, useSdk: useSdk);
case 'dart2js':
@ -298,12 +294,8 @@ class Dart2jsCompilerConfiguration extends Dart2xCompilerConfiguration {
}
}
/// Common configuration for analyzer-based tools, such as, dartanalyzer.
class AnalyzerCompilerConfiguration extends CompilerConfiguration {
final String moniker;
AnalyzerCompilerConfiguration(
this.moniker,
{bool isDebug,
bool isChecked,
bool isHostChecked,
@ -316,54 +308,6 @@ class AnalyzerCompilerConfiguration extends CompilerConfiguration {
return 4;
}
String computeCompilerPath(String buildDir) {
String suffix = executableScriptSuffix;
return 'sdk/bin/dartanalyzer_java$suffix';
}
CommandArtifact computeCompilationArtifact(
String buildDir,
String tempDir,
CommandBuilder commandBuilder,
List arguments,
Map<String, String> environmentOverrides) {
arguments = new List.from(arguments);
if (isChecked) {
arguments.add('--enable_type_checks');
}
return new CommandArtifact(
<Command>[
commandBuilder.getAnalysisCommand(
moniker, computeCompilerPath(buildDir), arguments,
environmentOverrides,
flavor: moniker)],
null, null); // Since this is not a real compilation, no artifacts are
// produced.
}
List<String> computeRuntimeArguments(
RuntimeConfiguration runtimeConfiguration,
String buildDir,
TestInformation info,
List<String> vmOptions,
List<String> sharedOptions,
List<String> originalArguments,
CommandArtifact artifact) {
return <String>[];
}
}
class DartBasedAnalyzerCompilerConfiguration
extends AnalyzerCompilerConfiguration {
DartBasedAnalyzerCompilerConfiguration({
bool isDebug,
bool isChecked,
bool isHostChecked,
bool useSdk})
: super(
'dart2analyzer', isDebug: isDebug, isChecked: isChecked,
isHostChecked: isHostChecked, useSdk: useSdk);
String computeCompilerPath(String buildDir) {
var prefix = 'sdk/bin';
String suffix = executableScriptSuffix;
@ -381,4 +325,35 @@ class DartBasedAnalyzerCompilerConfiguration
}
return '$prefix/dartanalyzer$suffix';
}
CommandArtifact computeCompilationArtifact(
String buildDir,
String tempDir,
CommandBuilder commandBuilder,
List arguments,
Map<String, String> environmentOverrides) {
arguments = new List.from(arguments);
if (isChecked) {
arguments.add('--enable_type_checks');
}
return new CommandArtifact(
<Command>[
commandBuilder.getAnalysisCommand(
'dart2analyzer', computeCompilerPath(buildDir), arguments,
environmentOverrides,
flavor: 'dart2analyzer')],
null, null); // Since this is not a real compilation, no artifacts are
// produced.
}
List<String> computeRuntimeArguments(
RuntimeConfiguration runtimeConfiguration,
String buildDir,
TestInformation info,
List<String> vmOptions,
List<String> sharedOptions,
List<String> originalArguments,
CommandArtifact artifact) {
return <String>[];
}
}

View file

@ -9,8 +9,8 @@ List<Map> LINUX_COMBINATIONS = [
{
'runtimes' : ['none'],
'modes' : ['release'],
'archs' : ['ia32'],
'compiler' : 'dartanalyzer'
'archs' : ['x64'],
'compiler' : 'dart2analyzer'
},
{
'runtimes' : ['vm'],

View file

@ -64,11 +64,10 @@ class TestOptionsParser {
safari, ie9, ie10, ie11, firefox, opera, chromeOnAndroid,
none (compile only)),
dartanalyzer: Perform static analysis on Dart code by running the analyzer on Java.
dart2analyzer: Perform static analysis on Dart code by running the analyzer on Dart.
dart2analyzer: Perform static analysis on Dart code by running the analyzer
(only valid with the following runtimes: none)''',
['-c', '--compiler'],
['none', 'dart2js', 'dartanalyzer', 'dart2analyzer'],
['none', 'dart2js', 'dart2analyzer'],
'none'),
// TODO(antonm): fix the option drt.
new _TestOptionSpecification(
@ -93,7 +92,7 @@ class TestOptionsParser {
[ff | chrome | safari | ie9 | ie10 | ie11 | opera | chromeOnAndroid]:
Run JavaScript in the specified browser.
none: No runtime, compile only (for example, used for dartanalyzer static
none: No runtime, compile only (for example, used for dart2analyzer static
analysis tests).''',
['-r', '--runtime'],
['vm', 'd8', 'jsshell', 'drt', 'dartium', 'ff', 'firefox',
@ -642,7 +641,6 @@ Note: currently only implemented for dart2js.''',
'ff', 'chrome', 'safari', 'ie9', 'ie10', 'ie11',
'opera', 'chromeOnAndroid', 'safarimobilesim'];
break;
case 'dartanalyzer':
case 'dart2analyzer':
validRuntimes = const ['none'];
break;

View file

@ -610,7 +610,7 @@ class CommandBuilder {
AnalysisCommand getAnalysisCommand(
String displayName, executable, arguments, environmentOverrides,
{String flavor: 'dartanalyzer'}) {
{String flavor: 'dart2analyzer'}) {
var command = new AnalysisCommand._(
flavor, displayName, executable, arguments, environmentOverrides);
return _getUniqueCommand(command);
@ -2450,7 +2450,8 @@ class CommandExecutorImpl implements CommandExecutor {
final int maxProcesses;
final int maxBrowserProcesses;
// For dartanalyzer batch processing we keep a list of batch processes.
// For dart2js and analyzer batch processing,
// we keep a list of batch processes.
final _batchProcesses = new Map<String, List<BatchRunnerProcess>>();
// We keep a BrowserTestRunner for every configuration.
final _browserTestRunners = new Map<Map, BrowserTestRunner>();

View file

@ -674,7 +674,6 @@ class StandardTestSuite extends TestSuite {
var status_paths = ['$directory/$name.status',
'$directory/.status',
'$directory/${name}_dart2js.status',
'$directory/${name}_analyzer.status',
'$directory/${name}_analyzer2.status'];
return new StandardTestSuite(configuration,
@ -1502,7 +1501,6 @@ class StandardTestSuite extends TestSuite {
case 'none':
return 'application/dart';
case 'dart2js':
case 'dartanalyzer':
case 'dart2analyzer':
return 'text/javascript';
default:
@ -1551,8 +1549,7 @@ class StandardTestSuite extends TestSuite {
args.add('--no-hints');
}
if ((configuration["compiler"] == "dartanalyzer" ||
configuration["compiler"] == "dart2analyzer") &&
if (configuration["compiler"] == "dart2analyzer" &&
(filePath.filename.contains("dart2js") ||
filePath.directoryPath.segments().last.contains('html_common'))) {
args.add("--use-dart2js-libraries");
@ -2247,7 +2244,7 @@ class TestUtils {
if (compiler == "dart2js" && configuration["cps_ir"]) {
args.add("--use-cps-ir");
}
if (compiler == "dartanalyzer" || compiler == "dart2analyzer") {
if (compiler == "dart2analyzer") {
args.add("--show-package-warnings");
args.add("--enable-async");
}
@ -2277,7 +2274,7 @@ class TestUtils {
const ['d8', 'jsshell'].contains(runtime);
static bool isCommandLineAnalyzer(String compiler) =>
compiler == 'dartanalyzer' || compiler == 'dart2analyzer';
compiler == 'dart2analyzer';
static String buildDir(Map configuration) {
// FIXME(kustermann,ricow): Our code assumes that the returned 'buildDir'