On 6/22/12 2:16 AM, Alvis Yardley wrote:
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


The ASSERT_ARGS is misplaced. My hunch is that it needs to be immediately after the start of the function, without the #ifdef intervening. I applied this in 5a43b68, ran 'make test'. Can you re-run 'make fulltest'?

Thanks.
jimk
_______________________________________________
http://lists.parrot.org/mailman/listinfo/parrot-dev

Reply via email to