File: make-tests.sh

package info (click to toggle)
compton 1-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 776 kB
  • sloc: ansic: 11,631; sh: 295; makefile: 133; python: 114
file content (16 lines) | stat: -rwxr-xr-x 409 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/bash

# Test script for GNU make build

BASE_DIR=$(dirname "$0")/..
. "${BASE_DIR}/functions.sh"

OPTIONS=( NO_XINERAMA NO_LIBCONFIG NO_REGEX_PCRE NO_REGEX_PCRE_JIT
  NO_VSYNC_DRM NO_VSYNC_OPENGL NO_VSYNC_OPENGL_GLSL NO_VSYNC_OPENGL_FBO
  NO_VSYNC_OPENGL_VBO NO_DBUS NO_XSYNC NO_C2 )

for o in "${OPTIONS[@]}"; do
  einfo Building with $o
  make "${o}=1" -B "${@}" || die
  einfo Build completed.
done