blob: 3e93dbc6c1bc9cef2b1e2da6c9ec9fe8429bc267 [file] [log] [blame]
#!/bin/bash
# Fail on any error.
set -e
# Display commands being run.
set -x
cd git/SwiftShader
git submodule update --init
mkdir -p build && cd build
cmake ..
make --jobs=$(nproc)
# Run the reactor unit tests.
./ReactorUnitTests
cd .. # Tests must be run from project root
# Run the OpenGL ES and Vulkan unit tests.
build/gles-unittests
build/vk-unittests