Files
yttrium-virtio-gpu/Tools
Miki Mishael 006208d44e BZ#954183 Tools: Added SDVTOOL script.
for running sdv on project.

       SDVTOOL - Static Driver Verifier Script.

       Script @SDVTOOL.bat@.

       The script consists from 3 scripts.

       1. SDVTOOL.bat.
       located in root directory.

       2. RunSdv.bat.
       located in root directory.

       3. RunSdv.js.
       located in Tools directory.

       Syntax:
       Usage SDVTOOL.bat

       [NO Parameters] will start to run on all projects on all
       configurations.

       [ANY Parameter] will pup up User interactive mode menu.

       The script parses ".vcxproj" project xml files and retrieves the
       Configuration and Platform.
           For each Configuration and Platform (Only Release) it will go
       Through this flow:

       1. Clean.
       2. Check.
       3. Copy SDV Directory created by sdv in the projects root
       directory.

       When error occurs in one of the above steps it will immediately
       continue to the next Configuration and Platform.

       Example Clean:
       msbuild
       "C:\Users\mikim\projects\daynix-kvm-guest-drivers.eng\vioserial\sys\vioser.vcxproj"
       /t:sdv /p:inputs="/clean" /p:configuration="Win8 Release"
       /p:platform="Win32"

       Example check:
       msbuild
       "C:\Users\mikim\projects\daynix-kvm-guest-drivers.eng\vioserial\sys\vioser.vcxproj"
       /t:sdv /p:inputs="/check:*" /p:configuration="Win8 Release"
       /p:platform="Win32"

       Copy:
       Copy will create tree like directory from the run:

       SDV-->
             Project A-->
                         Configuration -->
                                          Platform.
             Project B-->
                         Configuration -->
                                          Platform.
       The script has creates 2 logs:

       1. SDV.log.

       located in the root projects directory, It's the output of the
       RunSdv.bat and RunSdv.js scripts.

       2. SdvShellOutLog.log.

       located in the root projects directory, It's the output of child
       shells, created during the run of above steps.

Signed-off-by: Miki Mishael <[email protected]>
2013-12-17 16:47:26 +11:00
..