Debian Codegraph @

debian/tests/upstream-test-suite

raw symbols SCIP
1 #!/bin/sh -x
2
3 export DEB_VERSION_UPSTREAM=$(dpkg-parsechangelog -SVersion|sed -e s:-[^-]*$::)
4
5 dpkg-source --before-build $(pwd)
6 patch -p1 < debian/patches/autopkgtest-Use-system-library-to-run-test.patch
7 sed -i s:-Werror:-Wextra: CMakeLists.txt
8 dh_auto_configure -- \
9 -DENABLE_STATIC=NO
10
11 # From now on, the test fails if there's error
12 set -e
13
14 JOBS=$(($(nproc)*2))
15 (cd obj-*/examples; make -j$JOBS)
16 (cd obj-*/src; make -j$JOBS)
17 (cd obj-*/tests; make -j$JOBS)
18
19 export CTEST_OUTPUT_ON_FAILURE=1
20 dh_auto_test