[gtk/source-static-name] testsuite: Set TEST_RESULT_DIR for tools tests
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/source-static-name] testsuite: Set TEST_RESULT_DIR for tools tests
- Date: Wed, 28 Jul 2021 17:42:09 +0000 (UTC)
commit 0d2037c22409781971b0ec8174d1cd48032e415b
Author: Matthias Clasen <mclasen redhat com>
Date: Wed Jul 28 13:21:03 2021 -0400
testsuite: Set TEST_RESULT_DIR for tools tests
testsuite/tools/meson.build | 1 +
testsuite/tools/simplify-3to4.in | 2 +-
testsuite/tools/simplify.in | 2 +-
testsuite/tools/validate.in | 2 +-
4 files changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/testsuite/tools/meson.build b/testsuite/tools/meson.build
index 6ad367586f..582bce6fb8 100644
--- a/testsuite/tools/meson.build
+++ b/testsuite/tools/meson.build
@@ -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',
diff --git a/testsuite/tools/simplify-3to4.in b/testsuite/tools/simplify-3to4.in
index 35b8a8272f..4aa220a281 100755
--- a/testsuite/tools/simplify-3to4.in
+++ b/testsuite/tools/simplify-3to4.in
@@ -2,7 +2,7 @@
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
shopt -s nullglob
TESTS=( "$TEST_DATA_DIR"/*.ui )
diff --git a/testsuite/tools/simplify.in b/testsuite/tools/simplify.in
index e90437337b..df8baa91fd 100755
--- a/testsuite/tools/simplify.in
+++ b/testsuite/tools/simplify.in
@@ -2,7 +2,7 @@
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
shopt -s nullglob
TESTS=( "$TEST_DATA_DIR"/*.ui )
diff --git a/testsuite/tools/validate.in b/testsuite/tools/validate.in
index 82de80e31d..1cfba559d4 100755
--- a/testsuite/tools/validate.in
+++ b/testsuite/tools/validate.in
@@ -2,7 +2,7 @@
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
shopt -s nullglob
TESTS=( "$TEST_DATA_DIR"/*.ui )
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]