1 # Powershell script for running the layer validation details doc validator
3 # From a Windows powershell:
4 # cd C:\src\Vulkan-LoaderAndValidationLayers\build\tests
5 # .\vkvalidatelayerdoc.ps1 [-Debug]
7 if ($args[0] -eq "-Debug") {
13 write-host -background black -foreground green "[ RUN ] " -nonewline
14 write-host "vkvalidatelayerdoc.ps1: Validate layer documentation"
16 # Run doc validation from project root dir
19 # Validate that layer documentation matches source contents
20 python vk_layer_documentation_generate.py --validate
22 # Report result based on exit code
24 write-host -background black -foreground green "[ PASSED ] " -nonewline;
27 echo 'Validation of vk_validation_layer_details.md failed'
28 write-host -background black -foreground red "[ FAILED ] " -nonewline;