m3_lightmeter/integration_test/generate_timelines.sh

25 lines
870 B
Bash
Raw Normal View History

2023-10-02 09:57:59 +00:00
flutter --version
fvm flutter build apk \
2023-10-02 09:53:26 +00:00
--dart-define="cameraPreviewAspectRatio=240/320" \
--dart-define="cameraStubImage=assets/camera_stub_image.jpg" \
2023-10-02 11:50:38 +00:00
--target=integration_test/metering_test.dart \
2023-10-02 09:53:26 +00:00
--profile \
2023-10-02 09:57:59 +00:00
--flavor=dev
2023-10-02 11:50:38 +00:00
for n in {1..2}; do
2023-10-02 09:57:59 +00:00
echo "============ Run number ${n} ============"
flutter drive \
--dart-define="cameraPreviewAspectRatio=240/320" \
--dart-define="cameraStubImage=assets/camera_stub_image.jpg" \
2023-10-02 11:50:38 +00:00
--driver=test_driver/performance_driver.dart \
--target=integration_test/metering_test.dart \
2023-10-02 09:57:59 +00:00
--profile \
--flavor=dev \
--no-dds \
--endless-trace-buffer \
--purge-persistent-cache \
--use-application-binary=build/app/outputs/flutter-apk/app-dev-profile.apk
done
2023-10-02 11:50:38 +00:00
sh integration_test/extract_benchmarks.sh toggle_iso_picker_baseline