Skip to content

Commit

Permalink
Re-enable DevTools tests (#432)
Browse files Browse the repository at this point in the history
Reverts #431 to re-land #430
  • Loading branch information
kenzieschmoll authored Dec 3, 2024
1 parent 818a2c8 commit 2cac713
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 2 deletions.
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

0 comments on commit 2cac713

Please sign in to comment.