Commit graph

5 commits

Author SHA1 Message Date
danghvu
3c1d65ea66 Reorganize test directories 2015-09-21 20:47:45 -05:00
Jonathon Reinhart
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
Jonathon Reinhart
4dae31b25e add uc_assert_(err|fail) macros 2015-09-20 21:13:22 -04:00
Jonathon Reinhart
df3966a90c continued work on test framework 2015-09-20 21:13:22 -04:00
Jonathon Reinhart
d4de54601d add start of test_mem_map.c 2015-09-20 21:13:22 -04:00