r300/compiler: Add simple unit test framework
authorTom Stellard <tstellar@gmail.com>
Sun, 8 May 2011 22:50:45 +0000 (15:50 -0700)
committerTom Stellard <tstellar@gmail.com>
Wed, 11 May 2011 23:16:29 +0000 (16:16 -0700)
commitd1e8195c070c7b1324efbb037299ba184bb06270
treeabd1f4eb6915e937f7bcd4027fda90515721962b
parentb9f2750900efb2667bc1dfc428b71d8a08b212be
r300/compiler: Add simple unit test framework

Plus three tests for rc_inst_can_use_presub()
src/mesa/drivers/dri/r300/compiler/Makefile
src/mesa/drivers/dri/r300/compiler/tests/Makefile [new file with mode: 0644]
src/mesa/drivers/dri/r300/compiler/tests/radeon_compiler_util_tests.c [new file with mode: 0644]
src/mesa/drivers/dri/r300/compiler/tests/rc_test_helpers.c [new file with mode: 0644]
src/mesa/drivers/dri/r300/compiler/tests/rc_test_helpers.h [new file with mode: 0644]
src/mesa/drivers/dri/r300/compiler/tests/unit_test.c [new file with mode: 0644]
src/mesa/drivers/dri/r300/compiler/tests/unit_test.h [new file with mode: 0644]