1
0
Fork 0
mirror of https://github.com/yshui/picom.git synced 2024-11-25 14:06:08 -05:00
picom/tests/make-tests.sh
Richard Grenville 23d1dd1c0e Misc: Add two test scripts
Add two scripts for testing build.
2015-01-11 16:30:41 +08:00

16 lines
409 B
Bash
Executable file

#!/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