This is not a duplicate post. :-)

On Dec 7, 2009, at 8:00 PM, Todd Lipcon wrote:

> Hi all,
> 
> I'd like to propose a vote to make the following tarball the official Thrift
> 0.2.0 release:
> 
> http://people.apache.org/~todd/thrift-0.2.0-incubating-rc0.tar.gz
> with GPG signature:
> http://people.apache.org/~todd/thrift-0.2.0-incubating-rc0.tar.gz.asc
> and md5sum: 9958c57c402c02171ba0bcc96183505c
> 

With my system running Python 2.6.1 (so that the make step completes 
successfully) I find that make check fails. 

I have also run this where I specify --with-boost=my/boost/install/directory, 
because we have a boost installation checked into our svn repository that gets 
checked out as part of the development tree checkout. I get the same result 
with that build.

If I go look at the source, the lines that fail they all invocations of 
BOOST_CHECK or BOOST_CHECK_EQUAL. But the failure called out for line 389 is 
not the only usage in the function. There is one that looks like it must get 
executed at line 374. Same thing with the failure at line 519. 
BOOST_CHECK_EQUAL is used at lines 516 and 617 as well and those don't fail. 

Here are the transcripts for "configure" and "make check". The failures are at 
the end:

RushBigIronMac:thrift-0.2.0-2 rmanbert$ ./configure 
--prefix=/Users/rmanbert/Kits/thrift/testInstall 
--exec-prefix=/Users/rmanbert/Kits/thrift/testInstall
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking build system type... i386-apple-darwin10.2.0
checking host system type... i386-apple-darwin10.2.0
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld
checking if the linker (/usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld) is GNU 
ld... no
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm
checking the name lister (/usr/bin/nm) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 196608
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld option to reload 
object files... -r
checking for objdump... no
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm output from gcc object... ok
checking for dsymutil... dsymutil
checking for nmedit... nmedit
checking for lipo... lipo
checking for otool... otool
checking for otool64... no
checking for -single_module linker flag... yes
checking for -exported_symbols_list linker flag... yes
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether g++ accepts -g... (cached) yes
checking dependency style of g++... (cached) gcc3
checking how to run the C++ preprocessor... g++ -E
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fno-common -DPIC
checking if gcc PIC flag -fno-common -DPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld) 
supports shared libraries... yes
checking dynamic linker characteristics... darwin10.2.0 dyld
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for ld used by g++... /usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld
checking if the linker (/usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld) is GNU 
ld... no
checking whether the g++ linker (/usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld) 
supports shared libraries... yes
checking for g++ option to produce PIC... -fno-common -DPIC
checking if g++ PIC flag -fno-common -DPIC works... yes
checking if g++ static flag -static works... no
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld) 
supports shared libraries... yes
checking dynamic linker characteristics... darwin10.2.0 dyld
checking how to hardcode library paths into programs... immediate
checking whether make sets $(MAKE)... (cached) yes
checking for bison... bison -y
checking for flex... flex
checking lex output file root... lex.yy
checking lex library... -lfl
checking whether yytext is a pointer... yes
checking whether ln -s works... yes
checking for boostlib >= 1.33.1... configure: Your boost libraries seems to old 
(version 1.36).
checking for libevent >= 1.0... no
checking for zlib >= 1.2.3... yes
checking for pkg-config... /usr/local/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for MONO... no
checking for MONO... no
checking for javac and java... yes
checking for ant... /usr/bin/ant
checking for Java class org.slf4j.Logger... no
checking for Java class org.slf4j.impl.SimpleLogger... no
checking for Java class org.apache.commons.lang.builder.HashCodeBuilder... no
checking for erlc... no
checking for a Python interpreter with version >= 2.4... python
checking for python... /usr/bin/python
checking for python version... 2.6
checking for python platform... darwin
checking for python script directory... ${prefix}/lib/python2.6/site-packages
checking for python extension module directory... 
${exec_prefix}/lib/python2.6/site-packages
checking for perl... /usr/bin/perl
checking for ruby... /usr/bin/ruby
checking for spec... no
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for working volatile... yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... no
checking for ANSI C header files... (cached) yes
checking whether time.h and sys/time.h may both be included... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking endian.h usability... no
checking endian.h presence... no
checking for endian.h... no
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for inttypes.h... (cached) yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdlib.h... (cached) yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking libintl.h usability... no
checking libintl.h presence... no
checking for libintl.h... no
checking malloc.h usability... no
checking malloc.h presence... no
checking for malloc.h... no
checking for pthread_create in -lpthread... yes
checking for clock_gettime in -lrt... no
checking for setsockopt in -lsocket... no
checking for int16_t... yes
checking for int32_t... yes
checking for int64_t... yes
checking for int8_t... yes
checking for mode_t... yes
checking for off_t... yes
checking for size_t... yes
checking for ssize_t... yes
checking for uint16_t... yes
checking for uint32_t... yes
checking for uint64_t... yes
checking for uint8_t... yes
checking for ptrdiff_t... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking whether AI_ADDRCONFIG is declared... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for working memcmp... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible realloc... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking for sys/socket.h... (cached) yes
checking types of arguments for select... int,fd_set *,struct timeval *
checking whether lstat dereferences a symlink specified with a trailing 
slash... no
checking whether stat accepts an empty string... no
checking whether strerror_r is declared... yes
checking for strerror_r... yes
checking whether strerror_r returns char *... no
checking for strftime... yes
checking for vprintf... yes
checking for _doprnt... no
checking for strtoul... yes
checking for bzero... yes
checking for ftruncate... yes
checking for gethostbyname... yes
checking for gettimeofday... yes
checking for memmove... yes
checking for memset... yes
checking for mkdir... yes
checking for realpath... yes
checking for select... yes
checking for socket... yes
checking for strchr... yes
checking for strdup... yes
checking for strerror... yes
checking for strstr... yes
checking for strtol... yes
checking for sqrt... yes
checking for clock_gettime... no
checking for sched_get_priority_min... yes
checking for sched_get_priority_max... yes
checking the behavior of a signed right shift... arithmetic
configure: creating ./config.status
config.status: creating Makefile
config.status: creating compiler/cpp/Makefile
config.status: creating lib/Makefile
config.status: creating lib/cpp/Makefile
config.status: creating lib/cpp/thrift.pc
config.status: creating lib/cpp/thrift-nb.pc
config.status: creating lib/cpp/thrift-z.pc
config.status: creating lib/csharp/Makefile
config.status: creating lib/java/Makefile
config.status: creating lib/perl/Makefile
config.status: creating lib/perl/test/Makefile
config.status: creating lib/py/Makefile
config.status: creating lib/rb/Makefile
config.status: creating test/Makefile
config.status: creating test/py/Makefile
config.status: creating test/rb/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
RushBigIronMac:thrift-0.2.0-2 rmanbert$ make

