[gtk/fix-tools-tests: 1/5] testsuite: Actually run tools tests



commit 8fd51d761b9d4a9f2bfaf356d90e74ca8f5ff380
Author: Matthias Clasen <mclasen redhat com>
Date:   Fri Mar 13 15:11:07 2020 -0400

    testsuite: Actually run tools tests
    
    The script was looking in the wrong place for the tests.

 testsuite/tools/simplify-3to4.in | 2 +-
 testsuite/tools/simplify.in      | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/testsuite/tools/simplify-3to4.in b/testsuite/tools/simplify-3to4.in
index 693e8bd05f..31d7da0970 100755
--- a/testsuite/tools/simplify-3to4.in
+++ b/testsuite/tools/simplify-3to4.in
@@ -1,7 +1,7 @@
 #! /bin/bash
 
 GTK_BUILDER_TOOL=${GTK_BUILDER_TOOL:-gtk4-builder-tool}
-TEST_DATA_DIR=${TEST_DATA_DIR:-./simplify-data-3to4}
+TEST_DATA_DIR=${G_TEST_SRCDIR:-.}/simplify-data-3to4
 TEST_RESULT_DIR=${TEST_RESULT_DIR:-/tmp}
 
 shopt -s nullglob
diff --git a/testsuite/tools/simplify.in b/testsuite/tools/simplify.in
index 08059f3c17..c92c5c6d9c 100755
--- a/testsuite/tools/simplify.in
+++ b/testsuite/tools/simplify.in
@@ -1,7 +1,7 @@
 #! /bin/bash
 
 GTK_BUILDER_TOOL=${GTK_BUILDER_TOOL:-gtk4-builder-tool}
-TEST_DATA_DIR=${TEST_DATA_DIR:-./simplify-data}
+TEST_DATA_DIR=${G_TEST_SRCDIR:-.}/simplify-data
 TEST_RESULT_DIR=${TEST_RESULT_DIR:-/tmp}
 
 shopt -s nullglob


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]