NAME
t/native_pbc/string.t - PBC string tests
SYNOPSIS
% prove t/native_pbc/string.t
DESCRIPTION
Tests word-size/endian-ness for different architectures.
We test 4+8 byte opcode_t with le and be. Foreign encodings (TODO) and charsets are tested witin t/op/strings.t and t/op/strings_cs.t
These tests usually only work on updated native pbc test files. See tools/dev/mk_native_pbc to create the platform-specific native pbcs.
PLATFORMS
_1 i386 32 bit opcode_t, 32 bit intval (linux-gcc-ix86, freebsd-gcc, cygwin)
_2 (skipped) i386 32 bit opcode_t, 32 bit intval, 12 bit long double
_3 PPC BE 32 bit opcode_t, 32 bit intval (darwin-ppc or sparc32)
_4 x86_64 double float 64 bit opcode_t (linux-gcc-x86_64, solaris-cc-64int)
_5 (skipped) x86_64 16 bit long double 64 bit opcode_t
_6 big-endian 64 bit opcode_t, 8 byte double (Sparc64/Solaris, MIPS irix)
_7 (skipped) big-endian 64 bit opcode_t, 16 byte long double