From 4f067ada47bfeef792e5adbed4f3e215b704212a Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Fri, 4 Jun 2010 17:00:48 -0600 Subject: llvmpipe: new -s option to run single test Put specific test code in the test_single() function and pass -s to execute that code. --- src/gallium/drivers/llvmpipe/lp_test_printf.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/gallium/drivers/llvmpipe/lp_test_printf.c') diff --git a/src/gallium/drivers/llvmpipe/lp_test_printf.c b/src/gallium/drivers/llvmpipe/lp_test_printf.c index d99ca81638..21df83f9d8 100644 --- a/src/gallium/drivers/llvmpipe/lp_test_printf.c +++ b/src/gallium/drivers/llvmpipe/lp_test_printf.c @@ -165,3 +165,11 @@ test_some(unsigned verbose, FILE *fp, unsigned long n) { return test_all(verbose, fp); } + + +boolean +test_single(unsigned verbose, FILE *fp) +{ + printf("no test_single()"); + return TRUE; +} -- cgit v1.2.3