Mesa (master): 23 new commits

Emil Velikov evelikov at kemper.freedesktop.org
Tue Mar 28 14:35:52 UTC 2017


URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0f9a0cb5f55b432f58c9adbb9b1c63c748d1dfd0
Author: Emil Velikov <emil.velikov at collabora.com>
Date:   Tue Feb 28 13:29:06 2017 +0000

    glcpp/tests/glcpp-test-cr-lf: error out if we cannot find any tests
    
    Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
    Acked-by: Kenneth Graunke <kenneth at whitecape.org>
    Reviewed-by: Eric Engestrom <eric.engestrom at imgtec.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d8096b75aa15fdda8433c2c8614ca0bf5de2c150
Author: Emil Velikov <emil.velikov at collabora.com>
Date:   Tue Feb 28 13:24:55 2017 +0000

    glcpp/tests/glcpp-test-cr-lf: correctly set/use srcdir/abs_builddir
    
    Otherwise manual invokation of the script from elsewhere than
    `dirname $0` will fail.
    
    With these all the artefacts should be created in the correct location,
    and thus we can remove the old (and slighly strange) clean-local line.
    
    Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
    Acked-by: Kenneth Graunke <kenneth at whitecape.org>
    Reviewed-by: Eric Engestrom <eric.engestrom at imgtec.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=cf77cdce839a06097b5f995118261eb98285ffc7
Author: Emil Velikov <emil.velikov at collabora.com>
Date:   Tue Feb 28 12:13:58 2017 +0000

    glcpp/tests: update testname in help string
    
    Rather than hardcoding glcpp/other use `basename "$0"` which expands
    appropriatelly.
    
    Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
    Acked-by: Kenneth Graunke <kenneth at whitecape.org>
    Reviewed-by: Eric Engestrom <eric.engestrom at imgtec.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4ea4fbf93a5a2229af3d48dc7fb23a43c90adb7f
Author: Emil Velikov <emil.velikov at collabora.com>
Date:   Tue Feb 28 12:10:41 2017 +0000

    glcpp/tests/glcpp-test: error out if we cannot find any tests
    
    Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
    Acked-by: Kenneth Graunke <kenneth at whitecape.org>
    Reviewed-by: Eric Engestrom <eric.engestrom at imgtec.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=182d48ceb9e58eb53b52436b2cd6010de072d29b
Author: Emil Velikov <emil.velikov at collabora.com>
Date:   Tue Feb 28 12:08:52 2017 +0000

    glcpp/tests/glcpp-test: print only the test basename
    
    Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
    Acked-by: Kenneth Graunke <kenneth at whitecape.org>
    Reviewed-by: Eric Engestrom <eric.engestrom at imgtec.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=addf62946d6c73885dd261099cddc06d3c910f17
Author: Emil Velikov <emil.velikov at collabora.com>
Date:   Tue Feb 28 12:02:35 2017 +0000

    glcpp/tests/glcpp-test: set srcdir/abs_builddir variables
    
    Current definitions work fine for the manual invokation of the script,
    although the whole script does not consider that one can run it OOT.
    
    The latter will be handled with latter patches, although it will be
    extensively using the two variables.
    
    Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
    Acked-by: Kenneth Graunke <kenneth at whitecape.org>
    Reviewed-by: Eric Engestrom <eric.engestrom at imgtec.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ee8aea35725e4b582ed8af2866d0feffa2d13c6e
Author: Emil Velikov <emil.velikov at collabora.com>
Date:   Mon Feb 27 18:58:06 2017 +0000

    glsl/tests/optimization-test: 'echo' only folders which has generators
    
    The current "let's print any folder which exists" is simply confusing.
    
    Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
    Acked-by: Kenneth Graunke <kenneth at whitecape.org>
    Reviewed-by: Eric Engestrom <eric.engestrom at imgtec.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=79a95f19e64a1d2f855e3f8194b86dc0b2a78c3f
Author: Emil Velikov <emil.velikov at collabora.com>
Date:   Mon Feb 27 18:56:38 2017 +0000

    glsl/tests/optimization-test: print only the test basedir/name
    
    The relative/absolute path brings little to no benefit in being printed
    as testname. Trim it out.
    
    Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
    Acked-by: Kenneth Graunke <kenneth at whitecape.org>
    Reviewed-by: Eric Engestrom <eric.engestrom at imgtec.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=33cd136fa267a44931b8f0230c5d68259ebec2d5
