summaryrefslogtreecommitdiffstats
path: root/scripts/build-vtest.sh
blob: 4db35d6ee926a9611fbfb465dd7b44af052207cc (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh

set -eux

curl -fsSL https://github.com/vtest/VTest/archive/master.tar.gz -o VTest.tar.gz
mkdir ../vtest
tar xvf VTest.tar.gz -C ../vtest --strip-components=1
# Special flags due to: https://github.com/vtest/VTest/issues/12
make -C ../vtest FLAGS="-O2 -s -Wall"