From 76013aa53699f3c39a03a5b676de6d911bf20088 Mon Sep 17 00:00:00 2001 From: FondMemoryVVV Date: Mon, 29 Aug 2022 08:51:49 +0800 Subject: [PATCH] Modify the format Signed-off-by: FondMemoryVVV --- toolchain/libc-test/src/toolchaintest.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/toolchain/libc-test/src/toolchaintest.cpp b/toolchain/libc-test/src/toolchaintest.cpp index 9ff4c9d91..bb846b6c4 100644 --- a/toolchain/libc-test/src/toolchaintest.cpp +++ b/toolchain/libc-test/src/toolchaintest.cpp @@ -38,10 +38,14 @@ class toolchaintest : public ::testing::TestWithParam {}; static string filepath = "/data/local/tmp/libc-test/src"; static vector temp = runtest::GetFileNames(filepath); + volatile int t_status = 0; -static void handler(int s) +static int h_sigCount = 0; +static void handler(int sig) { + (void)sig; + h_sigCount++; } static int start(char *wrap, const char *argvs) -- GitLab