summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2013-08-12 12:15:16 +0200
committerDaniel Vetter <daniel.vetter@ffwll.ch>2013-08-12 12:15:16 +0200
commit814b135541813a6ee623eda895119acdea7f7a2f (patch)
tree0e111b4fa3e78f8895744037ca41b0a70224452d /lib
parent16024841a12f71d52aea12603d9fb1cb63124fb6 (diff)
s/drmtest_subtest_block/drmtest_subtest/
The _block postfix meant to convey that a C statement/block must follow can be misread as the verb to block. So drop it. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'lib')
-rw-r--r--lib/drmtest.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/drmtest.h b/lib/drmtest.h
index 0182e09cd..70b4009f5 100644
--- a/lib/drmtest.h
+++ b/lib/drmtest.h
@@ -99,9 +99,9 @@ void drmtest_progress(const char *header, uint64_t i, uint64_t total);
jmp_buf drmtest_subtest_jmpbuf;
void drmtest_subtest_init(int argc, char **argv);
bool __drmtest_run_subtest(const char *subtest_name);
-#define drmtest_subtest_block(name) for (; __drmtest_run_subtest((name)) && \
- (setjmp(drmtest_subtest_jmpbuf) == 0); \
- drmtest_success())
+#define drmtest_subtest(name) for (; __drmtest_run_subtest((name)) && \
+ (setjmp(drmtest_subtest_jmpbuf) == 0); \
+ drmtest_success())
bool drmtest_only_list_subtests(void);
void drmtest_skip(void);
void drmtest_success(void);