Parrot fails fulltest
Alvis Yardley
ac.yardley at gmail.com
Fri Jun 22 06:16:17 UTC 2012
Hello:
This evening I was attempting to figure out which of 'docs/parrotbyte.pod'
or 'docs/pdds/draft/pdd13_bytecode.pod' is, largely, correct and current
and had occasion to run a fulltest against parrot. It failed.
'prove -v t/codingstd/c_arg_assert.t' reports the following:
# finding macro definitions and invocations
# Failed test 'macros used in correct position'
# at t/codingstd/c_arg_assert.t line 76.
# The following macros exist but aren't at the top of their function:
# /home/alvis/Projects/git-repos/parrot/src/runcore/subprof.c: getticks
# 1 misplaced macros found in total.
# Looks like you failed 1 test of 2.
t/codingstd/c_arg_assert.t ..
1..2
ok 1 - no unused assert macros
not ok 2 - macros used in correct position
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/2 subtests
Test Summary Report
-------------------
t/codingstd/c_arg_assert.t (Wstat: 256 Tests: 2 Failed: 1)
Failed test: 2
Non-zero exit status: 1
Files=1, Tests=2, 1 wallclock secs ( 0.03 usr 0.00 sys + 1.06 cusr
0.04 csys = 1.13 CPU)
Result: FAIL
and a quick 'git log' suggests this is the culprit:
commit 870463a69beee6d157f30f3ab97f63e16e0b90d8
Author: Andy Lester <andy at petdance.com>
Date: Tue Jun 19 22:13:53 2012 -0500
redid the #if on getticks() to wrap the contents of the function,
but not the declaration
Thanks.
--
Alvis
More information about the parrot-dev
mailing list