File: upstream-testsuite

package info (click to toggle)
khronos-opencl-headers 3.0~2023.02.06-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 804 kB
  • sloc: ansic: 7,144; makefile: 58; python: 42; sh: 30
file content (13 lines) | stat: -rw-r--r-- 206 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh
set -e -u -x
cp -a tests/ "$AUTOPKGTEST_TMP"
cd "$AUTOPKGTEST_TMP"
cat > CMakeLists.txt << EOF
  include(CTest)
  add_subdirectory(tests)
EOF
mkdir build
cd build
cmake -Wno-dev ..
make
make test