check-framework

Building the library for check test C framework

China☆狼群 提交于 2019-12-22 06:58:44
问题 I started to use check framework for testing C application. For better understanding I went across the example in check package. It is working fine, but I don't need the automake tools - I want to compile it by my own Makefile (since I want to understand the check properly and I need to use my final application as a package of an OS). Maybe I could use there the autogenerated Makefile, but for now, it would be next one new thing I have to learn and I have restricted time for preparing unit

Check framework integration on project failed to build

爱⌒轻易说出口 提交于 2019-12-11 12:16:52
问题 I'm integrating C check framework for my project and I was able to run autoreconf --install successfully without any errors. But when I integrate the C check framework, I'm getting an error and warnings that doesn't make sense. Here is the error I'm getting src/Makefile.am:7: warning: variable 'main_LDADD' is defined but no program or src/Makefile.am:7: library has 'main' as canonical name (possible typo) tests/Makefile.am:2: error: 'SHELLTESTS_PROGRAMS' is used but 'SHELLTESTSdir' is

Check framework example giving me error when running './configure'

こ雲淡風輕ζ 提交于 2019-12-06 05:01:26
问题 I'm building the check framework example 'check_money', but it's not building on my machine. The error is: configure: error: cannot find install-sh, install.sh, or shtool in "." "./.." "./../.." I've tried installing it using: libtoolize --force aclocal autoheader automake --force-missing --add-missing autoconf ./configure It's still giving me the same error. So, I copied the same directory to another directory and ran: autoreconf --install ./configure And it's still giving me the same error.

Building the library for check test C framework

▼魔方 西西 提交于 2019-12-05 08:58:21
I started to use check framework for testing C application. For better understanding I went across the example in check package. It is working fine, but I don't need the automake tools - I want to compile it by my own Makefile (since I want to understand the check properly and I need to use my final application as a package of an OS). Maybe I could use there the autogenerated Makefile, but for now, it would be next one new thing I have to learn and I have restricted time for preparing unit tests. (Then, of course, I want to study and understand the tools for generating Makfile, using configure

Check framework example giving me error when running './configure'

孤街浪徒 提交于 2019-12-04 09:15:43
I'm building the check framework example 'check_money', but it's not building on my machine. The error is: configure: error: cannot find install-sh, install.sh, or shtool in "." "./.." "./../.." I've tried installing it using: libtoolize --force aclocal autoheader automake --force-missing --add-missing autoconf ./configure It's still giving me the same error. So, I copied the same directory to another directory and ran: autoreconf --install ./configure And it's still giving me the same error. I don't know what else to try. I'm on Mac OS X Mavericks (10.9) Autoconf 2.69 Automake 1.15 Libtool 2