[parrot/parrot] 8a1439: Add basic testing support for the m0 c implementat...

noreply at github.com noreply at github.com
Fri Sep 2 05:35:57 UTC 2011


  Branch: refs/heads/m0-prototype
  Home:   https://github.com/parrot/parrot

  Commit: 8a14392703400dc7e6a493f25888be02043deda6
      https://github.com/parrot/parrot/commit/8a14392703400dc7e6a493f25888be02043deda6
  Author: nbrown <nbrown04 at gmail.com>
  Date:   2011-09-01 (Thu, 01 Sep 2011)

  Changed paths:
    M config/gen/makefiles/root.in
  A t/m0_c/m0_assembler.t
  A t/m0_c/m0_bytecode_loading.t
  A t/m0_c/m0_integration.t
  A t/m0_c/m0_run_hello_m0b.t

  Log Message:
  -----------
  Add basic testing support for the m0 c implementation

Signed-off-by: Jonathan "Duke" Leto <jonathan at leto.net>


  Commit: af165cf93bc8547e83df38f10c520bbd0383b887
      https://github.com/parrot/parrot/commit/af165cf93bc8547e83df38f10c520bbd0383b887
  Author: nbrown <nbrown04 at gmail.com>
  Date:   2011-09-01 (Thu, 01 Sep 2011)

  Changed paths:
    M src/m0/c/m0_ops.c

  Log Message:
  -----------
  Add M0_NOOP op to pass bytcode loading tests

Signed-off-by: Jonathan "Duke" Leto <jonathan at leto.net>


  Commit: fd7c90d9b963d1cb98968f3ede438ac5929bfb1a
      https://github.com/parrot/parrot/commit/fd7c90d9b963d1cb98968f3ede438ac5929bfb1a
  Author: nbrown <nbrown04 at gmail.com>
  Date:   2011-09-01 (Thu, 01 Sep 2011)

  Changed paths:
    M src/m0/c/m0_ops.c
  M t/m0_c/m0_integration.t

  Log Message:
  -----------
  Add implementations for add_i, sub_i, goto, goto_if

Also, enable the add_i and sub_i integration tests.

Signed-off-by: Jonathan "Duke" Leto <jonathan at leto.net>


  Commit: 97ea0f14bfc3a11fba0253f92947a417704e5b17
      https://github.com/parrot/parrot/commit/97ea0f14bfc3a11fba0253f92947a417704e5b17
  Author: nbrown <nbrown04 at gmail.com>
  Date:   2011-09-01 (Thu, 01 Sep 2011)

  Changed paths:
    M src/m0/c/m0_ops.c
  M t/m0_c/m0_integration.t

  Log Message:
  -----------
  Add mult_i op and integration test.

Signed-off-by: Jonathan "Duke" Leto <jonathan at leto.net>


  Commit: 41970246b8b20126ce65fa5ad3f9c8f2329902fd
      https://github.com/parrot/parrot/commit/41970246b8b20126ce65fa5ad3f9c8f2329902fd
  Author: nbrown <nbrown04 at gmail.com>
  Date:   2011-09-01 (Thu, 01 Sep 2011)

  Changed paths:
    M src/m0/c/m0_ops.c
  M t/m0_c/m0_integration.t

  Log Message:
  -----------
  Add div_i op and integration test.

Signed-off-by: Jonathan "Duke" Leto <jonathan at leto.net>


  Commit: a965055e176de64d0c3158305d929e4309e5fd2b
      https://github.com/parrot/parrot/commit/a965055e176de64d0c3158305d929e4309e5fd2b
  Author: nbrown <nbrown04 at gmail.com>
  Date:   2011-09-01 (Thu, 01 Sep 2011)

  Changed paths:
    M src/m0/c/m0_ops.c
  M t/m0_c/m0_integration.t

  Log Message:
  -----------
  Add mod_i op and integration test.

Signed-off-by: Jonathan "Duke" Leto <jonathan at leto.net>


  Commit: e53f123fcd1d4dba262663b4eef5ad5eac98b922
      https://github.com/parrot/parrot/commit/e53f123fcd1d4dba262663b4eef5ad5eac98b922
  Author: nbrown <nbrown04 at gmail.com>
  Date:   2011-09-01 (Thu, 01 Sep 2011)

  Changed paths:
    M src/m0/c/m0_ops.c
  M t/m0_c/m0_integration.t

  Log Message:
  -----------
  Add and op and integration test.

