diff options
| author | nsfisis <nsfisis@gmail.com> | 2026-06-22 23:39:59 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2026-06-22 23:43:18 +0900 |
| commit | 894764ecb04f9c456b9ebda77d155bf6128e2175 (patch) | |
| tree | 5bd69c0e127bc257513c02a13541d876d722a931 /Cargo.lock | |
| parent | 3b783e97a9aac366a7d6e26059961ba53d5e8b20 (diff) | |
| download | php-shirabe-894764ecb04f9c456b9ebda77d155bf6128e2175.tar.gz php-shirabe-894764ecb04f9c456b9ebda77d155bf6128e2175.tar.zst php-shirabe-894764ecb04f9c456b9ebda77d155bf6128e2175.zip | |
test(cli): serialize cli_tests via serial_test
Replace the hand-rolled `SERIAL` mutex guarding process-global env access
with serial_test's `#[serial]` attribute on each test.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Diffstat (limited to 'Cargo.lock')
| -rw-r--r-- | Cargo.lock | 37 |
1 files changed, 37 insertions, 0 deletions
@@ -457,6 +457,17 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7e3450815272ef58cec6d564423f6e755e25379b217b0bc688e295ba24df6b1d" [[package]] +name = "futures-executor" +version = "0.3.32" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "baf29c38818342a3b26b5b923639e7b1f4a61fc5e76102d4b1981c6dc7a7579d" +dependencies = [ + "futures-core", + "futures-task", + "futures-util", +] + +[[package]] name = "futures-sink" version = "0.3.32" source = "registry+https://github.com/rust-lang/crates.io-index" @@ -1574,6 +1585,31 @@ dependencies = [ ] [[package]] +name = "serial_test" +version = "3.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "699f4197115b8a7e7ff19c9a315a4bd6fffec26cc4626ef45ecaea389e081c6d" +dependencies = [ + "futures-executor", + "futures-util", + "log", + "once_cell", + "parking_lot", + "serial_test_derive", +] + +[[package]] +name = "serial_test_derive" +version = "3.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "94e153fc76e1c6a068703d6d29c508a0b15c061c4b7e43da59cc097bc342673c" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + +[[package]] name = "sha1" version = "0.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" @@ -1619,6 +1655,7 @@ dependencies = [ "regex", "serde", "serde_json", + "serial_test", "sha1", "shirabe-class-map-generator", "shirabe-external-packages", |
