summaryrefslogtreecommitdiff
path: root/tools/testrunner/main.cpp
diff options
context:
space:
mode:
authorJohn Hodge <tpg@mutabah.net>2019-10-26 16:09:24 +0800
committerJohn Hodge <tpg@mutabah.net>2019-10-26 16:09:24 +0800
commit9ce35b65e5be4ce75b3b7aabe29c432128a17279 (patch)
tree069581e21b424a24c92b1f87e7d00f3af006366d /tools/testrunner/main.cpp
parentabd2a151b9107221e753c5b2fe09a143d09ad1f5 (diff)
downloadmrust-9ce35b65e5be4ce75b3b7aabe29c432128a17279.tar.gz
All - Compilation fixes on VS2015 (constructors, warnings, missing files, class/struct disagreement, <algorithm>)
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)