From fbb0f8bcd3ff5989ccd9e640427cdb014da95168 Mon Sep 17 00:00:00 2001 From: Joshua Liebow-Feeser Date: Tue, 24 Sep 2024 06:46:53 -0700 Subject: [PATCH] [tools] Refactor update-ui-test-files.sh (#1743) This change makes it easier to copy+paste from the script when working manually, which is a common workflow. --- tools/update-ui-test-files.sh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/tools/update-ui-test-files.sh b/tools/update-ui-test-files.sh index c95fd18648..fe40be9a53 100755 --- a/tools/update-ui-test-files.sh +++ b/tools/update-ui-test-files.sh @@ -12,6 +12,8 @@ set -e -TRYBUILD=overwrite ./cargo.sh +nightly test ui --test trybuild --workspace --all-features -TRYBUILD=overwrite ./cargo.sh +stable test ui --test trybuild --workspace --features=__internal_use_only_features_that_work_on_stable -TRYBUILD=overwrite ./cargo.sh +msrv test ui --test trybuild --workspace --features=__internal_use_only_features_that_work_on_stable +TRYBUILD=overwrite ./cargo.sh +nightly test ui --test trybuild -p zerocopy --all-features +TRYBUILD=overwrite ./cargo.sh +stable test ui --test trybuild -p zerocopy --features=__internal_use_only_features_that_work_on_stable +TRYBUILD=overwrite ./cargo.sh +msrv test ui --test trybuild -p zerocopy --features=__internal_use_only_features_that_work_on_stable + +TRYBUILD=overwrite ./cargo.sh +all test ui --test trybuild -p zerocopy-derive