[parrot/parrot] b66ddd: re-enable native_pbc

GitHub noreply at github.com
Tue Sep 4 21:47:14 UTC 2012


  Branch: refs/heads/native_pbc
  Home:   https://github.com/parrot/parrot
  Commit: b66ddd98669bcc7031585a86a1827a39988a507d
      https://github.com/parrot/parrot/commit/b66ddd98669bcc7031585a86a1827a39988a507d
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2012-09-04 (Tue, 04 Sep 2012)

  Changed paths:
    M t/native_pbc/header.t
    M t/native_pbc/integer.t
    M t/native_pbc/integer_5.pbc
    M t/native_pbc/number.t
    M t/native_pbc/number_5.pbc
    M t/native_pbc/string.t
    R t/native_pbc/string_5.pbc
    M t/native_pbc/testdata/string.pasm
    M tools/dev/mk_native_pbc

  Log Message:
  -----------
  re-enable native_pbc

use new t/native_pbc/testdata templates to generate pbc's,
change string to use binary and utf8 encodings,
update mk_native_pbc.
TODO: little-endian pbc files missing, preparing a 8_le qemu image to generate them.


  Commit: b69c788adee62b75b3a1e465639cd6d32a2b65d2
      https://github.com/parrot/parrot/commit/b69c788adee62b75b3a1e465639cd6d32a2b65d2
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2012-09-04 (Tue, 04 Sep 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: 4523d30fb0bbf14888a6f82829223ead3b91110d
      https://github.com/parrot/parrot/commit/4523d30fb0bbf14888a6f82829223ead3b91110d
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2012-09-04 (Tue, 04 Sep 2012)

  Changed paths:
    M MANIFEST
    M lib/Parrot/Test.pm
    M t/native_pbc/Test.pm
    R t/native_pbc/annotations.pbc
    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
    R t/native_pbc/testdata/string.pasm
    A t/native_pbc/testdata/string.pir
    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.


  Commit: a035dc07b6ed8abb63c1b1a62c983df6cb6ba221
      https://github.com/parrot/parrot/commit/a035dc07b6ed8abb63c1b1a62c983df6cb6ba221
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2012-09-04 (Tue, 04 Sep 2012)

  Changed paths:
    A t/native_pbc/testdata/annotations.pir
    M tools/dev/mk_packfile_pbc

  Log Message:
  -----------
  mk_packfile_pbc refactor with t/native_pbc/testdata/annotations.pir


  Commit: 7407c9f25d35f71bb1bfbe663b8d143361c64c8f
      https://github.com/parrot/parrot/commit/7407c9f25d35f71bb1bfbe663b8d143361c64c8f
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2012-09-04 (Tue, 04 Sep 2012)

  Changed paths:
    A t/native_pbc/testdata/string.pasm
    R t/native_pbc/testdata/string.pir

  Log Message:
  -----------
  mv t/native_pbc/testdata/string.pir t/native_pbc/testdata/string.pasm


  Commit: d0a94721246f9e07062ff910419c724dd5b884a6
      https://github.com/parrot/parrot/commit/d0a94721246f9e07062ff910419c724dd5b884a6
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2012-09-04 (Tue, 04 Sep 2012)

  Changed paths:
    M docs/project/release_manager_guide.pod
    M t/native_pbc/Test.pm
    M t/native_pbc/integer_4_be.pbc
    M t/native_pbc/integer_4_le.pbc
    M t/native_pbc/integer_8_be.pbc
    M t/native_pbc/integer_8_le.pbc
    M t/native_pbc/number_4_12_le.pbc
    M t/native_pbc/number_4_8_be.pbc
    M t/native_pbc/number_8_16_be.pbc
    M t/native_pbc/number_8_16_le.pbc
    M t/native_pbc/number_8_8_be.pbc
    M t/native_pbc/string_4_be.pbc
    M t/native_pbc/string_4_le.pbc
    M t/native_pbc/string_8_be.pbc
    M t/native_pbc/string_8_le.pbc
    M tools/dev/pbc_header.pl

  Log Message:
  -----------
  Fixed pbc_header.pl, usage docs, improved version tests

Fixed pbc_header.pl to query and update pbc versioninfo in headers.
Improved release manager guide to update native_pbc headers when PBC_COMPAT
was not changed.
Add better skip message to tests when just the Parrot version was bumped, but
bc version matches.
Bumped all native_pbc/*.pbc headers to 4.7.0.


  Commit: b659b747f3ffca43f546ab76637c271aaa0dfe6b
      https://github.com/parrot/parrot/commit/b659b747f3ffca43f546ab76637c271aaa0dfe6b
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2012-09-04 (Tue, 04 Sep 2012)

  Changed paths:
    M t/native_pbc/Test.pm

  Log Message:
  -----------
  native_pbc: refactor skip messages


  Commit: 3b487769a3b3211e887a5e11444da907cb6458b0
      https://github.com/parrot/parrot/commit/3b487769a3b3211e887a5e11444da907cb6458b0
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2012-09-04 (Tue, 04 Sep 2012)

  Changed paths:
    M PBC_COMPAT
    M compilers/opsc/Rules.mak
    M compilers/opsc/src/Ops/Emitter.pm
    M compilers/opsc/src/Ops/File.pm
    M config/auto/revision.pm
    M config/gen/config_h/config_h.in
    M config/gen/config_pm.pm
    M config/gen/config_pm/config_lib_pir.in
    M config/gen/makefiles/root.in
    M frontend/pbc_dump/main.c
    M include/parrot/oplib.h
    M include/parrot/oplib/core_ops.h
    M src/ops/core_ops.c
    M src/packfile/segments.c
    M src/pmc/oplib.pmc
    M src/pmc/packfile.pmc
    M t/compilers/opsc/06-opsfile.t
    M t/compilers/opsc/08-emitter.t
    M t/native_pbc/testdata/annotations.pir

  Log Message:
  -----------
  Revive pbc

The parrot utils could not load pbc compatible, but older pbc fils anymore
because opslib directories and the init function hardcoded the parrot version
(even with patch!) and not the PBC_COMPAT version.

Replaced all parrot version triples in the pbc format with the PBC version duple.
parrot utils can now load older but compatible pbc files (again).

Replaced the hardcoded version numbers with c preprocessor macros in the
bootstrapped opslib sources and headers, to be more independent and simplier
implementation. If the ops did not change, the ops do not need to get regenerated
anymore for each version bump.
The Ops::Emitter version method is not used anymore, since bootstrap-ops has
been simplified.

Sanified the Makefile by adding missing dependencies and do proper identation
for depends and commands. Prev. line-broken depends were not visually
indistuingishible from commands, and line-broken commands neither.

Store PBC_MAJOR and PBC_MINOR in the config hash, stored by auto::revision.

Bump PBC_COMPAT to 13.0, the opslib directories store now only two version
numbers, not three.


  Commit: b7aaf49f485f8efd33abecec7475465558d6e3d3
      https://github.com/parrot/parrot/commit/b7aaf49f485f8efd33abecec7475465558d6e3d3
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2012-09-04 (Tue, 04 Sep 2012)

  Changed paths:
    M tools/dev/mk_native_pbc

  Log Message:
  -----------
  fix tools/dev/mk_native_pbc: use new ids


  Commit: 413b3291e5efef324eb12771962fc1cd003b2118
      https://github.com/parrot/parrot/commit/413b3291e5efef324eb12771962fc1cd003b2118
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2012-09-04 (Tue, 04 Sep 2012)

  Changed paths:
    M t/native_pbc/integer_8_le.pbc
    M t/native_pbc/number_8_16_le.pbc
    M t/native_pbc/string_8_le.pbc
    M tools/dev/mk_native_pbc

  Log Message:
  -----------
  regenerate native_pbc for intel 64bit


  Commit: 2519d039d7c754ca6a2d853a0ba5e0ebdfb33737
      https://github.com/parrot/parrot/commit/2519d039d7c754ca6a2d853a0ba5e0ebdfb33737
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2012-09-04 (Tue, 04 Sep 2012)

  Changed paths:
    M tools/dev/mk_native_pbc

  Log Message:
  -----------
  tools/dev/mk_native_pbc comments


  Commit: 4c5561edb28770464b5a4d20ce9a15aa5f01e74b
      https://github.com/parrot/parrot/commit/4c5561edb28770464b5a4d20ce9a15aa5f01e74b
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2012-09-04 (Tue, 04 Sep 2012)

  Changed paths:
    M t/native_pbc/integer_4_le.pbc
    M t/native_pbc/number_4_12_le.pbc
    M t/native_pbc/number_4_8_le.pbc
    M t/native_pbc/number_8_8_le.pbc
    M t/native_pbc/string_4_le.pbc

  Log Message:
  -----------
  update native_pbc files for little-endian


  Commit: 97678e57c93f997b9b035b073bc269434b5e8e8e
      https://github.com/parrot/parrot/commit/97678e57c93f997b9b035b073bc269434b5e8e8e
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2012-09-04 (Tue, 04 Sep 2012)

  Changed paths:
    M src/packfile/pf_items.c
    M t/native_pbc/Test.pm
    M t/native_pbc/number.t

  Log Message:
  -----------
  fixed the rest of the pbc number converters.

big-endian still untested, need a UltraSparc64 to confirm.


Compare: https://github.com/parrot/parrot/compare/b3a284c584dc...97678e57c93f


More information about the parrot-commits mailing list