Changes between Version 61 and Version 62 of HLKTesting


Ignore:
Timestamp:
06/25/19 08:50:20 (5 years ago)
Author:
Samuli Seppänen
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • HLKTesting

    v61 v62  
    272272The [https://docs.microsoft.com/en-us/windows-hardware/test/hlk/testref/6ab6df93-423c-4af6-ad48-8ea1049155ae Static Tools Logo Test] checks for the presence of a Driver Verification Log (DVL) log file as described in the [https://docs.microsoft.com/en-us/windows-hardware/drivers/develop/creating-a-driver-verification-log official MS documentation].
    273273
    274 Tap-windows6 buildsystem runs code analysis automatically for x64 Release builds. Test analysis files are under directory ''tap-windows6\src\x64\Release'' named as ''<sourcefile>.nativecodeanalysis.xml''. Results of the code analysis are not enough, as you also need to [https://docs.microsoft.com/en-us/windows-hardware/drivers/develop/creating-a-log-file-for-static-driver-verifier Creating a log file for Static Driver Verifier].
     274Tap-windows6 buildsystem runs code analysis automatically for x64 Release builds, so build that variant as the first step. Test analysis files are under directory ''tap-windows6\src\x64\Release'' named as ''<sourcefile>.nativecodeanalysis.xml''. Results of the code analysis are not enough, as you also need to [https://docs.microsoft.com/en-us/windows-hardware/drivers/develop/creating-a-log-file-for-static-driver-verifier Creating a log file for Static Driver Verifier].
     275
     276Creating the Static Driver Verifier logs is a simple process once you know it. Launch a ''x64 Native Tools command prompt'' that comes with Visual Studio 2019. Then
     277
     278{{{
     279PS> cd tap-windows6\src
     280PS> msbuild C:\users\samuli\opt\tap-windows6\src\tap-windows6.vcxproj /p:Configuration=Release /p:Platform=x64 /target:sdv /p:inputs="/check"
     281}}}
     282
     283Note that you need to "cd" to the "src" directory. You also need to provide the full path to the vcxproj file. The SDV tests will take ''a lot'' of time so don't wait holding your breath.
     284
     285Once they pass you need to merge the results of SDV and codeanalysis. You can do this from Visual Studio 2019 from the "Extensions" -> "Driver" menu.
    275286
    276287= Various known issues =