unicorn/tests/unit
Stephen bc08bfda67 Unit testing in CI (#651)
- in appveyor, install clang and cmake in cygwin, enable package upgrades, and build cmocka and enable testing for gcc only
- in `gitignore`, ignore generated cmocka folder
- in travis, use brew in osx to install cmocka, and enable testing for gcc and clang on os x and linux
- in `Makefile`, change to use `uname -s` to determine os type
- make `install-cmocka-linux.sh`, a simple shell script to download and install cmocka on linux
- in `bindings/Makefile`, enable `make -c` to call subdirectory makefiles instead of `cd [dir] && make` and include environment variables for runtime access to generated libraries
- in `samples/Makefile`, change to use `uname -s` to determine os type, remove `clean_bins` from `all` command, and include `Werror` for compile strictness
- in `tests/unit/Makefile`, add `cflags` for compile time access to cmocka headers and library, include execute vars for runtime access to cmocka and unicorn libs
- in `tests/unit/test_tb_x86.c`, comment out assert that would not compile
2016-10-22 00:21:10 +08:00
..
.gitignore tests: more flexible .gitignore for tests/unit/ 2016-06-16 09:14:32 +08:00
Makefile Unit testing in CI (#651) 2016-10-22 00:21:10 +08:00
test_gdt_idt_x86.c uc_x86_mmr type available in qemu/target-i386/unicorn.c 2016-02-04 19:09:41 -08:00
test_hang.c Update test_hang.c 2016-10-05 10:29:16 -07:00
test_hookcounts.c unit: fix test_hookcounts.c 2016-03-20 01:54:37 +08:00
test_mem_high.c uc_hook_add(): add begin & end arguments for all hook types. also update Python binding after this change 2016-02-11 08:02:13 +08:00
test_mem_map.c [query] add UC_QUERY_PAGE_SIZE uc_query helper 2016-03-04 15:54:24 +11:00
test_mem_map_ptr.c
test_multihook.c uc_hook_add(): add begin & end arguments for all hook types. also update Python binding after this change 2016-02-11 08:02:13 +08:00
test_pc_change.c uc_hook_add(): add begin & end arguments for all hook types. also update Python binding after this change 2016-02-11 08:02:13 +08:00
test_sanity.c
test_tb_x86.c Unit testing in CI (#651) 2016-10-22 00:21:10 +08:00
test_x86.c Tweak some names in a few places, encapsulate the uc_context struct to hide it from users for some reason 2016-10-10 14:04:51 -07:00
test_x86_rip_bug.c Fixed printf format specifier 2016-08-20 22:34:14 -07:00
test_x86_shl_enter_leave.c bit of refactoring 2016-07-31 19:45:46 +02:00
test_x86_soft_paging.c unit: remove ^M from test_x86_soft_paging.c 2016-02-22 14:02:28 +08:00
unicorn_test.h