File: upstream-tests

package info (click to toggle)
hyprgraphics 0.5.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 940 kB
  • sloc: cpp: 1,639; sh: 9; makefile: 6
file content (14 lines) | stat: -rw-r--r-- 280 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh

set -eu

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

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

cmake ..
cmake --build . --target tests
ctest --output-on-failure