Quoting jon@...18...:
I just did an initial checkin to add CxxTest.
Oh, and if anyone wants the X11 GUI to show up for the tests, you just need to go into src/libnr/Makefile_insert and add "--gui=X11Gui" to the cxxtestgen call, and then lines to the LDADD to include the X11 libs:
--- src/libnr/Makefile_insert 18 Feb 2005 08:27:33 -0000 1.14 +++ src/libnr/Makefile_insert 18 Feb 2005 16:08:29 -0000 @@ -109,7 +109,7 @@
libnr/testrunnr.cpp: $(libnr_testrunnr_includes) - cxxtestgen.pl --error-printer -o libnr/testrunnr.cpp $(libnr_testrunnr_includes) + cxxtestgen.pl --gui=X11Gui --error-printer -o libnr/testrunnr.cpp $(libnr_testrunnr_includes)
libnr_testrunnr_includes = \ $(srcdir)/libnr/nr-point-fns-test.h \ @@ -120,6 +120,8 @@
libnr_testrunnr_LDADD = \ libnr/libnr.a \ + -L/usr/X11R6/lib \ + -lX11 \ -lglib-2.0