<snip>

RushBigIronMac:thrift-0.2.0-2 rmanbert$ make check

<snip> - All succeeded




make  TFDTransportTest TPipedTransportTest DebugProtoTest JSONProtoTest 
OptionalRequiredTest AllProtocolsTest UnitTests
g++ -DHAVE_CONFIG_H -I. -I.. -I../lib/cpp/src -I/usr/local/include/boost-1_36   
-g -O2 -MT TFDTransportTest.o -MD -MP -MF .deps/TFDTransportTest.Tpo -c -o 
TFDTransportTest.o TFDTransportTest.cpp
mv -f .deps/TFDTransportTest.Tpo .deps/TFDTransportTest.Po
/bin/sh ../libtool --tag=CXX   --mode=link g++  -g -O2   -o TFDTransportTest 
TFDTransportTest.o ../lib/cpp/libthrift.la -lpthread 
libtool: link: g++ -g -O2 -o .libs/TFDTransportTest TFDTransportTest.o 
-Wl,-bind_at_load  ../lib/cpp/.libs/libthrift.dylib -lpthread
g++ -DHAVE_CONFIG_H -I. -I.. -I../lib/cpp/src -I/usr/local/include/boost-1_36   
-g -O2 -MT TPipedTransportTest.o -MD -MP -MF .deps/TPipedTransportTest.Tpo -c 
-o TPipedTransportTest.o TPipedTransportTest.cpp
mv -f .deps/TPipedTransportTest.Tpo .deps/TPipedTransportTest.Po
/bin/sh ../libtool --tag=CXX   --mode=link g++  -g -O2   -o TPipedTransportTest 
TPipedTransportTest.o ../lib/cpp/libthrift.la -lpthread 
libtool: link: g++ -g -O2 -o .libs/TPipedTransportTest TPipedTransportTest.o 
-Wl,-bind_at_load  ../lib/cpp/.libs/libthrift.dylib -lpthread
g++ -DHAVE_CONFIG_H -I. -I.. -I../lib/cpp/src -I/usr/local/include/boost-1_36   
-g -O2 -MT DebugProtoTest.o -MD -MP -MF .deps/DebugProtoTest.Tpo -c -o 
DebugProtoTest.o DebugProtoTest.cpp
mv -f .deps/DebugProtoTest.Tpo .deps/DebugProtoTest.Po
/bin/sh ../libtool --tag=CXX   --mode=link g++  -g -O2   -o DebugProtoTest 
DebugProtoTest.o libtestgencpp.la -lpthread 
libtool: link: g++ -g -O2 -o .libs/DebugProtoTest DebugProtoTest.o 
-Wl,-bind_at_load  ./.libs/libtestgencpp.a 
/Users/rmanbert/Kits/thrift/thrift-0.2.0-2/lib/cpp/.libs/libthrift.dylib 
-lpthread
g++ -DHAVE_CONFIG_H -I. -I.. -I../lib/cpp/src -I/usr/local/include/boost-1_36   
-g -O2 -MT JSONProtoTest.o -MD -MP -MF .deps/JSONProtoTest.Tpo -c -o 
JSONProtoTest.o JSONProtoTest.cpp
mv -f .deps/JSONProtoTest.Tpo .deps/JSONProtoTest.Po
/bin/sh ../libtool --tag=CXX   --mode=link g++  -g -O2   -o JSONProtoTest 
JSONProtoTest.o libtestgencpp.la -lpthread 
libtool: link: g++ -g -O2 -o .libs/JSONProtoTest JSONProtoTest.o 
-Wl,-bind_at_load  ./.libs/libtestgencpp.a 
/Users/rmanbert/Kits/thrift/thrift-0.2.0-2/lib/cpp/.libs/libthrift.dylib 
-lpthread
g++ -DHAVE_CONFIG_H -I. -I.. -I../lib/cpp/src -I/usr/local/include/boost-1_36   
-g -O2 -MT OptionalRequiredTest.o -MD -MP -MF .deps/OptionalRequiredTest.Tpo -c 
-o OptionalRequiredTest.o OptionalRequiredTest.cpp
mv -f .deps/OptionalRequiredTest.Tpo .deps/OptionalRequiredTest.Po
/bin/sh ../libtool --tag=CXX   --mode=link g++  -g -O2   -o 
OptionalRequiredTest OptionalRequiredTest.o libtestgencpp.la -lpthread 
libtool: link: g++ -g -O2 -o .libs/OptionalRequiredTest OptionalRequiredTest.o 
-Wl,-bind_at_load  ./.libs/libtestgencpp.a 
/Users/rmanbert/Kits/thrift/thrift-0.2.0-2/lib/cpp/.libs/libthrift.dylib 
-lpthread
g++ -DHAVE_CONFIG_H -I. -I.. -I../lib/cpp/src -I/usr/local/include/boost-1_36   
-g -O2 -MT AllProtocolTests.o -MD -MP -MF .deps/AllProtocolTests.Tpo -c -o 
AllProtocolTests.o AllProtocolTests.cpp
mv -f .deps/AllProtocolTests.Tpo .deps/AllProtocolTests.Po
/bin/sh ../libtool --tag=CXX   --mode=link g++  -g -O2   -o AllProtocolsTest 
AllProtocolTests.o libtestgencpp.la -lpthread 
libtool: link: g++ -g -O2 -o .libs/AllProtocolsTest AllProtocolTests.o 
-Wl,-bind_at_load  ./.libs/libtestgencpp.a 
/Users/rmanbert/Kits/thrift/thrift-0.2.0-2/lib/cpp/.libs/libthrift.dylib 
-lpthread
g++ -DHAVE_CONFIG_H -I. -I.. -I../lib/cpp/src -I/usr/local/include/boost-1_36   
-g -O2 -MT UnitTestMain.o -MD -MP -MF .deps/UnitTestMain.Tpo -c -o 
UnitTestMain.o UnitTestMain.cpp
mv -f .deps/UnitTestMain.Tpo .deps/UnitTestMain.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I../lib/cpp/src -I/usr/local/include/boost-1_36   
-g -O2 -MT TMemoryBufferTest.o -MD -MP -MF .deps/TMemoryBufferTest.Tpo -c -o 
TMemoryBufferTest.o TMemoryBufferTest.cpp
mv -f .deps/TMemoryBufferTest.Tpo .deps/TMemoryBufferTest.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I../lib/cpp/src -I/usr/local/include/boost-1_36   
-g -O2 -MT TBufferBaseTest.o -MD -MP -MF .deps/TBufferBaseTest.Tpo -c -o 
TBufferBaseTest.o TBufferBaseTest.cpp
mv -f .deps/TBufferBaseTest.Tpo .deps/TBufferBaseTest.Po
/bin/sh ../libtool --tag=CXX   --mode=link g++  -g -O2   -o UnitTests 
UnitTestMain.o TMemoryBufferTest.o TBufferBaseTest.o libtestgencpp.la -lpthread 
libtool: link: g++ -g -O2 -o .libs/UnitTests UnitTestMain.o TMemoryBufferTest.o 
TBufferBaseTest.o -Wl,-bind_at_load  ./.libs/libtestgencpp.a 
/Users/rmanbert/Kits/thrift/thrift-0.2.0-2/lib/cpp/.libs/libthrift.dylib 
-lpthread
make  check-TESTS
PASS: TFDTransportTest
PASS: TPipedTransportTest
OneOfEach {
  01: im_true (bool) = true,
  02: im_false (bool) = false,
  03: a_bite (byte) = 0xd6,
  04: integer16 (i16) = 27000,
  05: integer32 (i32) = 16777216,
  06: integer64 (i64) = 6000000000,
  07: double_precision (double) = 3.1415926535897931,
  08: some_characters (string) = "Debug THIS!",
  09: zomg_unicode (string) = "\xd7\n\a\t",
  10: what_who (bool) = false,
  11: base64 (string) = "",
  12: byte_list (list) = list<byte>[3] {
    [0] = 0x01,
    [1] = 0x02,
    [2] = 0x03,
  },
  13: i16_list (list) = list<i16>[3] {
    [0] = 1,
    [1] = 2,
    [2] = 3,
  },
  14: i64_list (list) = list<i64>[3] {
    [0] = 1,
    [1] = 2,
    [2] = 3,
  },
}

