Author: spetreolle
Date: Sun May 8 15:01:46 2016
New Revision: 71288
URL: http://svn.reactos.org/svn/reactos?rev=71288&view=rev
Log:
Add the AHK tests as an optional module.
ONLINE-567
Modified:
trunk/reactos/modules/CMakeLists.txt
Modified: trunk/reactos/modules/CMakeLists.txt
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/modules/CMakeLists.txt?rev…
==============================================================================
--- trunk/reactos/modules/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/modules/CMakeLists.txt [iso-8859-1] Sun May 8 15:01:46 2016
@@ -10,6 +10,11 @@
if(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/wallpapers/)
add_subdirectory(wallpapers)
endif()
+
+if(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/AHK_Tests/)
+ add_subdirectory(AHK_Tests)
+endif()
+
## Extra files for Boot/Live/Hybrid CD. You need to put them under [boot|live|hybrid]cd_extras
## in the same layout as you want them to be in the CD.
Author: hbelusca
Date: Sun May 8 14:53:14 2016
New Revision: 71287
URL: http://svn.reactos.org/svn/reactos?rev=71287&view=rev
Log:
[KSFILTER]: We may need to check the result of KspScanBus call here. To see whether we need to do that, add an assert. If hit then we know KspScanBus can fail and some proper failure code will be needed.
Modified:
trunk/reactos/drivers/ksfilter/ks/swenum.c
Modified: trunk/reactos/drivers/ksfilter/ks/swenum.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/ksfilter/ks/swenum…
==============================================================================
--- trunk/reactos/drivers/ksfilter/ks/swenum.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/ksfilter/ks/swenum.c [iso-8859-1] Sun May 8 14:53:14 2016
@@ -1124,7 +1124,9 @@
}
/* now scan the bus */
- KspScanBus(Context->BusDeviceExtension);
+ Status = KspScanBus(Context->BusDeviceExtension);
+ // FIXME: We may need to check for success here, and properly fail...
+ ASSERT(NT_SUCCESS(Status));
/* acquire device entry lock */
KeAcquireSpinLock(&Context->BusDeviceExtension->Lock, &OldLevel);