Author: Emil Velikov <emil.velikov at collabora.com>
Date:   Sun Feb 26 20:43:05 2017 +0000

    glsl/tests/optimization-test: error if zero tests were executed
    
    We don't want to lie ourselves that 'everything is fine' when no tests
    were found/ran.
    
    Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
    Acked-by: Kenneth Graunke <kenneth at whitecape.org>
    Reviewed-by: Eric Engestrom <eric.engestrom at imgtec.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=421115a72939b7dbcdc9f714d85f3e7616323a3e
Author: Emil Velikov <emil.velikov at collabora.com>
Date:   Sun Feb 26 20:28:21 2017 +0000

    glsl/tests/optimization-test: pass glsl_test as argument
    
    Rather than hardcoding the binary location (which ends up wrong in a
    number of occasions) in the python script, pass it as argument.
    
    This allows us to remove a couple of dirname/basename workarounds that
    aimed to keep this working, and succeeded in the odd occasion.
    
    Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
    Acked-by: Kenneth Graunke <kenneth at whitecape.org>
    Reviewed-by: Eric Engestrom <eric.engestrom at imgtec.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7d2a1394bbdd79d059a4c1dbe96a4e38c9ed34de
Author: Emil Velikov <emil.velikov at collabora.com>
Date:   Thu Feb 23 14:53:03 2017 +0000

    glsl/tests/optimization-test: error out if we fail to generate any tests
    
    v2: use -eq over a string comparison (Eric)
    
    Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
    Acked-by: Kenneth Graunke <kenneth at whitecape.org>
    Reviewed-by: Eric Engestrom <eric.engestrom at imgtec.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=86a937d2644adcd724dae58c5212de5358326e9c
Author: Emil Velikov <emil.velikov at collabora.com>
Date:   Sun Feb 26 20:17:00 2017 +0000

    glsl/tests/optimization-test: correctly manage srcdir/builddir
    
    At the moment we look for generator script(s) in builddir while they
    are in srcdir, and we proceed to generate the tests and expected output
    in srcdir, which is not allowed.
    
    To untangle:
     - look for the generator script in the correct place
     - generate the files in builddir, by extending create_test_cases.py to
    use --outdir
    
    With this in place the test passes `make check' for OOT builds - would
    that be as standalone or part of `make distcheck'
    
    Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
    Acked-by: Kenneth Graunke <kenneth at whitecape.org>
    Reviewed-by: Eric Engestrom <eric.engestrom at imgtec.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a7d9f0a361c4fd5d7e223cac61eca180c309cdc1
Author: Emil Velikov <emil.velikov at collabora.com>
Date:   Thu Feb 23 14:17:09 2017 +0000

    glsl/tests/optimisation-test: ensure that compare_ir is available
    
    Bail out early if the script is not where we expect it to be.
    
    v2: use -f instead of -e. latter returns true on folder(s)
    
    Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
    Acked-by: Kenneth Graunke <kenneth at whitecape.org>
    Reviewed-by: Eric Engestrom <eric.engestrom at imgtec.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9083c625f56439631b49e77a948c5a99889c0ea4
