6 if [[ "$*" == '--no-update' ]]; then
8 elif [[ "$*" != '' ]]; then
9 printf "unknown arguments\nusage: %s [--no-update]\n" "$0" >&2
13 cts_source
="$(realpath VK-GL-CTS)"
15 if [[ ! -d "$cts_source" ]]; then
16 if ((do_update
)); then
17 git clone
"https://github.com/KhronosGroup/VK-GL-CTS"
19 echo "need to run without --no-update" >&2
23 cts_build
="$(realpath VK-GL-CTS/build)"
24 if ((do_update
)); then
28 python2 external
/fetch_sources.py
31 if [[ ! -d "$cts_build" ]]; then
32 if ((do_update
)); then
36 cmake
-G Ninja
-DCMAKE_BUILD_TYPE=Debug ..
39 echo "need to run without --no-update" >&2
47 exec .
/run.sh bash
-c "cd '$cts_build'/external/vulkancts/modules/vulkan; exec ./deqp-vk --deqp-caselist-file='$cts_source'/external/vulkancts/mustpass/1.1.3/vk-default.txt --deqp-log-images=disable --deqp-log-shader-sources=disable"