Debian Codegraph @

debian/tests/upstream-test-suite

raw
1 #!/bin/bash -ex
2
3 sed -i 's/#for-autopkgtest/for-autopkgtest/g' debian/patches/series
4 dpkg-source --before-build "$(pwd)"
5 cp src/avro_private.h tests/ # not installed in libavro-dev
6
7 mkdir -p tests/build && cd tests/build
8 cmake .. -DCMAKE_BUILD_TYPE=RelWithDebInfo -GNinja
9 cmake --build .
10 ctest --output-on-failure