Commit graph

6 commits

Author SHA1 Message Date
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
Nguyen Anh Quynh 1ddebc7304 travis: do not need to install pkg-config 2016-03-03 23:41:03 +08:00
Nguyen Anh Quynh 3ebb5d3a2e travis: fix brew install 2016-03-03 23:33:07 +08:00
Nguyen Anh Quynh cf08670a1c Travis: install dependencies for OSX 2016-03-03 23:25:29 +08:00
Nguyen Anh Quynh feb7b8e1ae travis: support OSX & Linux 2016-03-03 23:14:25 +08:00
Nguyen Anh Quynh 9eb1c57c34 add Travis support for automated tests 2016-03-01 13:49:27 +08:00