File: upstream-tests

package info (click to toggle)
hyprwire 0.3.0-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 552 kB
  • sloc: cpp: 4,039; xml: 101; sh: 60; makefile: 5
file content (15 lines) | stat: -rwxr-xr-x 283 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh

set -eu

mkdir -p "$AUTOPKGTEST_TMP"
cp -r tests "$AUTOPKGTEST_TMP"/tests
cp debian/tests/CMakeLists.txt "$AUTOPKGTEST_TMP"/
cp debian/tests/test-runner "$AUTOPKGTEST_TMP"/

mkdir -p "$AUTOPKGTEST_TMP"/build
cd "$AUTOPKGTEST_TMP"/build

cmake ..
cmake --build .
ctest -VV