From 0399cde50a8d65f4f756f24253b6d1a3c8baeef6 Mon Sep 17 00:00:00 2001 From: topjohnwu Date: Tue, 18 Feb 2025 01:04:19 -0800 Subject: [PATCH] Cleanup logcat.log for each invocation --- scripts/avd_test.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/avd_test.sh b/scripts/avd_test.sh index 2a9eb6264..c1f31b149 100755 --- a/scripts/avd_test.sh +++ b/scripts/avd_test.sh @@ -68,6 +68,7 @@ test_emu() { print_title "* Testing $avd_pkg ($variant)" if [ -n "$AVD_TEST_LOG" ]; then + rm -f logcat.log "$emu" @test $emu_args > kernel.log 2>&1 & else "$emu" @test $emu_args > /dev/null 2>&1 &