Nesting {
  01: my_bonk (struct) = Bonk {
    01: type (i32) = 31337,
    02: message (string) = "I am a bonk... xor!",
  },
  02: my_ooe (struct) = OneOfEach {
    01: im_true (bool) = true,
    02: im_false (bool) = false,
    03: a_bite (byte) = 0xd6,
    04: integer16 (i16) = 16,
    05: integer32 (i32) = 32,
    06: integer64 (i64) = 64,
    07: double_precision (double) = 1.6180339887498949,
    08: some_characters (string) = ":R (me going \"rrrr\")",
    09: zomg_unicode (string) = "\xd3\x80\xe2\x85\xae\xce\x9d 
\xd0\x9d\xce\xbf\xe2\x85\xbf\xd0\xbe\xc9\xa1\xd0\xb3\xd0\xb0\xcf\x81\xe2\x84\x8e
 \xce\x91tt\xce\xb1\xe2\x85\xbd\xce\xba\xc7\x83\xe2\x80\xbc",
    10: what_who (bool) = false,
    11: base64 (string) = "",
    12: byte_list (list) = list<byte>[3] {
      [0] = 0x01,
      [1] = 0x02,
      [2] = 0x03,
    },
    13: i16_list (list) = list<i16>[3] {
      [0] = 1,
      [1] = 2,
      [2] = 3,
    },
    14: i64_list (list) = list<i64>[3] {
      [0] = 1,
      [1] = 2,
      [2] = 3,
    },
  },
}

