Closed GoogleCodeExporter closed 9 years ago
Make test is broken:
Making check in test
make aria2c
g++ -DHAVE_CONFIG_H -I. -I.. -Wall -I../src -I../lib -I../intl
-DLOCALEDIR=\"/usr/local/share/locale\" -DA2_TEST_DIR=\"../test\"
-DA2_TEST_OUT_DIR=\"test_outdir\" -DHAVE_CONFIG_H -I/usr/include -I/usr/include
-I/usr/include -I/usr/include/libxml2 -arch i386 -arch x86_64 -Os -c -o
AllTest.o AllTest.cc
g++ -DHAVE_CONFIG_H -I. -I.. -Wall -I../src -I../lib -I../intl
-DLOCALEDIR=\"/usr/local/share/locale\" -DA2_TEST_DIR=\"../test\"
-DA2_TEST_OUT_DIR=\"test_outdir\" -DHAVE_CONFIG_H -I/usr/include -I/usr/include
-I/usr/include -I/usr/include/libxml2 -arch i386 -arch x86_64 -Os -c -o
TestUtil.o TestUtil.cc
AllTest.cc:5:39: error: cppunit/CompilerOutputter.h: No such file or directory
AllTest.cc:6:52: error: cppunit/extensions/TestFactoryRegistry.h: No such file
or directory
AllTest.cc:7:40: error: cppunit/ui/text/TestRunner.h: No such file or directory
AllTest.cc: In function ‘int main(int, char**)’:
AllTest.cc:34: error: ‘CppUnit’ has not been declared
AllTest.cc:34: error: ‘suite’ was not declared in this scope
AllTest.cc:34: error: ‘CppUnit’ has not been declared
AllTest.cc:35: error: ‘CppUnit’ has not been declared
AllTest.cc:35: error: expected `;' before ‘runner’
AllTest.cc:36: error: ‘runner’ was not declared in this scope
AllTest.cc:38: error: expected type-specifier before ‘CppUnit’
AllTest.cc:38: error: expected `)' before ‘CppUnit’
AllTest.cc:5:39: error: cppunit/CompilerOutputter.h: No such file or directory
AllTest.cc:6:52: error: cppunit/extensions/TestFactoryRegistry.h: No such file
or directory
AllTest.cc:7:40: error: cppunit/ui/text/TestRunner.h: No such file or directory
g++ -DHAVE_CONFIG_H -I. -I.. -Wall -I../src -I../lib -I../intl
-DLOCALEDIR=\"/usr/local/share/locale\" -DA2_TEST_DIR=\"../test\"
-DA2_TEST_OUT_DIR=\"test_outdir\" -DHAVE_CONFIG_H -I/usr/include -I/usr/include
-I/usr/include -I/usr/include/libxml2 -arch i386 -arch x86_64 -Os -c -o
SocketCoreTest.o SocketCoreTest.cc
AllTest.cc: In function ‘int main(int, char**)’:
AllTest.cc:34: error: ‘CppUnit’ has not been declared
AllTest.cc:34: error: ‘suite’ was not declared in this scope
AllTest.cc:34: error: ‘CppUnit’ has not been declared
AllTest.cc:35: error: ‘CppUnit’ has not been declared
AllTest.cc:35: error: expected `;' before ‘runner’
AllTest.cc:36: error: ‘runner’ was not declared in this scope
AllTest.cc:38: error: expected type-specifier before ‘CppUnit’
AllTest.cc:38: error: expected `)' before ‘CppUnit’
SocketCoreTest.cc:4:45: error: cppunit/extensions/HelperMacros.h: No such file
or directory
lipo: can't figure out the architecture type of:
/var/folders/l1/l_5m8gp909v9v0x_ktpdv83c0000gn/T//ccmu1k2h.out
make[3]: *** [AllTest.o] Error 1
make[3]: *** Waiting for unfinished jobs....
SocketCoreTest.cc:8: error: ‘CppUnit’ has not been declared
SocketCoreTest.cc:8: error: expected `{' before ‘TestFixture’
SocketCoreTest.cc:8: error: function definition does not declare parameters
SocketCoreTest.cc:24: error: expected constructor, destructor, or type
conversion before ‘;’ token
SocketCoreTest.cc:26: error: invalid use of incomplete type ‘class
aria2::SocketCoreTest’
SocketCoreTest.cc:8: error: forward declaration of ‘class
aria2::SocketCoreTest’
SocketCoreTest.cc:64: error: invalid use of incomplete type ‘class
aria2::SocketCoreTest’
SocketCoreTest.cc:8: error: forward declaration of ‘class
aria2::SocketCoreTest’
SocketCoreTest.cc:4:45: error: cppunit/extensions/HelperMacros.h: No such file
or directory
SocketCoreTest.cc:8: error: ‘CppUnit’ has not been declared
SocketCoreTest.cc:8: error: expected `{' before ‘TestFixture’
SocketCoreTest.cc:8: error: function definition does not declare parameters
SocketCoreTest.cc:24: error: expected constructor, destructor, or type
conversion before ‘;’ token
SocketCoreTest.cc:26: error: invalid use of incomplete type ‘class
aria2::SocketCoreTest’
SocketCoreTest.cc:8: error: forward declaration of ‘class
aria2::SocketCoreTest’
SocketCoreTest.cc:64: error: invalid use of incomplete type ‘class
aria2::SocketCoreTest’
SocketCoreTest.cc:8: error: forward declaration of ‘class
aria2::SocketCoreTest’
lipo: can't figure out the architecture type of:
/var/folders/l1/l_5m8gp909v9v0x_ktpdv83c0000gn/T//cc1EqmJk.out
make[3]: *** [SocketCoreTest.o] Error 1
make[2]: *** [check-am] Error 2
make[1]: *** [check-recursive] Error 1
Original comment by ruda.moura@gmail.com
on 31 Jul 2011 at 8:43
This issue was closed by revision a12ef3e4d0da.
Original comment by ruda.moura@gmail.com
on 31 Jul 2011 at 9:51
Original issue reported on code.google.com by
ruda.moura@gmail.com
on 31 Jul 2011 at 8:31