[4/6] msvcr80/tests: install test files
Vincas Miliūnas
vincas.miliunas at gmail.com
Tue Nov 2 19:06:46 CDT 2010
qsort_s and _itow_s implementation and tests for bug #24925.
---
configure | 1 +
configure.ac | 1 +
dlls/msvcr80/tests/Makefile.in | 12 ++++++++++
dlls/msvcr80/tests/msvcr80.c | 42
+++++++++++++++++++++++++++++++++++
dlls/msvcr80/tests/msvcr80.manifest | 21 +++++++++++++++++
dlls/msvcr80/tests/msvcr80.rc | 22 ++++++++++++++++++
6 files changed, 99 insertions(+), 0 deletions(-)
create mode 100644 dlls/msvcr80/tests/Makefile.in
create mode 100644 dlls/msvcr80/tests/msvcr80.c
create mode 100644 dlls/msvcr80/tests/msvcr80.manifest
create mode 100644 dlls/msvcr80/tests/msvcr80.rc
diff --git a/configure b/configure
index 20fff98..442d132 100755
--- a/configure
+++ b/configure
@@ -14902,6 +14902,7 @@ wine_fn_config_dll msvcr100 enable_msvcr100
wine_fn_config_dll msvcr70 enable_msvcr70 msvcr70
wine_fn_config_dll msvcr71 enable_msvcr71 msvcr71
wine_fn_config_dll msvcr80 enable_msvcr80
+wine_fn_config_test dlls/msvcr80/tests msvcr80_test
wine_fn_config_dll msvcr90 enable_msvcr90
wine_fn_config_test dlls/msvcr90/tests msvcr90_test
wine_fn_config_dll msvcrt enable_msvcrt msvcrt
diff --git a/configure.ac b/configure.ac
index f38aca4..1c2ad92 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2566,6 +2566,7 @@ WINE_CONFIG_DLL(msvcr100)
WINE_CONFIG_DLL(msvcr70,,[msvcr70])
WINE_CONFIG_DLL(msvcr71,,[msvcr71])
WINE_CONFIG_DLL(msvcr80)
+WINE_CONFIG_TEST(dlls/msvcr80/tests)
WINE_CONFIG_DLL(msvcr90)
WINE_CONFIG_TEST(dlls/msvcr90/tests)
WINE_CONFIG_DLL(msvcrt,,[msvcrt])
diff --git a/dlls/msvcr80/tests/Makefile.in b/dlls/msvcr80/tests/Makefile.in
new file mode 100644
index 0000000..4debd25
--- /dev/null
+++ b/dlls/msvcr80/tests/Makefile.in
@@ -0,0 +1,12 @@
+TESTDLL = msvcr80.dll
+APPMODE = -mno-cygwin
+MODCFLAGS = @BUILTINFLAG@
+EXTRAINCL = -I$(top_srcdir)/include/msvcrt
+
+C_SRCS = \
+ msvcr80.c
+
+RC_SRCS = \
+ msvcr80.rc
+
+ at MAKE_TEST_RULES@
diff --git a/dlls/msvcr80/tests/msvcr80.c b/dlls/msvcr80/tests/msvcr80.c
new file mode 100644
index 0000000..225a770
--- /dev/null
+++ b/dlls/msvcr80/tests/msvcr80.c
@@ -0,0 +1,42 @@
+/*
+ * Copyright 2010 Detlef Riekenberg
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
02110-1301, USA
+ */
+
+#include <stdarg.h>
+#include <stdlib.h>
+#include <stdio.h>
+
+#include <windef.h>
+#include <winbase.h>
+#include <errno.h>
+#include "wine/test.h"
+
+/* ########## */
+
+START_TEST(msvcr80)
+{
+ HMODULE hcrt;
+
+ SetLastError(0xdeadbeef);
+ hcrt = LoadLibraryA("msvcr80.dll");
+ if (!hcrt) {
+ win_skip("msvcr80.dll not installed (got %d)\n", GetLastError());
+ return;
+ }
+
+}
+
diff --git a/dlls/msvcr80/tests/msvcr80.manifest
b/dlls/msvcr80/tests/msvcr80.manifest
new file mode 100644
index 0000000..618ba00
--- /dev/null
+++ b/dlls/msvcr80/tests/msvcr80.manifest
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
+ <assemblyIdentity
+ type="win32"
+ name="Wine.msvcr80.Test"
+ version="1.0.0.0"
+ processorArchitecture="*"
+ />
+ <dependency>
+ <dependentAssembly>
+ <assemblyIdentity
+ type="win32"
+ name="microsoft.vc80.crt"
+ version="8.0.50727.42"
+ processorArchitecture="*"
+ publicKeyToken="1fc8b3b9a1e18e3b"
+ language="*"
+ />
+ </dependentAssembly>
+ </dependency>
+</assembly>
diff --git a/dlls/msvcr80/tests/msvcr80.rc b/dlls/msvcr80/tests/msvcr80.rc
new file mode 100644
index 0000000..c30b3cb
--- /dev/null
+++ b/dlls/msvcr80/tests/msvcr80.rc
@@ -0,0 +1,22 @@
+/*
+ * Copyright (c) 2010 Detlef Riekenberg
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
02110-1301, USA
+ */
+
+#include "winuser.h"
+
+/* @makedep: msvcr80.manifest */
+1 RT_MANIFEST msvcr80.manifest
--
1.7.2.3
More information about the wine-patches
mailing list