testsuite: Set TEST_RESULT_DIR for tools tests

This commit is contained in:
Matthias Clasen 2021-07-28 13:21:03 -04:00
parent 19b534f7de
commit 67b568f464
4 changed files with 10 additions and 3 deletions

View File

@ -23,6 +23,7 @@ if bash.found()
workdir: meson.current_build_dir(),
protocol: 'tap',
env: [
'TEST_RESULT_DIR=@0@'.format(join_paths(meson.current_build_dir(), 'output')),
'G_TEST_SRCDIR=@0@'.format(meson.current_source_dir()),
'G_TEST_BUILDDIR=@0@'.format(meson.current_build_dir()),
'GTK_A11Y=test',

View File

@ -2,7 +2,9 @@
GTK_BUILDER_TOOL=${GTK_BUILDER_TOOL:-gtk4-builder-tool}
TEST_DATA_DIR=${G_TEST_SRCDIR:-.}/simplify-data-3to4
TEST_RESULT_DIR=${TEST_RESULT_DIR:-/tmp}
TEST_RESULT_DIR=${TEST_RESULT_DIR:-/tmp}/simplify-3to4
mkdir -p "$TEST_RESULT_DIR"
shopt -s nullglob
TESTS=( "$TEST_DATA_DIR"/*.ui )

View File

@ -2,7 +2,9 @@
GTK_BUILDER_TOOL=${GTK_BUILDER_TOOL:-gtk4-builder-tool}
TEST_DATA_DIR=${G_TEST_SRCDIR:-.}/simplify-data
TEST_RESULT_DIR=${TEST_RESULT_DIR:-/tmp}
TEST_RESULT_DIR=${TEST_RESULT_DIR:-/tmp}/simplify
mkdir -p "$TEST_RESULT_DIR"
shopt -s nullglob
TESTS=( "$TEST_DATA_DIR"/*.ui )

View File

@ -2,7 +2,9 @@
GTK_BUILDER_TOOL=${GTK_BUILDER_TOOL:-gtk4-builder-tool}
TEST_DATA_DIR=${G_TEST_SRCDIR:-.}/validate-data
TEST_RESULT_DIR=${TEST_RESULT_DIR:-/tmp}
TEST_RESULT_DIR=${TEST_RESULT_DIR:-/tmp}/validate
mkdir -p "$TEST_RESULT_DIR"
shopt -s nullglob
TESTS=( "$TEST_DATA_DIR"/*.ui )