From b0b1cc356694cc3ff6a81c82b6c6f04942c1a4af Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Mon, 5 Dec 2022 18:26:47 -0700 Subject: [PATCH] delete another rogue file I didn't see this one until pushing the previous commit --- test.sh | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100755 test.sh diff --git a/test.sh b/test.sh deleted file mode 100755 index d57f2af18f..0000000000 --- a/test.sh +++ /dev/null @@ -1,20 +0,0 @@ -#!/bin/bash -if [[ $1 == --enable-fixed-behavior ]]; then - declare -A offsets - git g -n stage2_c test/behavior | while read -r match; do - printf '\e[36mTrying to enable... %s\e[m\n' "$match" - file=`cut -d: -f1 <<<"$match"` - offset=${offsets[$file]:=0} - let line=`cut -d: -f2 <<<"$match"`-$offset - contents=`cut -d: -f3- <<<"$match"` - sed --in-place "${line}d" "$file" - if zigd test -Itest test/behavior.zig -fno-stage1 -fno-LLVM -ofmt=c; then - printf '\e[32mTest was enabled! :)\e[m\n' - let offsets[$file]+=1 - else - printf '\e[31mTest kept disabled. :(\e[m\n' - sed --in-place "${line}i\\ -$contents" "$file" - fi - done -fi