summaryrefslogtreecommitdiff
path: root/debian/tests/upstream-bottleneck.sh
blob: a11a13b161e95da75ee0acf5193c4135a22e042d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/bash

set -e
set -u

tmpdir=$AUTOPKGTEST_TMP/bottleneck

mkdir -p $tmpdir
cp -R $PWD/bottleneck/tests/* $tmpdir

cd $tmpdir
ln -s /usr/include/catch2 catch

set -x
g++ -O2 -I/usr/include/hera/bottleneck -o test tests_main.cpp test_hera_bottleneck.cpp
./test
cd data
../test