[Nut-upsdev] make environment for automated testcases

Nick Ma. nick.mayerhofer at enchant.at
Mon Apr 27 06:48:34 UTC 2015


On 27/04/15 00:35, Charles Lepple wrote:
> autoreconf has to be run from the top level directory. 
I did that too.
> (Not related to this issue, but you might want to use the autogen.sh
> script to catch any other dependencies, then add
> --enable-maintainer-mode to the configure parameters so you don't need
> to manually re-run the auto-tools.) Do you have cppunit installed? 
I tried now:
%apt-get install libcppunit-dev
~/nut% ./autogen.sh
~/nut% ./configure --with-usb --with-dev --enable-maintainer-mode
~/nut% autoreconf -i
~/nut/tests% make clean;make
rm -f cppunittest
rm -rf .libs _libs
rm -f *.o
test -z "cppunittest.log" || rm -f cppunittest.log
test -z "cppunittest.trs" || rm -f cppunittest.trs
test -z "test-suite.log" || rm -f test-suite.log
rm -f *.lo
make: Nothing to be done for `all'.

But it still doesn't compile any executable: ~/nut/tests% ls
cpputest.cpp example.cpp  Makefile  Makefile.am  Makefile.in

Best




More information about the Nut-upsdev mailing list