This series adds the rest of the unit tests in the mesa tree, including the gallium test binaries. The relevant tests are wired into the `ninja test` command, and all tests pass.
A big part of this series is converting tests from shell based to a pure python base. These are mostly straight forward conversions, with one big exception that the lower_jump_tests is converted from a tool that generates shell scripts to run, to a single python binary that generates tests in memory as run, and runs them. The shell scripts have been kept to allow passing arguments to the python scripts, they are not meant to be run directly, just to wrap the python scripts for autotools. Dylan Baker (10): glsl/tests: reimplement warnings-test in python meson: run glsl compiler warnings test glsl/tests: Convert optimization-test.sh to pure python meson: enable optimization-test glsl/tests: Remove unused compare_ir.py script glcpp/tests: Convert shell scripts to a python script meson: enable glcpp test meson: Remove TODO about mesa/main tests meson: Build gallium trivial tests meson: build gallium unit tests meson.build | 2 +- src/compiler/glsl/glcpp/meson.build | 18 +- src/compiler/glsl/glcpp/tests/glcpp-test-cr-lf.sh | 148 +-- src/compiler/glsl/glcpp/tests/glcpp-test.sh | 121 +- src/compiler/glsl/glcpp/tests/glcpp_test.py | 221 +++- src/compiler/glsl/tests/compare_ir.py | 58 +- src/compiler/glsl/tests/lower_jump_cases.py | 643 ++++++++- src/compiler/glsl/tests/lower_jumps/.gitignore | 3 +- src/compiler/glsl/tests/lower_jumps/create_test_cases.py | 673 +-------- src/compiler/glsl/tests/meson.build | 16 +- src/compiler/glsl/tests/optimization-test.sh | 87 +- src/compiler/glsl/tests/optimization_test.py | 95 +- src/compiler/glsl/tests/warnings-test.sh | 57 +- src/compiler/glsl/tests/warnings_test.py | 74 +- src/gallium/meson.build | 6 +- src/gallium/tests/meson.build | 22 +- src/gallium/tests/trivial/meson.build | 29 +- src/gallium/tests/unit/meson.build | 31 +- src/mesa/meson.build | 2 +- 19 files changed, 1154 insertions(+), 1152 deletions(-) create mode 100755 src/compiler/glsl/glcpp/tests/glcpp_test.py delete mode 100644 src/compiler/glsl/tests/compare_ir.py create mode 100644 src/compiler/glsl/tests/lower_jump_cases.py delete mode 100644 src/compiler/glsl/tests/lower_jumps/.gitignore delete mode 100644 src/compiler/glsl/tests/lower_jumps/create_test_cases.py create mode 100755 src/compiler/glsl/tests/optimization_test.py create mode 100755 src/compiler/glsl/tests/warnings_test.py create mode 100644 src/gallium/tests/meson.build create mode 100644 src/gallium/tests/trivial/meson.build create mode 100644 src/gallium/tests/unit/meson.build base-commit: b9f4c615f860b1fb00dec2917fcec4df84f6427e -- git-series 0.9.1 _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev