File: build-test

package info (click to toggle)
wlroots 0.19.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,592 kB
  • sloc: ansic: 75,766; xml: 2,739; sh: 33; makefile: 23
file content (12 lines) | stat: -rwxr-xr-x 269 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh

set -e
set -u
set -x

CFLAGS=$(pkg-config --cflags wlroots-0.19)
LIBS=$(pkg-config --libs wlroots-0.19 && pkg-config --libs wayland-server)
gcc ${CFLAGS} debian/tests/test.c ${LIBS}
echo "Build test of $< succeeded"
WLR_BACKENDS=headless ./a.out
rm -f a.out