Signed-off-by: Jonathan "Duke" Leto <jonathan at leto.net>


  Commit: c3723a335cad7c993f36d1fdcec95b10c44adba9
      https://github.com/parrot/parrot/commit/c3723a335cad7c993f36d1fdcec95b10c44adba9
  Author: nbrown <nbrown04 at gmail.com>
  Date:   2011-09-01 (Thu, 01 Sep 2011)

  Changed paths:
    M src/m0/c/m0_ops.c
  M t/m0_c/m0_integration.t

  Log Message:
  -----------
  Add lshr op and integration test.

Signed-off-by: Jonathan "Duke" Leto <jonathan at leto.net>


  Commit: 861f1b9e8c685848b7284d41fee5e6ba46f0740e
      https://github.com/parrot/parrot/commit/861f1b9e8c685848b7284d41fee5e6ba46f0740e
  Author: nbrown <nbrown04 at gmail.com>
  Date:   2011-09-01 (Thu, 01 Sep 2011)

  Changed paths:
    M src/m0/c/m0_ops.c
  M t/m0_c/m0_integration.t

  Log Message:
  -----------
  Add shl op and integration test.

Signed-off-by: Jonathan "Duke" Leto <jonathan at leto.net>


  Commit: 9b65393b62b506ea7eacf87534197714cf39b130
      https://github.com/parrot/parrot/commit/9b65393b62b506ea7eacf87534197714cf39b130
  Author: nbrown <nbrown04 at gmail.com>
  Date:   2011-09-01 (Thu, 01 Sep 2011)

  Changed paths:
    M src/m0/c/m0_ops.c
  M t/m0_c/m0_integration.t

  Log Message:
  -----------
  Add or op and integration test.

Signed-off-by: Jonathan "Duke" Leto <jonathan at leto.net>


  Commit: c4e91e4b7f6f10a19ab0f14f67e5affc98438741
      https://github.com/parrot/parrot/commit/c4e91e4b7f6f10a19ab0f14f67e5affc98438741
  Author: nbrown <nbrown04 at gmail.com>
  Date:   2011-09-01 (Thu, 01 Sep 2011)

  Changed paths:
    M src/m0/c/m0_ops.c
  M t/m0_c/m0_integration.t

  Log Message:
  -----------
  Add xor op and integration test.

Signed-off-by: Jonathan "Duke" Leto <jonathan at leto.net>


  Commit: 354472dfb2cb57a61942996bc168ef94621c14f7
      https://github.com/parrot/parrot/commit/354472dfb2cb57a61942996bc168ef94621c14f7
  Author: nbrown <nbrown04 at gmail.com>
  Date:   2011-09-01 (Thu, 01 Sep 2011)

  Changed paths:
    M t/m0_c/m0_integration.t

  Log Message:
  -----------
  Enable 5 passing tests

Signed-off-by: Jonathan "Duke" Leto <jonathan at leto.net>


  Commit: 3a395efca274c620c522a358a5b65d8a939e853a
      https://github.com/parrot/parrot/commit/3a395efca274c620c522a358a5b65d8a939e853a
  Author: nbrown <nbrown04 at gmail.com>
  Date:   2011-09-01 (Thu, 01 Sep 2011)

  Changed paths:
    M src/m0/c/m0_mob.c
  M src/m0/c/m0_ops.c

  Log Message:
  -----------
  Add goto_chunk and the loading of chunk names

Signed-off-by: Jonathan "Duke" Leto <jonathan at leto.net>


  Commit: 87a8a6bd7990b8a3a1f55c4ae71b7673d31525ca
      https://github.com/parrot/parrot/commit/87a8a6bd7990b8a3a1f55c4ae71b7673d31525ca
  Author: nbrown <nbrown04 at gmail.com>
  Date:   2011-09-01 (Thu, 01 Sep 2011)

  Changed paths:
    M src/m0/c/m0_ops.c

  Log Message:
  -----------
  Add a very hacky exit op

Signed-off-by: Jonathan "Duke" Leto <jonathan at leto.net>


  Commit: ec1c5f3378bc3beb3ecf6615235da410d5dc70cc
      https://github.com/parrot/parrot/commit/ec1c5f3378bc3beb3ecf6615235da410d5dc70cc
  Author: nbrown <nbrown04 at gmail.com>
  Date:   2011-09-01 (Thu, 01 Sep 2011)

  Changed paths:
    M t/m0_c/m0_integration.t

  Log Message:
  -----------
  Enable goto_chunk test

Signed-off-by: Jonathan "Duke" Leto <jonathan at leto.net>


  Commit: d46423d0aacc7d18949786eb7d5aaf21471307d6
      https://github.com/parrot/parrot/commit/d46423d0aacc7d18949786eb7d5aaf21471307d6
  Author: nbrown <nbrown04 at gmail.com>
  Date:   2011-09-01 (Thu, 01 Sep 2011)

  Changed paths:
    M t/m0_c/m0_integration.t

  Log Message:
  -----------
  enable m0_chunk_name_const tests

