2019-11-14 23:26:24 +01:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
set -e
|
|
|
|
set -o xtrace
|
|
|
|
|
|
|
|
# Running a unity build (sometimes called a jumbo build) is both a useful thing
|
|
|
|
# to test and reduces compile time.
|
|
|
|
#
|
2020-06-25 19:55:29 +02:00
|
|
|
# Enable all auto-features to ensure that we're properly testing all optional
|
2019-11-14 23:26:24 +01:00
|
|
|
# dependencies.
|
2020-06-25 19:55:29 +02:00
|
|
|
meson build -Dwerror=true --unity=on --auto-features=enabled $CONFIGURE_OPTIONS
|
2019-11-14 23:26:24 +01:00
|
|
|
ninja -C build
|
|
|
|
|
2019-12-09 19:34:12 +01:00
|
|
|
xvfb-run --auto-servernum ninja -C build test
|