Lab6: fix operator precedence and resolve 64-bit pointer propagation in AArch64 lowering
This commit is contained in:
@@ -134,7 +134,7 @@ for test_file in $test_files; do
|
||||
|
||||
# Step 7: QEMU Execution
|
||||
echo -n " -> Step 7: QEMU Emulator Execution ... "
|
||||
run_timeout=3
|
||||
run_timeout=250
|
||||
cmd_status=0
|
||||
if [ -f "$stdin_file" ]; then
|
||||
timeout $run_timeout qemu-aarch64 -L /usr/aarch64-linux-gnu "$exe_file" < "$stdin_file" > "$stdout_file" 2>/dev/null
|
||||
@@ -170,7 +170,7 @@ for test_file in $test_files; do
|
||||
rm -f "$actual_file.tmp"
|
||||
|
||||
if [ -f "$expected_file" ]; then
|
||||
if diff -u "$expected_file" "$actual_file" > /dev/null 2>&1; then
|
||||
if diff -u -w "$expected_file" "$actual_file" > /dev/null 2>&1; then
|
||||
echo -e "${GREEN}✓ 匹配成功${RESET}"
|
||||
echo -e "${GREEN}${BOLD}[SUCCESS]${RESET} ${test_name} 测试通过!"
|
||||
((success_count++))
|
||||
|
||||
Reference in New Issue
Block a user