HolyMoley {
  01: big (list) = list<struct>[2] {
    [0] = OneOfEach {
      01: im_true (bool) = true,
      02: im_false (bool) = false,
      03: a_bite (byte) = 0x22,
      04: integer16 (i16) = 27000,
      05: integer32 (i32) = 16777216,
      06: integer64 (i64) = 6000000000,
      07: double_precision (double) = 3.1415926535897931,
      08: some_characters (string) = "Debug THIS!",
      09: zomg_unicode (string) = "\xd7\n\a\t",
      10: what_who (bool) = false,
      11: base64 (string) = "",
      12: byte_list (list) = list<byte>[3] {
        [0] = 0x01,
        [1] = 0x02,
        [2] = 0x03,
      },
      13: i16_list (list) = list<i16>[3] {
        [0] = 1,
        [1] = 2,
        [2] = 3,
      },
      14: i64_list (list) = list<i64>[3] {
        [0] = 1,
        [1] = 2,
        [2] = 3,
      },
    },
    [1] = OneOfEach {
      01: im_true (bool) = true,
      02: im_false (bool) = false,
      03: a_bite (byte) = 0x33,
      04: integer16 (i16) = 16,
      05: integer32 (i32) = 32,
      06: integer64 (i64) = 64,
      07: double_precision (double) = 1.6180339887498949,
      08: some_characters (string) = ":R (me going \"rrrr\")",
      09: zomg_unicode (string) = "\xd3\x80\xe2\x85\xae\xce\x9d 
\xd0\x9d\xce\xbf\xe2\x85\xbf\xd0\xbe\xc9\xa1\xd0\xb3\xd0\xb0\xcf\x81\xe2\x84\x8e
 \xce\x91tt\xce\xb1\xe2\x85\xbd\xce\xba\xc7\x83\xe2\x80\xbc",
      10: what_who (bool) = false,
      11: base64 (string) = "",
      12: byte_list (list) = list<byte>[3] {
        [0] = 0x01,
        [1] = 0x02,
        [2] = 0x03,
      },
      13: i16_list (list) = list<i16>[3] {
        [0] = 1,
        [1] = 2,
        [2] = 3,
      },
      14: i64_list (list) = list<i64>[3] {
        [0] = 1,
        [1] = 2,
        [2] = 3,
      },
    },
  },
  02: contain (set) = set<list>[3] {
    list<string>[0] {
    },
    list<string>[2] {
      [0] = "and a one",
      [1] = "and a two",
    },
    list<string>[3] {
      [0] = "then a one, two",
      [1] = "three!",
      [2] = "FOUR!!",
    },
  },
  03: bonks (map) = map<string,list>[3] {
    "nothing" -> list<struct>[0] {
    },
    "poe" -> list<struct>[3] {
      [0] = Bonk {
        01: type (i32) = 3,
        02: message (string) = "quoth",
      },
      [1] = Bonk {
        01: type (i32) = 4,
        02: message (string) = "the raven",
      },
      [2] = Bonk {
        01: type (i32) = 5,
        02: message (string) = "nevermore",
      },
    },
    "something" -> list<struct>[2] {
      [0] = Bonk {
        01: type (i32) = 1,
        02: message (string) = "Wait.",
      },
      [1] = Bonk {
        01: type (i32) = 2,
        02: message (string) = "What?",
      },
    },
  },
}

