aco: add framework for unit testing
authorRhys Perry <pendingchaos02@gmail.com>
Wed, 22 Jan 2020 19:58:27 +0000 (19:58 +0000)
committerMarge Bot <eric+marge@anholt.net>
Thu, 30 Jul 2020 16:13:08 +0000 (16:13 +0000)
commite6366f9094326a2841058678174289827f504905
tree0461ebd797507293d67c43d65819d9a8fbef0e39
parentdd155aef4404994ffc36a63f14fb2ba3f48c0ae5
aco: add framework for unit testing

And add some "tests" to test and document currently unused features of the
framework.

Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Acked-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Acked-by: Daniel Schürmann <daniel@schuermann.dev>
Acked-by: Timur Kristóf <timur.kristof@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3521>
15 files changed:
meson.build
meson_options.txt
src/amd/compiler/aco_assembler.cpp
src/amd/compiler/aco_builder_h.py
src/amd/compiler/aco_lower_to_hw_instr.cpp
src/amd/compiler/aco_opcodes.py
src/amd/compiler/tests/README.md [new file with mode: 0644]
src/amd/compiler/tests/check_output.py [new file with mode: 0644]
src/amd/compiler/tests/framework.h [new file with mode: 0644]
src/amd/compiler/tests/helpers.cpp [new file with mode: 0644]
src/amd/compiler/tests/helpers.h [new file with mode: 0644]
src/amd/compiler/tests/main.cpp [new file with mode: 0644]
src/amd/compiler/tests/meson.build [new file with mode: 0644]
src/amd/compiler/tests/test_tests.cpp [new file with mode: 0644]
src/amd/meson.build