ntdll/tests: Expect no processor features on ARM

André Hentschel nerv at dawncrow.de
Thu Sep 5 17:38:58 CDT 2013


This way we better detect selected features as soon as we test on "the other win32 implementation"
---
 dlls/ntdll/tests/info.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/dlls/ntdll/tests/info.c b/dlls/ntdll/tests/info.c
index 87f3c9c..af3dc12 100644
--- a/dlls/ntdll/tests/info.c
+++ b/dlls/ntdll/tests/info.c
@@ -143,7 +143,11 @@ static void test_query_cpu(void)
 
     /* Check if we have some return values */
     trace("Processor FeatureSet : %08x\n", sci.FeatureSet);
+#ifdef __arm__
+    ok( sci.FeatureSet == 0, "Expected no features for this processor, got %08x\n", sci.FeatureSet);
+#else
     ok( sci.FeatureSet != 0, "Expected some features for this processor, got %08x\n", sci.FeatureSet);
+#endif
 }
 
 static void test_query_performance(void)
-- 
1.8.1.2



More information about the wine-patches mailing list