https://git.reactos.org/?p=reactos.git;a=commitdiff;h=83318b2c430bb58787442…
commit 83318b2c430bb58787442c489d214ec1fa609138
Author: Stanislav Motylkov <x86corez(a)gmail.com>
AuthorDate: Wed Sep 8 20:10:11 2021 +0300
Commit: Stanislav Motylkov <x86corez(a)gmail.com>
CommitDate: Wed Sep 8 20:10:11 2021 +0300
[CRT_APITEST] Add missing static CRT tests on ARM
Addendum to c23ce9df. CORE-17604
---
modules/rostests/apitests/crt/testlist.c | 16 ++++++++++------
1 file changed, 10 insertions(+), 6 deletions(-)
diff --git a/modules/rostests/apitests/crt/testlist.c
b/modules/rostests/apitests/crt/testlist.c
index dacd260e161..1997603fbca 100644
--- a/modules/rostests/apitests/crt/testlist.c
+++ b/modules/rostests/apitests/crt/testlist.c
@@ -4,12 +4,16 @@
#include <apitest.h>
#if defined(TEST_MSVCRT)
-extern void func___rt_div(void);
-extern void func___fto64(void);
extern void func__vscprintf(void);
extern void func__vscwprintf(void);
extern void func_atexit(void);
#endif
+#if defined(TEST_STATIC_CRT) || defined(TEST_MSVCRT)
+#if defined(_M_ARM)
+extern void func___rt_div(void);
+extern void func___fto64(void);
+#endif
+#endif
#if defined(TEST_NTDLL)
extern void func__vscwprintf(void);
#endif
@@ -55,7 +59,10 @@ const struct test winetest_testlist[] =
// ...
#endif
#if defined(TEST_STATIC_CRT) || defined(TEST_MSVCRT)
- // ...
+#if defined(_M_ARM)
+ { "__rt_div", func___rt_div },
+ { "__fto64", func___fto64 },
+#endif
#endif
#if defined(TEST_STATIC_CRT)
#elif defined(TEST_MSVCRT)
@@ -63,9 +70,6 @@ const struct test winetest_testlist[] =
{ "crtdata", func_crtdata },
#if defined(_M_IX86)
{ "__getmainargs", func___getmainargs },
-#elif defined(_M_ARM)
- { "__rt_div", func___rt_div },
- { "__fto64", func___fto64 },
#endif
{ "_vscprintf", func__vscprintf },
{ "_vscwprintf", func__vscwprintf },