Module: Mesa Branch: master Commit: 6569b33b6eed94aa8722287344f9f06a9390e0e5 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=6569b33b6eed94aa8722287344f9f06a9390e0e5
Author: Gert Wollny <[email protected]> Date: Wed Oct 11 19:56:46 2017 +0200 mesa/st/tests: unify MockCodeLine* classes * Merge the classes MockCodeLine and MockCodelineWithSwizzle into one, and refactor tests accordingly. * Change memory allocations to use ralloc* interface. v2: * move the test classes into a conveniance library * rename the Mock* classes to Fake* since they are not really Mocks * Base assertion of correct number of src and dst registers in tests on what the operatand actually expects * Fix number of destinations in one test v6: * fix local includes using "..." insteadof <...> Reviewed-by: Brian Paul <[email protected]> Signed-off-by: Gert Wollny <[email protected]> --- src/mesa/state_tracker/tests/Makefile.am | 6 + src/mesa/state_tracker/tests/st_tests_common.cpp | 394 +++++++++++ src/mesa/state_tracker/tests/st_tests_common.h | 163 +++++ .../tests/test_glsl_to_tgsi_lifetime.cpp | 719 +++++---------------- 4 files changed, 735 insertions(+), 547 deletions(-) Diff: http://cgit.freedesktop.org/mesa/mesa/diff/?id=6569b33b6eed94aa8722287344f9f06a9390e0e5 _______________________________________________ mesa-commit mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-commit
