File: upstream-test-suite

package info (click to toggle)
tinycbor 7.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 856 kB
  • sloc: ansic: 3,968; cpp: 3,494; perl: 156; sh: 44; makefile: 26
file content (10 lines) | stat: -rwxr-xr-x 240 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
#!/bin/bash -xe

sed -i 's/#for-autopkgtest/for-autopkgtest/g' debian/patches/series
dpkg-source --before-build "$(pwd)"

cp cmake/TinyCBORHelpers.cmake tests/
cmake -S tests -B build -G Ninja
cmake --build build -v
cd build && ninja test