diff options
author | Jesse Luehrs <doy@tozt.net> | 2019-12-05 03:12:51 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2019-12-06 21:26:07 -0500 |
commit | 820acef50154e1fbfd1559d4113c0a83505a9612 (patch) | |
tree | cadf92a70b2309813da6822b6b299a59ab035d32 /bin | |
parent | 9dffd607455fac176a2eece2571d3c49901175f4 (diff) | |
download | vt100-rust-820acef50154e1fbfd1559d4113c0a83505a9612.tar.gz vt100-rust-820acef50154e1fbfd1559d4113c0a83505a9612.zip |
add a mechanism for autogenerating test fixtures
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/regen-fixtures | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/bin/regen-fixtures b/bin/regen-fixtures new file mode 100755 index 0000000..88384a1 --- /dev/null +++ b/bin/regen-fixtures @@ -0,0 +1,6 @@ +#!/bin/sh +set -eu + +for file in tests/data/fixtures/*.in; do + cargo run --example generate_fixture "$(basename "$file" .in)" +done |