[POWRPROF_WINETEST]
authorThomas Faber <thomas.faber@reactos.org>
Sat, 5 May 2012 10:09:38 +0000 (10:09 +0000)
committerThomas Faber <thomas.faber@reactos.org>
Sat, 5 May 2012 10:09:38 +0000 (10:09 +0000)
- This test is not from Wine! Move to apitests.

svn path=/trunk/; revision=56505

rostests/apitests/CMakeLists.txt
rostests/apitests/powrprof/CMakeLists.txt [new file with mode: 0644]
rostests/apitests/powrprof/power.c [moved from rostests/winetests/powrprof/pwrprof.c with 100% similarity]
rostests/apitests/powrprof/testlist.c [moved from rostests/winetests/powrprof/testlist.c with 100% similarity]
rostests/winetests/CMakeLists.txt
rostests/winetests/powrprof/CMakeLists.txt [deleted file]

index 8fd42d2..a1da269 100644 (file)
@@ -5,16 +5,13 @@ add_subdirectory(advapi32)
 #add_subdirectory(crt)
 add_subdirectory(dciman32)
 add_subdirectory(gdi32)
+add_subdirectory(kernel32)
 add_subdirectory(msvcrt)
 add_subdirectory(ntdll)
+add_subdirectory(powrprof)
 add_subdirectory(user32)
-add_subdirectory(kernel32)
-
-if(NOT MSVC)
-if(ARCH MATCHES i386)
-add_subdirectory(w32kdll)
-add_subdirectory(w32knapi)
+if(NOT MSVC AND ARCH MATCHES i386)
+    add_subdirectory(w32kdll)
+    add_subdirectory(w32knapi)
 endif()
-endif()
-
 add_subdirectory(ws2_32)
diff --git a/rostests/apitests/powrprof/CMakeLists.txt b/rostests/apitests/powrprof/CMakeLists.txt
new file mode 100644 (file)
index 0000000..c00d778
--- /dev/null
@@ -0,0 +1,13 @@
+
+add_definitions(
+    -D__ROS_LONG64__
+    -D_UNICODE -DUNICODE)
+
+add_executable(powrprof_apitest power.c testlist.c)
+set_module_type(powrprof_apitest win32cui)
+add_importlibs(powrprof_apitest advapi32 powrprof msvcrt kernel32 ntdll)
+add_cd_file(TARGET powrprof_apitest DESTINATION reactos/bin FOR all)
+
+if(NOT MSVC)
+    allow_warnings(powrprof_apitest)
+endif()
index 7468a5e..7f377fb 100644 (file)
@@ -69,7 +69,6 @@ if(NOT MSVC)
 endif()
 add_subdirectory(opengl32)
 add_subdirectory(pdh)
-add_subdirectory(powrprof)
 add_subdirectory(psapi)
 add_subdirectory(qmgr)
 add_subdirectory(quartz)
diff --git a/rostests/winetests/powrprof/CMakeLists.txt b/rostests/winetests/powrprof/CMakeLists.txt
deleted file mode 100644 (file)
index 3ae788b..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-
-add_definitions(
-    -D__ROS_LONG64__
-    -D_DLL -D__USE_CRTIMP
-    -D_UNICODE -DUNICODE)
-
-add_executable(powrprof_winetest pwrprof.c testlist.c)
-set_module_type(powrprof_winetest win32cui)
-add_importlibs(powrprof_winetest advapi32 powrprof msvcrt kernel32 ntdll)
-add_cd_file(TARGET powrprof_winetest DESTINATION reactos/bin FOR all)
-
-if(NOT MSVC)
-    allow_warnings(powrprof_winetest)
-endif()