Skip to content

Commit

Permalink
Skip subdir test with ddc
Browse files Browse the repository at this point in the history
Seems like we can't load multiple ddc entrypoints
  • Loading branch information
simolus3 committed Sep 23, 2024
1 parent ed1b221 commit f0530f1
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
6 changes: 5 additions & 1 deletion _test/dart_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,14 @@ timeout: 16x
concurrency: 1

tags:
integration:
# This tag is used for integration tests - we don't need special options at the
# moment, but want to avoid warnings from the test runner about using undefined
# targets.
integration:
# Used for subdir_source_test.dart, which deliberately includes multiple Dart
# entrypoints where one is from a subdirectory. Multiple entrypoints don't
# appear to work with ddc, so we skip this test when running ddc tests.
multiple-entrypoints:

define_platforms:
chrome_without_wasm:
Expand Down
4 changes: 2 additions & 2 deletions _test/mono_pkg.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ stages:
- analyze: --fatal-infos .
os: linux
- unit_test:
- command: dart run build_runner test -- -p chrome --test-randomize-ordering-seed=random
# TODO(https://github.com/dart-lang/build/issues/3423): restore this on windows
- command: dart run build_runner test -- -p chrome --test-randomize-ordering-seed=random -x multiple-entrypoints
# TODO(https://github.com/dart-lang/build/issues/3423): restore this on windows
- command: dart run build_runner test -- -p vm test/configurable_uri_test.dart --test-randomize-ordering-seed=random
os: linux
- e2e_test:
Expand Down
3 changes: 3 additions & 0 deletions _test/test/subdir_source_test.dart
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
// Copyright (c) 2024, 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.
@Tags(['multiple-entrypoints'])
library;

import 'dart:js_interop';
import 'dart:js_interop_unsafe';

Expand Down

0 comments on commit f0530f1

Please sign in to comment.