Author: Emil Velikov <emil.velikov at collabora.com>
Date:   Mon Feb 27 18:21:36 2017 +0000

    glsl/tests/optimization-test: correctly set compare_ir
    
    Now that we have srcdir we can use it to correctly manage/point to the
    script. Effectively fixing OOT invokation of `make check'.
    
    Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
    Acked-by: Kenneth Graunke <kenneth at whitecape.org>
    Reviewed-by: Eric Engestrom <eric.engestrom at imgtec.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=44b642225820a8372461a14e11df60afc5cc9289
Author: Emil Velikov <emil.velikov at collabora.com>
Date:   Thu Feb 23 14:27:08 2017 +0000

    glsl/tests/optimization-test: add fallback srcdir/abs_builddir defines
    
    There is no robust way to detect either one, so simply hope for the best
    and warn just in case.
    
    Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
    Acked-by: Kenneth Graunke <kenneth at whitecape.org>
    Reviewed-by: Eric Engestrom <eric.engestrom at imgtec.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=05bc5b35a7b57ca5c8be476b5c0c6ca2e59ef0ba
Author: Emil Velikov <emil.velikov at collabora.com>
Date:   Thu Feb 23 13:15:42 2017 +0000

    glsl/tests/optimisation-test: make sure that $PYTHON2 is set/available
    
    Otherwise we'll fail when invoking the script outside of "make check"
    
    v2: use -ne over a string comparison (Eric)
    
    Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
    Acked-by: Kenneth Graunke <kenneth at whitecape.org>
    Reviewed-by: Eric Engestrom <eric.engestrom at imgtec.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=bd4be79fc5ba1dfb18ca25d7f2a39cfc9b23fdd2
Author: Emil Velikov <emil.velikov at collabora.com>
Date:   Sun Feb 26 21:24:42 2017 +0000

    glsl/tests/warnings-test: print only the test basename
    
    Spamming the log with the (in some cases extremely long) test location
    is of limited use.
    
    Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
    Acked-by: Kenneth Graunke <kenneth at whitecape.org>
    Reviewed-by: Eric Engestrom <eric.engestrom at imgtec.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1c58d08bd96c13c1de644c0adc4b8ec7c1967636
Author: Emil Velikov <emil.velikov at collabora.com>
Date:   Sun Feb 26 21:33:08 2017 +0000

    glsl/tests/warnings-test: error if zero tests were executed
    
    We don't want to lie ourselves that 'everything is fine' when no tests
    were found/ran.
    
    Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
    Acked-by: Kenneth Graunke <kenneth at whitecape.org>
    Reviewed-by: Eric Engestrom <eric.engestrom at imgtec.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=493fa69e374526fc5bf8d6727eb40a1c851a2d01
Author: Emil Velikov <emil.l.velikov at gmail.com>
Date:   Sun Feb 26 21:24:26 2017 +0000

    glsl/tests/warnings-test: correctly manage srcdir/builddir
    
    Before this commit, we would effectively fail to run any of the test in
    a OOT builds.
    
    Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
    Acked-by: Kenneth Graunke <kenneth at whitecape.org>
    Reviewed-by: Eric Engestrom <eric.engestrom at imgtec.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=81ccc7a484ae8f9f242a42a80a3d09e6987cc816
Author: Emil Velikov <emil.velikov at collabora.com>
Date:   Sun Feb 26 21:06:07 2017 +0000

    glsl/tests/warnings-test: add fallback srcdir/abs_builddir defines
    
    There is no robust way to detect either one, so simply hope for the best
    and warn just in case.
    
    Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
    Acked-by: Kenneth Graunke <kenneth at whitecape.org>
    Reviewed-by: Eric Engestrom <eric.engestrom at imgtec.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4b366b171da2d77c92cef43833f50d4cf2427dcf
Author: Emil Velikov <emil.velikov at collabora.com>
Date:   Sun Feb 26 20:47:30 2017 +0000

    glsl/tests/warnings-test: error out if glsl_compiler is missing
    
     ... or non-executable, in particular.
    
    v2: use test -x (Eric)
    
    Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
    Acked-by: Kenneth Graunke <kenneth at whitecape.org> (v1)
    Reviewed-by: Eric Engestrom <eric.engestrom at imgtec.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1d93fa7be4223e56eeae8f56ff358d264b540d9f
Author: Emil Velikov <emil.velikov at collabora.com>
Date:   Sun Feb 26 22:39:26 2017 +0000

    glsl: automake: export abs_builddir for the tests
    
    We're going to use them with the next commits to determine where to put
    the generated tests and/or built binaries.
    
    Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
    Acked-by: Kenneth Graunke <kenneth at whitecape.org>
    Reviewed-by: Eric Engestrom <eric.engestrom at imgtec.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=841f0d2c58d1d6cf373ce3195829d38878142aa0
Author: Emil Velikov <emil.velikov at collabora.com>
Date:   Thu Mar 16 18:03:34 2017 +0000

    glsl/tests: automake: cleanup all artefacts during clean-local
    
    With later commits we'll fix the generators to produce the files in the
    correct location. That in itself will cause an issue since the files
    will be left dangling and make distcheck will fail.
    
    v2: Use -r only as needed (Eric)
    
    Cc: Matt Turner <mattst88 at gmail.com>
    Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
    Acked-by: Kenneth Graunke <kenneth at whitecape.org> (v1)
    Reviewed-by: Eric Engestrom <eric.engestrom at imgtec.com>




More information about the mesa-commit mailing list