mirror of
https://github.com/dart-lang/sdk
synced 2024-11-02 12:24:24 +00:00
a08e829ff2
A basic bisection script. Currently only supports substring matching for detecting the error. This was enough for three use cases today: * https://github.com/dart-lang/sdk/issues/52910 * https://github.com/dart-lang/sdk/issues/52911 * https://github.com/dart-lang/sdk/issues/52912 Produces a concise output on standard out, and a very detailed log with all process invocation results in `.dart_tool/bisect_dart`. Usage: tools/bisect.dart -Dstart=23f41452 -Dend=2c97bd78 -Dtest_command="tools/test.py --build -n dartk-linux-debug-x64 lib_2/isolate/package_resolve_test" -Dfailure_string="Error: The argument type 'String' can't be assigned to the parameter type 'Uri'." -Dsdk_path=/usr/local/google/home/dacoharkes/dart-sdk/sdk/ -Dname=20230712_package_resolve_test This script starts a bisection in the provided SDK path. It will write logs to .dart_tool/bisect_dart/. start : The commit has at the start of the commit range. end : The commit has at the end of the commit range. test_command : The invocation of test.py. This should include `--build`. This should be within quotes when passed in terminal because of spaces. failure_string : A string from the failing output. Regexes are not yet supported. This should be within quotes when passed in terminal when containing spaces. sdk_path : The SDK path is optional. The SDK path defaults to the current working directory. name : The name is optional. The name defaults to the current date and the recognized test name. The name is used for distinguishing logs. Change-Id: Ib071a5305d4992cf189e35eb3dcc50c83101503e Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/313384 Commit-Queue: Daco Harkes <dacoharkes@google.com> Reviewed-by: Martin Kustermann <kustermann@google.com>
110 lines
1.5 KiB
Text
110 lines
1.5 KiB
Text
# Build artifacts and dependencies.
|
|
/.children
|
|
/.project
|
|
/Makefile
|
|
/base
|
|
/benchmarks-internal
|
|
/buildtools
|
|
/ipch
|
|
/out
|
|
/xcodebuild
|
|
/.flaky.log
|
|
/.debug.log
|
|
*.Makefile
|
|
*.opensdf
|
|
*.sdf
|
|
*.sln
|
|
*.suo
|
|
*.target.mk
|
|
*.host.mk
|
|
*.vcproj
|
|
*.vcxproj
|
|
*.vcxproj.filters
|
|
/*.vcxproj.user
|
|
*.stamp
|
|
|
|
# Gyp generated files
|
|
*.xcodeproj
|
|
*.intermediate
|
|
|
|
# Eclipse config files - also in all subdirectories.
|
|
.children
|
|
.project
|
|
.settings
|
|
|
|
# IntelliJ project files
|
|
*.iml
|
|
.idea
|
|
CMakeLists.txt
|
|
.clang_complete
|
|
cmake-build-debug
|
|
|
|
# VS project files
|
|
.vs
|
|
|
|
# VSCode project files
|
|
.vscode
|
|
.history
|
|
|
|
# https://github.com/Dart-Code/Dart-Code/issues/1295
|
|
/analysis_options.yaml
|
|
|
|
# analysis server files
|
|
compile_commands.json
|
|
|
|
# GDB files
|
|
.gdb_history
|
|
|
|
# Clangd files
|
|
.cache/clangd
|
|
.clangd
|
|
|
|
# Built by chromebot and downloaded from Google Storage
|
|
client/tests/drt
|
|
|
|
# Compiled python binaries
|
|
*.pyc
|
|
|
|
# pydev project file.
|
|
.pydevproject
|
|
|
|
# From the Mac OS X Finder
|
|
.DS_Store
|
|
|
|
# Pub generated "packages" directories and files
|
|
packages
|
|
pubspec.lock
|
|
|
|
# Files for native assets auto-generated per checkout.
|
|
/.dart_tool/native_assets_builder/
|
|
|
|
# The top level package file (this is auto-generated per checkout).
|
|
/.dart_tool/package_config.json
|
|
|
|
# Local pub storage
|
|
.pub
|
|
|
|
# Vim temporary swap files.
|
|
*.swp
|
|
|
|
# Kate temporary files.
|
|
*~
|
|
*.kate-swp
|
|
|
|
# Merge files.
|
|
*.orig
|
|
*.rej
|
|
|
|
# Generated files.
|
|
tools/dartium/out
|
|
tools/out
|
|
tools/xcodebuild
|
|
.test-outcome.log
|
|
/outline.dill
|
|
/generated/
|
|
/crash_logs/
|
|
/build/config/gclient_args.gni
|
|
/pkg/front_end/testcases/old_dills/
|
|
logs/logs.json
|
|
logs/results.json
|
|
.dart_tool/bisect_dart/
|