Signed-off-by: Jonathan "Duke" Leto <jonathan at leto.net>


  Commit: 138d48b3aace342c449af992ca1a221fea91a0bc
      https://github.com/parrot/parrot/commit/138d48b3aace342c449af992ca1a221fea91a0bc
  Author: nbrown <nbrown04 at gmail.com>
  Date:   2011-09-01 (Thu, 01 Sep 2011)

  Changed paths:
    M src/m0/c/m0_ops.c

  Log Message:
  -----------
  Add print_i op

Signed-off-by: Jonathan "Duke" Leto <jonathan at leto.net>


  Commit: d9876e98eb6dcf54db342750d1810f3ae6dbdb4c
      https://github.com/parrot/parrot/commit/d9876e98eb6dcf54db342750d1810f3ae6dbdb4c
  Author: nbrown <nbrown04 at gmail.com>
  Date:   2011-09-01 (Thu, 01 Sep 2011)

  Changed paths:
    M src/m0/c/m0_ops.c
  M t/m0_c/m0_integration.t

  Log Message:
  -----------
  Add arithmetic right shift op and test

Signed-off-by: Jonathan "Duke" Leto <jonathan at leto.net>


  Commit: 46ba2c495d2af543cb2df8a609d6a4f3c6e93a58
      https://github.com/parrot/parrot/commit/46ba2c495d2af543cb2df8a609d6a4f3c6e93a58
  Author: nbrown <nbrown04 at gmail.com>
  Date:   2011-09-01 (Thu, 01 Sep 2011)

  Changed paths:
    M src/m0/c/m0_ops.c

  Log Message:
  -----------
  remove double loop by pulling chunk id search into goto_chunk

Signed-off-by: Jonathan "Duke" Leto <jonathan at leto.net>


  Commit: 1da2b0c059c8b071de91abb37a0a1dcd29f544f7
      https://github.com/parrot/parrot/commit/1da2b0c059c8b071de91abb37a0a1dcd29f544f7
  Author: Jonathan "Duke" Leto <jonathan at leto.net>
  Date:   2011-09-01 (Thu, 01 Sep 2011)

  Changed paths:
    M t/m0_c/m0_bytecode_loading.t
  M t/m0_c/m0_integration.t
  M t/m0_c/m0_run_hello_m0b.t

  Log Message:
  -----------
  Don't hardcode m0.exe


  Commit: 256a044fe7727124cd83b9f019edc5aa9e492270
      https://github.com/parrot/parrot/commit/256a044fe7727124cd83b9f019edc5aa9e492270
  Author: Jonathan "Duke" Leto <jonathan at leto.net>
  Date:   2011-09-01 (Thu, 01 Sep 2011)

  Changed paths:
    M config/gen/makefiles/root.in
  M t/m0/m0_bytecode_loading.t
  M t/m0/m0_integration.t
  M t/m0/m0_run_hello_m0b.t
  R t/m0_c/m0_assembler.t
  R t/m0_c/m0_bytecode_loading.t
  R t/m0_c/m0_integration.t
  R t/m0_c/m0_run_hello_m0b.t

  Log Message:
  -----------
  Deduplicate m0 C tests by adding a M0_INTERP env var

We now run the C implementation with exactly the same test files as the
Perl implementation.  The m0_c_tests Makefile target merely sets a
M0_INTERP env var to tell the test which binary it should be testing
against.

In the future, we will want something to specify the m0 assembler to
use, but that is not an issue now.

Currently, the m0_c_tests target has some expected failures. This should
motivate us to make them pass, or come up with a "fudge framework."


  Commit: f1ab0d012511aee6f930daf850b80d3526d21c52
      https://github.com/parrot/parrot/commit/f1ab0d012511aee6f930daf850b80d3526d21c52
  Author: Jonathan "Duke" Leto <jonathan at leto.net>
  Date:   2011-09-01 (Thu, 01 Sep 2011)

  Changed paths:
    M config/gen/makefiles/root.in
  M src/m0/c/m0_mob.c
  M src/m0/c/m0_ops.c
  M t/m0/m0_bytecode_loading.t
  M t/m0/m0_integration.t
  M t/m0/m0_run_hello_m0b.t

  Log Message:
  -----------
  Merge branch 'pull_request_156' into m0-prototype


Compare: https://github.com/parrot/parrot/compare/b2bf853...f1ab0d0


More information about the parrot-commits mailing list