Commit Graph

4 Commits

Author SHA1 Message Date
02daa8df46 test/unit: simplify uc_assert_fail() macro
This removes the UC_ASSERT_ERR_ANY constant, which was causing a
compilation error on OSX:

error: comparison of constant 3735928559 with expression of type
'uc_err' (aka 'enum uc_err') is always true
[-Werror,-Wtautological-constant-out-of-range-compare]

I could have probably changed 0xDEADBEEF to a constant < 0x80000000
but this seems cleaner anyway.
2015-09-21 08:37:21 -04:00
4dae31b25e add uc_assert_(err|fail) macros 2015-09-20 21:13:22 -04:00
df3966a90c continued work on test framework 2015-09-20 21:13:22 -04:00
d4de54601d add start of test_mem_map.c 2015-09-20 21:13:22 -04:00