PASS: DebugProtoTest
{"1":{"tf":1},"2":{"tf":0},"3":{"i8":-42},"4":{"i16":27000},"5":{"i32":16777216},"6":{"i64":6000000000},"7":{"dbl":3.1415926535897931},"8":{"str":"JSON
 THIS! 
\"\u0001"},"9":{"str":"?\n\u0007\t"},"10":{"tf":0},"11":{"str":"AQIDrQ"},"12":{"lst":["i8",3,1,2,3]},"13":{"lst":["i16",3,1,2,3]},"14":{"lst":["i64",3,1,2,3]}}

{"1":{"rec":{"1":{"i32":31337},"2":{"str":"I am a bonk... 
xor!"}}},"2":{"rec":{"1":{"tf":1},"2":{"tf":0},"3":{"i8":-42},"4":{"i16":16},"5":{"i32":32},"6":{"i64":64},"7":{"dbl":1.6180339887498949},"8":{"str":":R
 (me going \"rrrr\")"},"9":{"str":"ӀⅮΝ Нοⅿоɡгаρℎ 
Αttαⅽκǃ‼"},"10":{"tf":0},"11":{"str":"AQIDrQ"},"12":{"lst":["i8",3,1,2,3]},"13":{"lst":["i16",3,1,2,3]},"14":{"lst":["i64",3,1,2,3]}}}}

{"1":{"lst":["rec",2,{"1":{"tf":1},"2":{"tf":0},"3":{"i8":34},"4":{"i16":27000},"5":{"i32":16777216},"6":{"i64":6000000000},"7":{"dbl":3.1415926535897931},"8":{"str":"JSON
 THIS! 
\"\u0001"},"9":{"str":"?\n\u0007\t"},"10":{"tf":0},"11":{"str":"AQIDrQ"},"12":{"lst":["i8",3,1,2,3]},"13":{"lst":["i16",3,1,2,3]},"14":{"lst":["i64",3,1,2,3]}},{"1":{"tf":1},"2":{"tf":0},"3":{"i8":51},"4":{"i16":16},"5":{"i32":32},"6":{"i64":64},"7":{"dbl":1.6180339887498949},"8":{"str":":R
 (me going \"rrrr\")"},"9":{"str":"ӀⅮΝ Нοⅿоɡгаρℎ 
Αttαⅽκǃ‼"},"10":{"tf":0},"11":{"str":"AQIDrQ"},"12":{"lst":["i8",3,1,2,3]},"13":{"lst":["i16",3,1,2,3]},"14":{"lst":["i64",3,1,2,3]}}]},"2":{"set":["lst",3,["str",0],["str",2,"and
 a one","and a two"],["str",3,"then a one, 
two","three!","FOUR!!"]]},"3":{"map":["str","lst",3,{"nothing":["rec",0],"poe":["rec",3,{"1":{"i32":3},"2":{"str":"quoth"}},{"1":{"i32":4},"2":{"str":"the
 
raven"}},{"1":{"i32":5},"2":{"str":"nevermore"}}],"something":["rec",2,{"1":{"i32":1},"2":{"str":"Wait."}},{"1":{"i32":2},"2":{"str":"What?"}}]}]}}

Testing ooe
Testing hm
{"1":{"dbl":"NaN"},"2":{"dbl":"Infinity"},"3":{"dbl":"-Infinity"},"4":{"dbl":3.3333333333333335},"5":{"dbl":9.9999999999999994e+304},"6":{"dbl":1e-305},"7":{"dbl":0},"8":{"dbl":-0}}

Testing base
PASS: JSONProtoTest
This old school struct should have three fields.
OldSchool {
  01: im_int (i16) = 0,
  02: im_str (string) = "",
  03: im_big (list) = list<map>[0] {
  },
}

Setting a value before setting isset.
Simple {
  01: im_default (i16) = 0,
  02: im_required (i16) = 0,
}
Simple {
  01: im_default (i16) = 0,
  02: im_required (i16) = 0,
}
Simple {
  01: im_default (i16) = 0,
  02: im_required (i16) = 0,
  03: im_optional (i16) = 10,
}

Setting isset before setting a value.
Simple {
  01: im_default (i16) = 0,
  02: im_required (i16) = 0,
}
Simple {
  01: im_default (i16) = 0,
  02: im_required (i16) = 0,
  03: im_optional (i16) = 0,
}
Simple {
  01: im_default (i16) = 0,
  02: im_required (i16) = 0,
  03: im_optional (i16) = 10,
}

Complex struct, simple test.
Complex {
  01: cp_default (i16) = 0,
  02: cp_required (i16) = 0,
  04: the_map (map) = map<i16,struct>[0] {
  },
  05: req_simp (struct) = Simple {
    01: im_default (i16) = 0,
    02: im_required (i16) = 0,
  },
}
PASS: OptionalRequiredTest
TBinaryProtocol => OK
TCompactProtocol => OK
PASS: AllProtocolsTest
Running 16 test cases...
Object reuse: 1   Data reuse: 1   YAY!
unknown location(0): fatal error in "test_copy": system_error produced by: 
::sigaltstack( &sigstk, 0 ) != -1: Cannot allocate memory
unknown location(0): fatal error in "test_exceptions": system_error produced 
by: ::sigaltstack( &sigstk, 0 ) != -1: Cannot allocate memory
unknown location(0): fatal error in "test_MemoryBuffer_Write_GetBuffer": 
system_error produced by: ::sigaltstack( &sigstk, 0 ) != -1: Cannot allocate 
memory
TBufferBaseTest.cpp(195): last checkpoint
unknown location(0): fatal error in "test_MemoryBuffer_Write_Read": 
system_error produced by: ::sigaltstack( &sigstk, 0 ) != -1: Cannot allocate 
memory
TBufferBaseTest.cpp(226): last checkpoint
unknown location(0): fatal error in "test_MemoryBuffer_Write_ReadString": 
system_error produced by: ::sigaltstack( &sigstk, 0 ) != -1: Cannot allocate 
memory
TBufferBaseTest.cpp(258): last checkpoint
unknown location(0): fatal error in "test_MemoryBuffer_Write_Read_Multi1": 
system_error produced by: ::sigaltstack( &sigstk, 0 ) != -1: Cannot allocate 
memory
TBufferBaseTest.cpp(292): last checkpoint
unknown location(0): fatal error in "test_MemoryBuffer_Write_Read_Multi2": 
system_error produced by: ::sigaltstack( &sigstk, 0 ) != -1: Cannot allocate 
memory
TBufferBaseTest.cpp(331): last checkpoint
unknown location(0): fatal error in "test_MemoryBuffer_Write_Read_Incomplete": 
system_error produced by: ::sigaltstack( &sigstk, 0 ) != -1: Cannot allocate 
memory
TBufferBaseTest.cpp(389): last checkpoint
unknown location(0): fatal error in "test_BufferedTransport_Write": 
system_error produced by: ::sigaltstack( &sigstk, 0 ) != -1: Cannot allocate 
memory
TBufferBaseTest.cpp(419): last checkpoint
unknown location(0): fatal error in "test_BufferedTransport_Read_Full": 
system_error produced by: ::sigaltstack( &sigstk, 0 ) != -1: Cannot allocate 
memory
TBufferBaseTest.cpp(451): last checkpoint
unknown location(0): fatal error in "test_BufferedTransport_Read_Short": 
system_error produced by: ::sigaltstack( &sigstk, 0 ) != -1: Cannot allocate 
memory
TBufferBaseTest.cpp(484): last checkpoint
unknown location(0): fatal error in "test_FramedTransport_Write": system_error 
produced by: ::sigaltstack( &sigstk, 0 ) != -1: Cannot allocate memory
TBufferBaseTest.cpp(519): last checkpoint
unknown location(0): fatal error in "test_FramedTransport_Read": system_error 
produced by: ::sigaltstack( &sigstk, 0 ) != -1: Cannot allocate memory
TBufferBaseTest.cpp(545): last checkpoint
unknown location(0): fatal error in "test_FramedTransport_Write_Read": 
system_error produced by: ::sigaltstack( &sigstk, 0 ) != -1: Cannot allocate 
memory
TBufferBaseTest.cpp(602): last checkpoint
unknown location(0): fatal error in "test_FramedTransport_Empty_Flush": 
system_error produced by: ::sigaltstack( &sigstk, 0 ) != -1: Cannot allocate 
memory
TBufferBaseTest.cpp(636): last checkpoint

*** 15 failures detected in test suite "thrift"
FAIL: UnitTests
===================
1 of 7 tests failed
===================
make[3]: *** [check-TESTS] Error 1
make[2]: *** [check-am] Error 2
make[1]: *** [check-recursive] Error 1
make: *** [check-recursive] Error 1
RushBigIronMac:thrift-0.2.0-2 rmanbert$ 

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to