[Mesa-dev] [PATCH v2 17/23] glsl/tests/optimization-test: 'echo' only folders which has generators

Emil Velikov emil.l.velikov at gmail.com
Fri Mar 17 13:19:43 UTC 2017


From: Emil Velikov <emil.velikov at collabora.com>

The current "let's print any folder which exists" is simply confusing.

Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
---
 src/compiler/glsl/tests/optimization-test.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/compiler/glsl/tests/optimization-test.sh b/src/compiler/glsl/tests/optimization-test.sh
index f280dd39495..e54edc7fb01 100755
--- a/src/compiler/glsl/tests/optimization-test.sh
+++ b/src/compiler/glsl/tests/optimization-test.sh
@@ -34,6 +34,7 @@ ORIGDIR=`pwd`
 echo "======       Generating tests      ======"
 for dir in $srcdir/glsl/tests/*/; do
     if [ -e "${dir}create_test_cases.py" ]; then
+        echo "$dir"
         # construct the correct builddir
         completedir="$abs_builddir/glsl/tests/`echo ${dir} | sed 's|.*/glsl/tests/||g'`"
         mkdir -p $completedir
@@ -44,7 +45,6 @@ for dir in $srcdir/glsl/tests/*/; do
         fi
         cd ..
     fi
-    echo "$dir"
 done
 cd "$ORIGDIR"
 
-- 
2.11.1



More information about the mesa-dev mailing list