summaryrefslogtreecommitdiff
path: root/tools/testrunner/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/testrunner/main.cpp')
-rw-r--r--tools/testrunner/main.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/testrunner/main.cpp b/tools/testrunner/main.cpp
index 148fff9d..a634d87a 100644
--- a/tools/testrunner/main.cpp
+++ b/tools/testrunner/main.cpp
@@ -170,12 +170,15 @@ int main(int argc, const char* argv[])
return v;
}
+#ifdef _WIN32
+#else
{
struct sigaction sa = {0};
sa.sa_handler = sigalrm_handler;
sigaction(SIGALRM, &sa, NULL);
signal(SIGINT, sigint_handler);
}
+#endif
::std::vector<::std::string> skip_list;
// > Filter out tests listed in an exceptions file (newline separated, supports comments)