#!/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 GLES unit tests. TODO(capn): rename.
./unittests

./ReactorUnitTests
#!/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

# Run the GLES unit tests. TODO(capn): rename.
./unittests

# Run the Vulkan unit tests.
cd .. # Must be run from project root
build/vk-unittests

Add vulkan unit tests to Kokoro
Add vulkan unit tests to Kokoro

Change-Id: I6e695dd5221da6d9f7f198bc2af8aee00eda8881
Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/26808
Presubmit-Ready: Ben Clayton <1f693eb7158dc33015048c09d6712f74dabddf79@google.com>
Kokoro-Presubmit: kokoro <2ac7b1f3fa578934c95181d4272be0d3bca00121@google.com>
Tested-by: Ben Clayton <1f693eb7158dc33015048c09d6712f74dabddf79@google.com>
Reviewed-by: Nicolas Capens <51edc787c30f24c4904e8ffbb5523c3a9f7a451d@google.com>
