Skip to content

Commit

Permalink
Use cargo run to generate test reference
Browse files Browse the repository at this point in the history
  • Loading branch information
0x2a-42 committed Dec 25, 2024
1 parent 4e1e712 commit 917f227
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/generate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ fn ${file%.llw}() {
let diags = gen_diags("$path");
let mut lines = diags.lines();
EOF
diag=$(llw -cs "$path" 2>&1 > /dev/null)
diag=$(cargo run --quiet --features=cli --bin=llw -- -cs "$path" 2>&1 > /dev/null)
echo >> $output
echo "$diag" | while read -r line ; do
if [ ! -z "$line" ]; then
Expand Down

0 comments on commit 917f227

Please sign in to comment.