Skip to content

Conversation

@baloo
Copy link
Member

@baloo baloo commented Sep 20, 2025

This is the downstream change of RustCrypto/traits#2019 (RustCrypto/traits#1803)

This uses the tool described in
RustCrypto/traits#2019 and this script:

find -name '*.blb' ! -path "./mgm/tests/data/*" -exec ./split-blobby {} \;  -delete

and a sed script to split most of the tests:

for p in $(rg -l aead::new_test); do
  sed -i '/aead::new_test!/ {
    h;
    s/new_test!/new_pass_test!/;
    s/,/_pass,/;
    s/",/_pass",/;
    p;

    g;
    s/new_test!/new_fail_test!/;
    s/,/_fail,/;
    s/",/_fail",/
  }' $p;
done

@baloo baloo force-pushed the baloo/aead/split-tests branch from afca194 to 7d2be27 Compare September 20, 2025 05:01
@baloo baloo marked this pull request as draft September 20, 2025 05:01
@baloo baloo marked this pull request as ready for review September 20, 2025 14:54
@baloo baloo force-pushed the baloo/aead/split-tests branch from 7d2be27 to 5842040 Compare September 20, 2025 14:55
This uses the tool described in
RustCrypto/traits#2019 and this script:
```
find -name '*.blb' ! -path "./mgm/tests/data/*" -exec ./split-blobby {} \;  -delete
```

and a sed script to split most of the tests:
```
for p in $(rg -l aead::new_test); do
  sed -i '/aead::new_test!/ {
    h; 
    s/new_test!/new_pass_test!/; 
    s/,/_pass,/;
    s/",/_pass",/;
    p;

    g;
    s/new_test!/new_fail_test!/;
    s/,/_fail,/;
    s/",/_fail",/
  }' $p; 
done
```
@baloo baloo force-pushed the baloo/aead/split-tests branch from 5842040 to 9be3575 Compare September 20, 2025 14:59
@newpavlov newpavlov merged commit 3970b3e into RustCrypto:master Sep 22, 2025
120 checks passed
@baloo baloo deleted the baloo/aead/split-tests branch September 22, 2025 13:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants