Re: [Cppunit-devel] CppUnit 1.9.6 tar ball - Solaris problem
Brought to you by:
blep
From: Baptiste L. <gai...@fr...> - 2002-04-23 08:19:16
|
Did you use ./autogen.sh too ? It does some stuff with aclocal. To fix that bug, remove the trailing ',' at the end of the enum. Baptiste. ----- Original Message ----- From: "Stanley Sutton" <su...@t-...> To: "Baptiste Lepilleur" <gai...@fr...>; <cpp...@li...> Sent: Monday, April 22, 2002 7:38 PM Subject: RE: [Cppunit-devel] CppUnit 1.9.6 tar ball - Solaris problem Yes, I'm up to date on the tools, although since I don't have root access on my workstation, I use the --prefix on configure. Starting over from scratch fixed that particular problem. Once again, I'm getting: CC -DHAVE_CONFIG_H -I. -I. -I../../config -I../../include -I../../include -g -Wp,-MD,.deps/DynamicLibraryManager.pp -c DynamicLibraryManager.cpp -KPIC -DPIC CC: Warning: Option -Wp,-MD,.deps/DynamicLibraryManager.pp passed to ld, if ld is invoked, ignored otherwise "../../include/cppunit/plugin/DynamicLibraryManagerException.h", line 28: Error: Identifier expected instead of "}". 1 Error(s) detected. This is due to the enum in the include file, which ends in a ",}", which the Solaris compiler treats as an error. Also, the "-Wp,-MD,.deps/..." doesn't seem to mean anything to the Solaris compiler, so the cp and the tr both fail. If the purpose of the option is to generat dependancies, the -xM generates a dependancy list to stdout, -xM1 generates a unique list with the /usr/include files filtered out. -----Original Message----- From: Baptiste Lepilleur [mailto:gai...@fr...] Sent: Mon 22-Apr-02 11:24 To: Stanley Sutton; cpp...@li... Cc: Subject: Re: [Cppunit-devel] CppUnit 1.9.6 tar ball - Solaris problem Did you follow the step indicated in Readme.CVS (and if those don't work, did you try the lastest tar ball ?): * Unix: To generate the configure script, you need several auxiliary tools. The version numbers are minimal: later versions should also work. autoconf 2.50 - see http://www.gnu.org/directory/autoconf.html automake 1.4 - see http://www.gnu.org/directory/automake.html libtool 1.4 - see http://www.gnu.org/directory/libtool.html After checking the sources out from CVS, you need to run the script sh autogen.sh from the top-level source directory (i.e. the one containing this file). This needs only to be done once. Baptiste. ----- Original Message ----- From: "Stanley Sutton" <su...@t-...> To: "Baptiste Lepilleur" <gai...@fr...>; <cpp...@li...> Sent: Monday, April 22, 2002 5:36 PM Subject: RE: [Cppunit-devel] CppUnit 1.9.6 tar ball - Solaris problem I'm still having some problmes on Solaris 8, using the Forte 6 compiler. I removed all my local files and got a fresh CVS snapshot. Here's there first error: cd . && autoconf autoconf: warning: both `configure.ac' and `configure.in' are present. autoconf: warning: proceeding with `configure.ac'. configure.ac:37: error: do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs. LIBOBJS' I'm using GNU make, by the way, as well as the GNU versions of most of the utilities. -----Original Message----- From: Baptiste Lepilleur [mailto:gai...@fr...] Sent: Sun 21-Apr-02 08:28 To: cpp...@li... Cc: Subject: [Cppunit-devel] CppUnit 1.9.6 tar ball New snapshot. The problem on Unix should be fixed. Thanks to all those who helped ! KNOWN PROBLEMS: - TestPlugIn project has not been removed from the Examples workspace (just click cancel) - Money example is missing dependency with cppunit.dsp As usal, the snapshop can be found at: http://cppunit.sourceforge.net/snapshot/ http://cppunit.sourceforge.net/snapshot/cppunit-1.9.6.tar.gz http://cppunit.sourceforge.net/snapshot/cppunit-docs-1.9.6.tar.gz New in CppUnit 1.9.6: ---------------------- - DllPlugInTester can be parametrized from command line - Two test listener plug-in examples - An 'hello world' example & getting started document : Money - Contribution: generic makefile for Borland 5.5 free compiler. - Bug fixes * DllPlugInTester: - Advanced command line to support miscellaneous listener outputer. Parameters can now be passed to test plug-in: -c --compiler Use CompilerOutputter -x --xml [filename] Use XmlOutputter (if filename is omitted, then output to cout or cerr. -s --xsl stylesheet XML style sheet for XML Outputter -e --encoding encoding XML file encoding (UTF8, shift_jis, ISO-8859-1...) -b --brief-progress Use BriefTestProgressListener (default is TextTestProgressListener) -n --no-progress Show no test progress (disable default TextTestProgressListener) -t --text Use TextOutputter -o --cout Ouputters output to cout instead of the default cerr. filename[="options"] Many filenames can be specified. They are the name of the test plug-ins to load. Optional plug-ins parameters can be specified after the filename by adding '='. [:testpath] Optional. Only one test path can be specified. It must be prefixed with ':'. See TestPath constructor for syntax. 'parameters' (test plug-in or XML filename, test path...) may contains spaces if double quoted. Quote may be escaped with \". Some examples of command lines: DllPlugInTesterd_dll.exe -b -x tests.xml -c simple_plugind.dll CppUnitTestPlugInd.dll Will load 2 tests plug-ins (available in lib/), use the brief test progress, output the result in XML in file tests.xml and also output the result using the compiler outputter. DllPlugInTesterd_dll.exe ClockerPlugInd.dll="flat" -n CppUnitTestPlugInd.dll Will load the 2 test plug-ins, and pass the parameter string "flat" to the Clocker plug-in, disable test progress. Clocker being a test listener plug-ins (it doesn't implements any tests, it just register a TestListener), this is equivalent to say 'run all the test of CppUnitTestPlugIn and use ClockerPlugIn as a TestLisener'. DllPlugInTesterd_dll.exe CppUnitTestPlugInd.dll :Core Will run the test named "Core" (a suite in the present case ) of the test plug-in. * Documentation - New getting started documentation. Not completed yet, but probably a good complement to the current cookbook. Explore the creation of the Money example. * Examples - Money (examples/Money): the 'hello world' example. Unit tests for a simple Money class. - DllPlugInTesterTest (src/DllPlugInTester/DllPlugInTester.dsp): unit tests for CommandLineParser. Not really an example, but only slightly more complex than Money. - ClockerPlugIn (examples/ClockerPlugIn): a test listener plug-in that track tests and test suites running time. Parameter: "flat" for a reporting with a flattened tree. - DumperPlugIn (examples/DumperPlugIn): a test listener plug-in that dump the test tree as it run. Paramater: "flat" for a reporting with a flattened tree. - CppUnitTestPlugIn (examples/cppunitest/CppUnitTestPlugIn.dsp): CppUnit's test suite as a test plug-in. * Contribution - Contributed by project cuppa team (http://sourceforge.jp/projects/cuppa/): - Makefile for CppUnit with Borland C++ 5.5 free compiler: does not depend on a specific CppUnit version. * Compatiblity breaks - DllPlugInTester: (1.9.4 only), should add -c to DllPlugInTester command line. * Bug Fix: - DynamicLibaryManager did not report the library name when loading a a library. - BeosDynamicLibraryManager: fixed thanks to Shibu Yoshiki ('cuppa' project team). - Broken build on Unix should be fixed for most (thanks to Jeffrey Morgan). Enjoy, Baptiste. --- Baptiste Lepilleur <gai...@fr...> http://gaiacrtn.free.fr/ _______________________________________________ Cppunit-devel mailing list Cpp...@li... https://lists.sourceforge.net/lists/listinfo/cppunit-devel |