In order for the script to work you will need to install and add to your Path:
-
Python 3.x -
imagemagick -
git -
cmake -
(Optional)
adbif you plan to use Android
You will also need to have built the Vulkan Best Practices in 64 bit, with the CMake flag VKB_BUILD_SAMPLES, VKB_BUILD_TESTS and in addition to this install a working .apk onto a device if you plan on testing on Android.
Before you begin a system test on Android, ensure that the device is held in landscape, and there isn’t an instance of Vulkan Best Practice running already.
-
From the root of the project:
cd tests/system_test -
To run:
python system_test.py -B <build dir> -C <Debug|Release>-
e.g.
python system_test.py -Bbuild/windows -CRelease(build path is relative to root) -
To target just testing on desktop, add a
-Dflag, or to target just Android, an-Aflag. If no flag is specified it will run for both. -
To run a specific sub test(s), use the
-Sflag (e.g.python system_test.py ... -S sponza bonzaruns sponza and bonza)
-