[parrot/parrot] ecb605: [GH #394] Revamp native_pbc: t/native_pbc/Test.pm

GitHub noreply at github.com
Mon Aug 6 21:05:01 UTC 2012


  Branch: refs/heads/native_pbc
  Home:   https://github.com/parrot/parrot
  Commit: ecb605ff4896b5bdc26c277810b7e96a2171fcf3
      https://github.com/parrot/parrot/commit/ecb605ff4896b5bdc26c277810b7e96a2171fcf3
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2012-08-06 (Mon, 06 Aug 2012)

  Changed paths:
    M MANIFEST
    A t/native_pbc/Test.pm
    R t/native_pbc/integer.pbc
    M t/native_pbc/integer.t
    R t/native_pbc/integer_2.pbc
    M t/native_pbc/integer_3.pbc
    R t/native_pbc/integer_5.pbc
    R t/native_pbc/integer_7.pbc
    R t/native_pbc/number.pbc
    M t/native_pbc/number.t
    M t/native_pbc/number_3.pbc
    R t/native_pbc/string.pbc
    M t/native_pbc/string.t
    M t/native_pbc/string_3.pbc
    R t/native_pbc/string_7.pbc

  Log Message:
  -----------
  [GH #394] Revamp native_pbc: t/native_pbc/Test.pm

Simplify tests with a common t/native_pbc/Test.pm library.
Delete unneeded pbc files.
Update ppc32 t/native_pbc files.

TODO: endian-conversion fails


  Commit: 53f967723545c52aef28a5d2676464331edd0ac6
      https://github.com/parrot/parrot/commit/53f967723545c52aef28a5d2676464331edd0ac6
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2012-08-06 (Mon, 06 Aug 2012)

  Changed paths:
    M lib/Parrot/Test.pm
    M t/native_pbc/Test.pm
    M t/native_pbc/integer.t
    R t/native_pbc/integer_1.pbc
    R t/native_pbc/integer_3.pbc
    R t/native_pbc/integer_4.pbc
    A t/native_pbc/integer_4_be.pbc
    A t/native_pbc/integer_4_le.pbc
    R t/native_pbc/integer_6.pbc
    A t/native_pbc/integer_8_be.pbc
    A t/native_pbc/integer_8_le.pbc
    M t/native_pbc/number.t
    R t/native_pbc/number_1.pbc
    R t/native_pbc/number_2.pbc
    R t/native_pbc/number_3.pbc
    R t/native_pbc/number_4.pbc
    A t/native_pbc/number_4_12_le.pbc
    A t/native_pbc/number_4_8_be.pbc
    A t/native_pbc/number_4_8_le.pbc
    R t/native_pbc/number_5.pbc
    R t/native_pbc/number_6.pbc
    R t/native_pbc/number_7.pbc
    A t/native_pbc/number_8_16_be.pbc
    A t/native_pbc/number_8_16_le.pbc
    A t/native_pbc/number_8_8_be.pbc
    A t/native_pbc/number_8_8_le.pbc
    M t/native_pbc/string.t
    R t/native_pbc/string_1.pbc
    R t/native_pbc/string_3.pbc
    R t/native_pbc/string_4.pbc
    A t/native_pbc/string_4_be.pbc
    A t/native_pbc/string_4_le.pbc
    R t/native_pbc/string_6.pbc
    A t/native_pbc/string_8_be.pbc
    A t/native_pbc/string_8_le.pbc
    M tools/dev/mk_native_pbc

  Log Message:
  -----------
  refactor t/native_pbc/ test ids

Parrot::Test had the odd assumption that testing pbc can only be done for
native_pbc tests, and that the tests must be of _<int>++.pbc.
We pass now the filename as first arg to pbc_output_is() and check if it exists.

So we can use now readable test names.


Compare: https://github.com/parrot/parrot/compare/51d2cc3980ad...53f967723545


More information about the parrot-commits mailing list