From 5a932cf254b6ce1a1f95a15107d10b9ab690b8bc Mon Sep 17 00:00:00 2001
From: David Binder <david.binder@uni-tuebingen.de>
Date: Tue, 28 Nov 2023 00:15:33 +0100
Subject: [PATCH] Do not execute win32 tests on non-windows runners

---
 testsuite/tests/Win32/all.T | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/testsuite/tests/Win32/all.T b/testsuite/tests/Win32/all.T
index dd2c48170493..639b267731b5 100644
--- a/testsuite/tests/Win32/all.T
+++ b/testsuite/tests/Win32/all.T
@@ -1,12 +1,12 @@
-test('registry001', normal, compile_and_run, [''])
+test('registry001', unless(opsys('mingw32'), skip), compile_and_run, [''])
 
 # This isn't a very good test to run automatically at the moment, since
 # it doesn't terminate
 test('helloworld', skip, compile_and_run, ['-package lang -package win32'])
 
-test('lasterror', normal, compile_and_run, ['-package Win32'])
-test('T4452', normal, compile_and_run, ['-package Win32'])
-test('PokeTZI', ignore_stdout, compile_and_run, ['-package Win32'])
-test('HandleConversion', normal, compile_and_run, ['-package Win32'])
+test('lasterror', unless(opsys('mingw32'), skip), compile_and_run, ['-package Win32'])
+test('T4452', unless(opsys('mingw32'), skip), compile_and_run, ['-package Win32'])
+test('PokeTZI', [unless(opsys('mingw32'), skip), ignore_stdout], compile_and_run, ['-package Win32'])
+test('HandleConversion', unless(opsys('mingw32'), skip), compile_and_run, ['-package Win32'])
 
-test('Semaphores', normal, compile_and_run, ['-threaded -package Win32'])
+test('Semaphores', unless(opsys('mingw32'), skip), compile_and_run, ['-threaded -package Win32'])
-- 
GitLab