File: upstream-tests

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

set -eu

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

#remove test as Locale has no propper headers
rm -f "$AUTOPKGTEST_TMP"/tests/i18n/Locale.cpp

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

cmake ..
cmake --build .
ctest