From 4446ccd921d2cfbf4e9bb57ed60ba5564ea00609 Mon Sep 17 00:00:00 2001 From: Mitya Selivanov <0x7fffff@guattari.ru> Date: Fri, 19 Aug 2022 17:22:53 +0400 Subject: test win32 --- source/kit_test/test.c | 2 -- source/test/programs/signals.cpp | 4 ++-- 2 files changed, 2 insertions(+), 4 deletions(-) (limited to 'source') diff --git a/source/kit_test/test.c b/source/kit_test/test.c index 2daf94b..471194e 100644 --- a/source/kit_test/test.c +++ b/source/kit_test/test.c @@ -7,8 +7,6 @@ #include #include -#include - kit_tests_list_t kit_tests_list = { 0 }; static void report(int i, int line, int ok) { diff --git a/source/test/programs/signals.cpp b/source/test/programs/signals.cpp index 1e4698f..97cae83 100644 --- a/source/test/programs/signals.cpp +++ b/source/test/programs/signals.cpp @@ -6,7 +6,7 @@ /* FIXME * MSVC tests fail in GitHub Actions. */ -#ifndef _MSVC +#ifndef _MSC_VER TEST("c++ exception") { throw std::exception {}; } @@ -21,7 +21,7 @@ TEST("invalid access") { #endif int main(int argc, char **argv) { -#ifndef _MSVC +#ifndef _MSC_VER if (run_tests(argc, argv) != 1) return 1; #endif -- cgit v1.2.3