[yast-commit] r67567 - in /trunk/perl-bindings/pluglib-bindings: ./ tests/ tests/BloCxx/Hash/ tests/BloCxx/HashList/ tests/std/Hash/ tests/std/HashList/ tests/std/ListAbc/ tests/std/ListHash/ tests/std/ListList/
Author: mvidner Date: Tue Mar 6 15:08:36 2012 New Revision: 67567 URL: http://svn.opensuse.org/viewcvs/yast?rev=67567&view=rev Log: Fixing the (deactivated) tests - need to run the tests before attempting to fix bnc#535200 - now the C++ part builds Added: trunk/perl-bindings/pluglib-bindings/tests/README Modified: trunk/perl-bindings/pluglib-bindings/Makefile.swig trunk/perl-bindings/pluglib-bindings/Makefile.swig+blocxx trunk/perl-bindings/pluglib-bindings/tests/BloCxx/Hash/test_blocxxHash.cc trunk/perl-bindings/pluglib-bindings/tests/BloCxx/HashList/test_blocxxHash.cc trunk/perl-bindings/pluglib-bindings/tests/std/Hash/test_stdHash.cc trunk/perl-bindings/pluglib-bindings/tests/std/HashList/test_stdHash.cc trunk/perl-bindings/pluglib-bindings/tests/std/ListAbc/test.cc trunk/perl-bindings/pluglib-bindings/tests/std/ListHash/test_stdHash.cc trunk/perl-bindings/pluglib-bindings/tests/std/ListList/test_listList.cc Modified: trunk/perl-bindings/pluglib-bindings/Makefile.swig URL: http://svn.opensuse.org/viewcvs/yast/trunk/perl-bindings/pluglib-bindings/Ma... ============================================================================== --- trunk/perl-bindings/pluglib-bindings/Makefile.swig (original) +++ trunk/perl-bindings/pluglib-bindings/Makefile.swig Tue Mar 6 15:08:36 2012 @@ -5,7 +5,7 @@ SWIGFLAGS ?= -I$(BASEDIR)/swig -c++ -CXXFLAGS ?= -g -O0 +CXXFLAGS ?= -g -O0 -fPIC CPPFLAGS += -I. LDFLAGS ?= -shared LDLIBS ?= -lstdc++ Modified: trunk/perl-bindings/pluglib-bindings/Makefile.swig+blocxx URL: http://svn.opensuse.org/viewcvs/yast/trunk/perl-bindings/pluglib-bindings/Ma... ============================================================================== --- trunk/perl-bindings/pluglib-bindings/Makefile.swig+blocxx (original) +++ trunk/perl-bindings/pluglib-bindings/Makefile.swig+blocxx Tue Mar 6 15:08:36 2012 @@ -2,8 +2,8 @@ include $(BASEDIR)/Makefile.swig -BLOCXX_INCLUDES = -I/usr/local/include -BLOCXX_LDFLAGS = -L/usr/local/lib -Xlinker -rpath -Xlinker /usr/local/lib +BLOCXX_INCLUDES = -I/usr/include +BLOCXX_LDFLAGS = -L/usr/lib -Xlinker -rpath -Xlinker /usr/lib BLOCXX_LIBS = -lblocxx SWIGFLAGS += $(BLOCXX_INCLUDES) Modified: trunk/perl-bindings/pluglib-bindings/tests/BloCxx/Hash/test_blocxxHash.cc URL: http://svn.opensuse.org/viewcvs/yast/trunk/perl-bindings/pluglib-bindings/te... ============================================================================== --- trunk/perl-bindings/pluglib-bindings/tests/BloCxx/Hash/test_blocxxHash.cc (original) +++ trunk/perl-bindings/pluglib-bindings/tests/BloCxx/Hash/test_blocxxHash.cc Tue Mar 6 15:08:36 2012 @@ -1,5 +1,6 @@ #include <iostream> #include <iterator> +#include <cstdio> #include <blocxx/String.hpp> #include <blocxx/Map.hpp> Modified: trunk/perl-bindings/pluglib-bindings/tests/BloCxx/HashList/test_blocxxHash.cc URL: http://svn.opensuse.org/viewcvs/yast/trunk/perl-bindings/pluglib-bindings/te... ============================================================================== --- trunk/perl-bindings/pluglib-bindings/tests/BloCxx/HashList/test_blocxxHash.cc (original) +++ trunk/perl-bindings/pluglib-bindings/tests/BloCxx/HashList/test_blocxxHash.cc Tue Mar 6 15:08:36 2012 @@ -1,5 +1,6 @@ #include <iostream> #include <iterator> +#include <cstdio> #include <blocxx/String.hpp> #include <blocxx/Map.hpp> Added: trunk/perl-bindings/pluglib-bindings/tests/README URL: http://svn.opensuse.org/viewcvs/yast/trunk/perl-bindings/pluglib-bindings/te... ============================================================================== --- trunk/perl-bindings/pluglib-bindings/tests/README (added) +++ trunk/perl-bindings/pluglib-bindings/tests/README Tue Mar 6 15:08:36 2012 @@ -0,0 +1,8 @@ +The tests directory is currently excluded from automake SUBDIRS +because +1) it does not use automake +2) the tests don't pass + +Anyway, work on (2) by iterating + make -C pluglib-bindings/tests all check + fix what is broken Modified: trunk/perl-bindings/pluglib-bindings/tests/std/Hash/test_stdHash.cc URL: http://svn.opensuse.org/viewcvs/yast/trunk/perl-bindings/pluglib-bindings/te... ============================================================================== --- trunk/perl-bindings/pluglib-bindings/tests/std/Hash/test_stdHash.cc (original) +++ trunk/perl-bindings/pluglib-bindings/tests/std/Hash/test_stdHash.cc Tue Mar 6 15:08:36 2012 @@ -1,5 +1,6 @@ #include <iostream> #include <iterator> +#include <cstdio> #include <string> #include <map> Modified: trunk/perl-bindings/pluglib-bindings/tests/std/HashList/test_stdHash.cc URL: http://svn.opensuse.org/viewcvs/yast/trunk/perl-bindings/pluglib-bindings/te... ============================================================================== --- trunk/perl-bindings/pluglib-bindings/tests/std/HashList/test_stdHash.cc (original) +++ trunk/perl-bindings/pluglib-bindings/tests/std/HashList/test_stdHash.cc Tue Mar 6 15:08:36 2012 @@ -1,5 +1,6 @@ #include <iostream> #include <iterator> +#include <cstdio> #include <string> #include <map> Modified: trunk/perl-bindings/pluglib-bindings/tests/std/ListAbc/test.cc URL: http://svn.opensuse.org/viewcvs/yast/trunk/perl-bindings/pluglib-bindings/te... ============================================================================== --- trunk/perl-bindings/pluglib-bindings/tests/std/ListAbc/test.cc (original) +++ trunk/perl-bindings/pluglib-bindings/tests/std/ListAbc/test.cc Tue Mar 6 15:08:36 2012 @@ -1,5 +1,6 @@ #include <iostream> #include <iterator> +#include <cstdio> #include <list> Modified: trunk/perl-bindings/pluglib-bindings/tests/std/ListHash/test_stdHash.cc URL: http://svn.opensuse.org/viewcvs/yast/trunk/perl-bindings/pluglib-bindings/te... ============================================================================== --- trunk/perl-bindings/pluglib-bindings/tests/std/ListHash/test_stdHash.cc (original) +++ trunk/perl-bindings/pluglib-bindings/tests/std/ListHash/test_stdHash.cc Tue Mar 6 15:08:36 2012 @@ -1,5 +1,6 @@ #include <iostream> #include <iterator> +#include <cstdio> #include <string> #include <map> Modified: trunk/perl-bindings/pluglib-bindings/tests/std/ListList/test_listList.cc URL: http://svn.opensuse.org/viewcvs/yast/trunk/perl-bindings/pluglib-bindings/te... ============================================================================== --- trunk/perl-bindings/pluglib-bindings/tests/std/ListList/test_listList.cc (original) +++ trunk/perl-bindings/pluglib-bindings/tests/std/ListList/test_listList.cc Tue Mar 6 15:08:36 2012 @@ -1,5 +1,6 @@ #include <iostream> #include <iterator> +#include <cstdio> #include <list> #include <string> -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
mvidner@svn2.opensuse.org