[gtk/simplify-tests: 1/5] Fix the simplify test



commit 4f6cc46278741c7568082d97d64d359dfb24f1c4
Author: Matthias Clasen <mclasen redhat com>
Date:   Sun May 5 15:21:58 2019 +0000

    Fix the simplify test
    
    The script was returning the wrong number of tests.

 testsuite/tools/simplify.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/testsuite/tools/simplify.in b/testsuite/tools/simplify.in
index 642b50f0e6..814f803091 100755
--- a/testsuite/tools/simplify.in
+++ b/testsuite/tools/simplify.in
@@ -7,7 +7,7 @@ TEST_RESULT_DIR=${TEST_RESULT_DIR:-/tmp}
 shopt -s nullglob
 TESTS=( "$TEST_DATA_DIR"/*.ui )
 
-echo "1..${#TESTS}"
+echo "1..${#TESTS[*]}"
 
 I=1
 for t in ${TESTS[*]}; do


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