From d7328001494f2173b29bfc1b385c394c7c599580 Mon Sep 17 00:00:00 2001 From: ladev789 Date: Thu, 7 Aug 2025 00:36:43 +0800 Subject: [PATCH] =?UTF-8?q?[midend-llvmprint]=E6=9B=B4=E6=96=B0=E8=84=9A?= =?UTF-8?q?=E6=9C=AC=EF=BC=8C=E7=A6=81=E7=94=A8=E5=86=85=E5=AD=98=E6=B3=84?= =?UTF-8?q?=E6=BC=8F=E6=A3=80=E6=9F=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- script/runit.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/script/runit.sh b/script/runit.sh index fa413f9..80dca82 100644 --- a/script/runit.sh +++ b/script/runit.sh @@ -3,6 +3,8 @@ # runit.sh - 用于编译和测试 SysY 程序的脚本 # 此脚本应该位于 mysysy/test_script/ +export ASAN_OPTIONS=detect_leaks=0 + # 定义相对于脚本位置的目录 SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" &>/dev/null && pwd)" TESTDATA_DIR="${SCRIPT_DIR}/../testdata"