Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit 8c43332

Browse files
authored
Moves impeller/golden_tests_harvester to tools/golden_tests_harvester (#50211)
The tool is not Impeller specific, so moving it to the `tools/` directory.
1 parent 0266492 commit 8c43332

File tree

14 files changed

+5
-19
lines changed

14 files changed

+5
-19
lines changed

ci/analyze.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@ echo ""
4848

4949
"$DART" analyze --fatal-infos --fatal-warnings "$FLUTTER_DIR/ci"
5050
"$DART" analyze --fatal-infos --fatal-warnings "$FLUTTER_DIR/flutter_frontend_server"
51-
"$DART" analyze --fatal-infos --fatal-warnings "$FLUTTER_DIR/impeller/golden_tests_harvester"
5251
"$DART" analyze --fatal-infos --fatal-warnings "$FLUTTER_DIR/impeller/tessellator/dart"
5352
"$DART" analyze --fatal-infos --fatal-warnings "$FLUTTER_DIR/lib/gpu"
5453
"$DART" analyze --fatal-infos --fatal-warnings "$FLUTTER_DIR/lib/ui"

ci/licenses_golden/excluded_files

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -166,13 +166,6 @@
166166
../../../flutter/impeller/geometry/size_unittests.cc
167167
../../../flutter/impeller/geometry/trig_unittests.cc
168168
../../../flutter/impeller/golden_tests/README.md
169-
../../../flutter/impeller/golden_tests_harvester/.dart_tool
170-
../../../flutter/impeller/golden_tests_harvester/.gitignore
171-
../../../flutter/impeller/golden_tests_harvester/README.md
172-
../../../flutter/impeller/golden_tests_harvester/analysis_options.yaml
173-
../../../flutter/impeller/golden_tests_harvester/pubspec.lock
174-
../../../flutter/impeller/golden_tests_harvester/pubspec.yaml
175-
../../../flutter/impeller/golden_tests_harvester/test
176169
../../../flutter/impeller/image/README.md
177170
../../../flutter/impeller/playground
178171
../../../flutter/impeller/renderer/backend/gles/test

ci/licenses_golden/licenses_flutter

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5327,9 +5327,6 @@ ORIGIN: ../../../flutter/impeller/golden_tests/vulkan_screenshotter.h + ../../..
53275327
ORIGIN: ../../../flutter/impeller/golden_tests/vulkan_screenshotter.mm + ../../../flutter/LICENSE
53285328
ORIGIN: ../../../flutter/impeller/golden_tests/working_directory.cc + ../../../flutter/LICENSE
53295329
ORIGIN: ../../../flutter/impeller/golden_tests/working_directory.h + ../../../flutter/LICENSE
5330-
ORIGIN: ../../../flutter/impeller/golden_tests_harvester/bin/golden_tests_harvester.dart + ../../../flutter/LICENSE
5331-
ORIGIN: ../../../flutter/impeller/golden_tests_harvester/lib/golden_tests_harvester.dart + ../../../flutter/LICENSE
5332-
ORIGIN: ../../../flutter/impeller/golden_tests_harvester/lib/logger.dart + ../../../flutter/LICENSE
53335330
ORIGIN: ../../../flutter/impeller/image/backends/skia/compressed_image_skia.cc + ../../../flutter/LICENSE
53345331
ORIGIN: ../../../flutter/impeller/image/backends/skia/compressed_image_skia.h + ../../../flutter/LICENSE
53355332
ORIGIN: ../../../flutter/impeller/image/compressed_image.cc + ../../../flutter/LICENSE
@@ -8185,9 +8182,6 @@ FILE: ../../../flutter/impeller/golden_tests/vulkan_screenshotter.h
81858182
FILE: ../../../flutter/impeller/golden_tests/vulkan_screenshotter.mm
81868183
FILE: ../../../flutter/impeller/golden_tests/working_directory.cc
81878184
FILE: ../../../flutter/impeller/golden_tests/working_directory.h
8188-
FILE: ../../../flutter/impeller/golden_tests_harvester/bin/golden_tests_harvester.dart
8189-
FILE: ../../../flutter/impeller/golden_tests_harvester/lib/golden_tests_harvester.dart
8190-
FILE: ../../../flutter/impeller/golden_tests_harvester/lib/logger.dart
81918185
FILE: ../../../flutter/impeller/image/backends/skia/compressed_image_skia.cc
81928186
FILE: ../../../flutter/impeller/image/backends/skia/compressed_image_skia.h
81938187
FILE: ../../../flutter/impeller/image/compressed_image.cc

impeller/golden_tests/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
This is the executable that will generate the golden image results that can then
44
be sent to Skia Gold vial the
5-
[golden_tests_harvester]("../golden_tests_harvester").
5+
[golden_tests_harvester]("../../tools/golden_tests_harvester").
66

77
Running these tests should happen from
88
[//flutter/testing/run_tests.py](../../testing/run_tests.py). That will do all

testing/run_tests.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1110,7 +1110,7 @@ def run_impeller_golden_tests(build_dir: str):
11101110
'Cannot find the "impeller_golden_tests" executable in "%s". You may need to build it.'
11111111
% (build_dir)
11121112
)
1113-
harvester_path: Path = Path(SCRIPT_DIR).parent.joinpath('impeller').joinpath(
1113+
harvester_path: Path = Path(SCRIPT_DIR).parent.joinpath('tools').joinpath(
11141114
'golden_tests_harvester'
11151115
)
11161116
with tempfile.TemporaryDirectory(prefix='impeller_golden') as temp_dir:
File renamed without changes.
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ Reaps the output of impeller's golden image tests and sends it to Skia gold.
77
```sh
88
cd $SRC
99
./out/host_debug_unopt_arm64/impeller_golden_tests --working_dir=~/Desktop/temp
10-
cd flutter/impeller/golden_tests_harvester
10+
cd flutter/tools/golden_tests_harvester
1111
dart run ./bin/golden_tests_harvester.dart ~/Desktop/temp
1212
```
1313

14-
See also [golden_tests](../golden_tests/).
14+
See also [golden_tests](../impeller/golden_tests/).
File renamed without changes.

impeller/golden_tests_harvester/bin/golden_tests_harvester.dart renamed to tools/golden_tests_harvester/bin/golden_tests_harvester.dart

File renamed without changes.

impeller/golden_tests_harvester/lib/golden_tests_harvester.dart renamed to tools/golden_tests_harvester/lib/golden_tests_harvester.dart

File renamed without changes.

0 commit comments

Comments
 (0)