diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2014-03-22 19:27:04 +0100 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2014-03-22 19:39:46 +0100 |
commit | 0e22f14ed642af94db5f0dd7461920274be3361a (patch) | |
tree | 9330d305d9138437634c84721e30671aa4ecd9db /tests/pm_rps.c | |
parent | bff22f7317a39605d53cf142e2c0f5c424d9c12c (diff) |
tests|lib: remove assert.h includes
Only the igt core and non-test tools should have asserts to catch
internal errors, tests and helper libraries should all user igt_asert
instead.
Fix things up where assert instead of igt_assert was used.
One tiny step towards header sanity.
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'tests/pm_rps.c')
-rw-r--r-- | tests/pm_rps.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/pm_rps.c b/tests/pm_rps.c index 2f321840..038987c0 100644 --- a/tests/pm_rps.c +++ b/tests/pm_rps.c @@ -197,7 +197,7 @@ static void emit_store_dword_imm(uint32_t val) #define LOAD_HELPER_BO_SIZE (16*1024*1024) static void load_helper_set_load(enum load load) { - assert(lh.igt_proc.running); + igt_assert(lh.igt_proc.running); if (lh.load == load) return; |