[LOCALSPL_WINETEST]
authorAmine Khaldi <amine.khaldi@reactos.org>
Wed, 23 Apr 2014 14:00:45 +0000 (14:00 +0000)
committerAmine Khaldi <amine.khaldi@reactos.org>
Wed, 23 Apr 2014 14:00:45 +0000 (14:00 +0000)
* Sync with Wine 1.7.17.
* Speedup build.
CORE-8080

svn path=/trunk/; revision=62904

rostests/winetests/localspl/CMakeLists.txt
rostests/winetests/localspl/localmon.c

index 1ca7646..eabb1c7 100644 (file)
@@ -1,8 +1,6 @@
 
-add_definitions(-D__ROS_LONG64__)
 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
 add_executable(localspl_winetest localmon.c testlist.c)
-target_link_libraries(localspl_winetest wine)
 set_module_type(localspl_winetest win32cui)
-add_importlibs(localspl_winetest advapi32 msvcrt kernel32 ntdll)
+add_importlibs(localspl_winetest advapi32 msvcrt kernel32)
 add_cd_file(TARGET localspl_winetest DESTINATION reactos/bin FOR all)
index 93b6bd6..b648848 100644 (file)
@@ -67,16 +67,16 @@ static const WCHAR cmd_AddPortW[] = {'A','d','d','P','o','r','t',0};
 static const WCHAR cmd_ConfigureLPTPortCommandOKW[] = {'C','o','n','f','i','g','u','r','e',
                                     'L','P','T','P','o','r','t',
                                     'C','o','m','m','a','n','d','O','K',0};
-static WCHAR cmd_DeletePortW[] = {'D','e','l','e','t','e','P','o','r','t',0};
-static WCHAR cmd_GetTransmissionRetryTimeoutW[] = {'G','e','t',
+static const WCHAR cmd_DeletePortW[] = {'D','e','l','e','t','e','P','o','r','t',0};
+static const WCHAR cmd_GetTransmissionRetryTimeoutW[] = {'G','e','t',
                                     'T','r','a','n','s','m','i','s','s','i','o','n',
                                     'R','e','t','r','y','T','i','m','e','o','u','t',0};
 
-static WCHAR cmd_MonitorUIW[] = {'M','o','n','i','t','o','r','U','I',0};
-static WCHAR cmd_MonitorUI_lcaseW[] = {'m','o','n','i','t','o','r','u','i',0};
-static WCHAR cmd_PortIsValidW[] = {'P','o','r','t','I','s','V','a','l','i','d',0};
+static const WCHAR cmd_MonitorUIW[] = {'M','o','n','i','t','o','r','U','I',0};
+static const WCHAR cmd_MonitorUI_lcaseW[] = {'m','o','n','i','t','o','r','u','i',0};
+static const WCHAR cmd_PortIsValidW[] = {'P','o','r','t','I','s','V','a','l','i','d',0};
 static WCHAR does_not_existW[] = {'d','o','e','s','_','n','o','t','_','e','x','i','s','t',0};
-static CHAR  emptyA[] = "";
+static const CHAR emptyA[] = "";
 static WCHAR emptyW[] = {0};
 static WCHAR LocalPortW[] = {'L','o','c','a','l',' ','P','o','r','t',0};
 static WCHAR Monitors_LocalPortW[] = {
@@ -87,32 +87,32 @@ static WCHAR Monitors_LocalPortW[] = {
                                 'M','o','n','i','t','o','r','s','\\',
                                 'L','o','c','a','l',' ','P','o','r','t',0};
 
-static CHAR  num_0A[] = "0";
+static const CHAR num_0A[] = "0";
 static WCHAR num_0W[] = {'0',0};
-static CHAR  num_1A[] = "1";
+static const CHAR num_1A[] = "1";
 static WCHAR num_1W[] = {'1',0};
-static CHAR  num_999999A[] = "999999";
+static const CHAR num_999999A[] = "999999";
 static WCHAR num_999999W[] = {'9','9','9','9','9','9',0};
-static CHAR  num_1000000A[] = "1000000";
+static const CHAR num_1000000A[] = "1000000";
 static WCHAR num_1000000W[] = {'1','0','0','0','0','0','0',0};
 
-static WCHAR portname_comW[]  = {'C','O','M',0};
+static const WCHAR portname_comW[]  = {'C','O','M',0};
 static WCHAR portname_com1W[] = {'C','O','M','1',':',0};
 static WCHAR portname_com2W[] = {'C','O','M','2',':',0};
 static WCHAR portname_fileW[] = {'F','I','L','E',':',0};
-static WCHAR portname_lptW[]  = {'L','P','T',0};
+static const WCHAR portname_lptW[]  = {'L','P','T',0};
 static WCHAR portname_lpt1W[] = {'L','P','T','1',':',0};
 static WCHAR portname_lpt2W[] = {'L','P','T','2',':',0};
 static WCHAR server_does_not_existW[] = {'\\','\\','d','o','e','s','_','n','o','t','_','e','x','i','s','t',0};
 
-static CHAR  TransmissionRetryTimeoutA[] = {'T','r','a','n','s','m','i','s','s','i','o','n',
+static const CHAR TransmissionRetryTimeoutA[] = {'T','r','a','n','s','m','i','s','s','i','o','n',
                                     'R','e','t','r','y','T','i','m','e','o','u','t',0};
 
-static CHAR  WinNT_CV_WindowsA[] = {'S','o','f','t','w','a','r','e','\\',
-                                    'M','i','c','r','o','s','o','f','t','\\',
-                                    'W','i','n','d','o','w','s',' ','N','T','\\',
-                                    'C','u','r','r','e','n','t','V','e','r','s','i','o','n','\\',
-                                    'W','i','n','d','o','w','s',0};
+static const CHAR WinNT_CV_WindowsA[] = {'S','o','f','t','w','a','r','e','\\',
+                                         'M','i','c','r','o','s','o','f','t','\\',
+                                         'W','i','n','d','o','w','s',' ','N','T','\\',
+                                         'C','u','r','r','e','n','t','V','e','r','s','i','o','n','\\',
+                                         'W','i','n','d','o','w','s',0};
 static WCHAR wineW[] = {'W','i','n','e',0};
 
 static WCHAR tempdirW[MAX_PATH];