From e1a4f30488d0912bfa38e05518f9757e9010335e Mon Sep 17 00:00:00 2001 From: mxr <> Date: Wed, 25 Mar 2026 19:48:23 +0800 Subject: [PATCH] =?UTF-8?q?test(test)=E4=BF=AE=E6=94=B9=E6=B5=8B=E8=AF=95?= =?UTF-8?q?=E8=84=9A=E6=9C=ACrun.sh=E7=94=A8=E4=BA=8E=E6=89=B9=E9=87=8F?= =?UTF-8?q?=E6=B5=8B=E8=AF=95=E8=AF=AD=E4=B9=89=E5=88=86=E6=9E=90=E7=BB=93?= =?UTF-8?q?=E6=9E=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- run.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/run.sh b/run.sh index cbd493f..c7dd5b1 100755 --- a/run.sh +++ b/run.sh @@ -59,10 +59,12 @@ for file in "${TEST_FILES[@]}"; do echo "========== $file ==========" >> "$RESULT_FILE" if [ $VERBOSE -eq 1 ]; then - "$COMPILER" --emit-parse-tree "$file" 2>&1 | tee -a "$RESULT_FILE" + # "$COMPILER" --emit-parse-tree "$file" 2>&1 | tee -a "$RESULT_FILE" + "$COMPILER" --emit-ir "$file" 2>&1 | tee -a "$RESULT_FILE" result=${PIPESTATUS[0]} else - "$COMPILER" --emit-parse-tree "$file" >> "$RESULT_FILE" 2>&1 + # "$COMPILER" --emit-parse-tree "$file" >> "$RESULT_FILE" 2>&1 + "$COMPILER" --emit-ir "$file" >> "$RESULT_FILE" 2>&1 result=$? fi