diff --git a/toolchain/libc-test/src/toolchaintest.cpp b/toolchain/libc-test/src/toolchaintest.cpp index 9ff4c9d917b96af9f0ac54c4f32c02f4ee60e8bc..bb846b6c48481887fda827f3dfcce8b702e963e2 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)