From 09393565da3e25ba389e7d6203a3b536e2f32dfb Mon Sep 17 00:00:00 2001 From: Timo Kreuzer Date: Thu, 23 Oct 2025 12:31:55 +0300 Subject: [PATCH] [NTDLL_WINETEST] Skip RtlUniform tests on Windows 2003 RtlUniform is broken on Windows 2003 --- modules/rostests/winetests/ntdll/rtl.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/modules/rostests/winetests/ntdll/rtl.c b/modules/rostests/winetests/ntdll/rtl.c index 29e3d464685..53247b00cc4 100644 --- a/modules/rostests/winetests/ntdll/rtl.c +++ b/modules/rostests/winetests/ntdll/rtl.c @@ -446,6 +446,14 @@ static void test_RtlUniform(void) ULONG expected; ULONG result; +#ifdef __REACTOS__ + if (!is_reactos() && (_winver < _WIN32_WINNT_VISTA)) + { + skip("Skipping tests for RtlUniform, because it's broken on Windows 2003\n"); + return; + } +#endif // __REACTOS__ + /* * According to the documentation RtlUniform is using D.H. Lehmer's 1948 * algorithm. We assume a more generic version of this algorithm,