Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Re-enable DevTools tests #432

Merged
merged 2 commits into from
Dec 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
flutter
logs/
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,11 @@
[email protected]

fetch=git -c core.longPaths=true clone https://github.com/flutter/devtools.git tests
fetch=git -c core.longPaths=true -C tests checkout 3601dafcbbc8ab9c7b7fb210e763140d6e755762

# NOTE: this commit hash should also match the hash in flutter_devtools_analysis.test.
# The analysis and testing for DevTools have been split into two different
# registry to speed up performance.
fetch=git -c core.longPaths=true -C tests checkout c5c0673adf7bb7706e5de091bee5aa3f1fc3a699

setup.linux=./tool/flutter_customer_tests/setup.sh >> output.txt

Expand All @@ -13,7 +17,7 @@ update=packages/devtools_extensions
update=packages/devtools_shared
update=packages/devtools_test

test.linux=./tool/flutter_customer_tests/analyze.sh
# Analysis of the DevTools codebase is performed in flutter_devtools_analysis.test.

# TODO(kenz): if we can exclude golden image tests (or switch to Mock Canvas?)
# run these tests on all platforms.
Expand Down
26 changes: 26 additions & 0 deletions registry/flutter_devtools_analysis.test
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Analysis of https://github.com/flutter/devtools

[email protected]

fetch=git -c core.longPaths=true clone https://github.com/flutter/devtools.git tests

# NOTE: this commit hash should also match the hash in flutter_devtools.test.
# The analysis and testing for DevTools have been split into two different
# registry to speed up performance.
fetch=git -c core.longPaths=true -C tests checkout c5c0673adf7bb7706e5de091bee5aa3f1fc3a699

# Mock generation required. Otherwise the test code will show analysis errors.
setup.linux=./tool/flutter_customer_tests/setup.sh >> output.txt

update=packages/devtools_app
update=packages/devtools_app_shared
update=packages/devtools_extensions
update=packages/devtools_shared
update=packages/devtools_test

test.linux=./tool/flutter_customer_tests/analyze.sh

# Testing of the DevTools tests is performed in flutter_devtools.test.

# Reduce number of iterations to 1 since analysis will not change with more iterations.
iterations=1
Loading