mirror of
https://gitlab.freedesktop.org/emersion/libdisplay-info.git
synced 2024-11-16 19:48:30 +01:00
test: make edid-decode-diff.sh easier to run
Having to define just DI_EDID_DECODE was tolerable when REF_EDID_DECODE does not need setting, but now that there are two built tools, it is getting inconvenient. Change the defaults to match the build directory structure and add a new overridable for the build directory. Now I only need to set BUILDDIR for this to work. My build dirs are completely elsewhere, but if someone uses the usual 'meson build' incantation, the default value for BUILDDIR should be fine. Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.com>
This commit is contained in:
parent
f70fa58441
commit
00b446d5db
1 changed files with 4 additions and 2 deletions
|
@ -1,8 +1,10 @@
|
|||
#!/bin/sh -eu
|
||||
|
||||
REF_EDID_DECODE="${REF_EDID_DECODE:-edid-decode}"
|
||||
DI_EDID_DECODE="${DI_EDID_DECODE:-di-edid-decode}"
|
||||
DI_EDID_PRINT="${DI_EDID_PRINT:-di-edid-print}"
|
||||
|
||||
BUILDDIR="${BUILDDIR:-./build}"
|
||||
DI_EDID_DECODE="${DI_EDID_DECODE:-${BUILDDIR}/di-edid-decode}"
|
||||
DI_EDID_PRINT="${DI_EDID_PRINT:-${BUILDDIR}/test/di-edid-print}"
|
||||
|
||||
workdir="$(mktemp -d)"
|
||||
cleanup() {
|
||||
|
|
Loading…
Reference in a new issue