Bookmark Topic Watch Topic
  • New Topic

cppunit testing

 
Brian K Smith
Greenhorn
Posts: 12
  • 0
  • Mark post as helpful
  • send pies
  • Report post to moderator
I know it's not java, but I'm having some trouble getting my cppunit to run on Netbeans. Basically,

I have a problem with trying to run cppunit on netbeans. I've installed the latest cppunit, put it in my cygwin directory, run the ./configure, make, make install.

That all went. I was able to set up a simple unit test in the unit test wizard. My runner, code, and header files showed up.

1) I was able to set the include and lib paths so the macros were found. No big deal.

I also had to manually add a cygcppunit dll to a test folder where netbeans made an f1.exe file. Easy enough.

Now, when I try to run the test, the code compiles, and hangs here:

"/usr/bin/make" -f nbproject/Makefile-Debug.mk QMAKE= SUBPROJECTS= .build-conf
make[1]: Entering directory `/cygdrive/c/Users/Brian/Documents/C++ Projects/Parsing'
"/usr/bin/make" -f nbproject/Makefile-Debug.mk build/Debug/Cygwin-Windows/tests/TestFiles/f2.exe
make[2]: Entering directory `/cygdrive/c/Users/Brian/Documents/C++ Projects/Parsing'
make[2]: `build/Debug/Cygwin-Windows/tests/TestFiles/f2.exe' is up to date.
make[2]: Leaving directory `/cygdrive/c/Users/Brian/Documents/C++ Projects/Parsing'
make[1]: Leaving directory `/cygdrive/c/Users/Brian/Documents/C++ Projects/Parsing'
"/usr/bin/make" -f nbproject/Makefile-Debug.mk SUBPROJECTS= .build-tests-conf
make[1]: Entering directory `/cygdrive/c/Users/Brian/Documents/C++ Projects/Parsing'
"/usr/bin/make" -f nbproject/Makefile-Debug.mk build/Debug/Cygwin-Windows/tests/TestFiles/f2.exe
make[2]: Entering directory `/cygdrive/c/Users/Brian/Documents/C++ Projects/Parsing'
make[2]: `build/Debug/Cygwin-Windows/tests/TestFiles/f2.exe' is up to date.
make[2]: Leaving directory `/cygdrive/c/Users/Brian/Documents/C++ Projects/Parsing'
make[1]: Leaving directory `/cygdrive/c/Users/Brian/Documents/C++ Projects/Parsing'
"/usr/bin/make" -f nbproject/Makefile-Debug.mk SUBPROJECTS= .test-conf
make[1]: Entering directory `/cygdrive/c/Users/Brian/Documents/C++ Projects/Parsing'


Any ideas?
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64171
83
IntelliJ IDE Java jQuery Mac Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Report post to moderator
Please do not post the same question more than once.
 
    Bookmark Topic Watch Topic
  • New Topic