blob: bffc85854955e5e8bb52c15d54f15af51fb00809 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#!/bin/bash
set -e
if [ "${CC#clang}" != "${CC}" ] ; then
export CXX="clang++"
fi
cd "$(dirname "$0")"/../..
./bootstrap
./configure \
CFLAGS="-O0 -coverage $CLFAGS" CXXFLAGS="-O0 -coverage $CXXFLAGS" LDFLAGS="--coverage $LDFLAGS" \
--enable-debug=full --enable-helper-linux
export CCACHE_DISABLE=1
make -j $(nproc)
# Ignore possible failures there because these tests depends on measurements
# and systems might differ in performance.
export CI="true"
ODP_SCHEDULER=basic make check
ODP_SCHEDULER=sp make check
|