Skip to content

Instantly share code, notes, and snippets.

@diakopter
Created September 28, 2013 21:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save diakopter/6746600 to your computer and use it in GitHub Desktop.
Save diakopter/6746600 to your computer and use it in GitHub Desktop.
C:\Users\mwilson\src\MoarVM\nqp-cc>prove -vv -e "..\moarvm nqp.moarvm" t\nqp
t\nqp\01-literals.t ...................
1..9
ok 1
ok 2
ok 3
ok 4
ok 5
ok 6
ok 7
ok 8
ok 9
ok
t\nqp\02-if.t .........................
1..6
ok 1 # on one line
ok 2 # statements following if are okay
ok 3 # multi-line if
ok 4 # multi-line if, false condition causes block not to execute
ok 5 # postfix statement modifier form (true)
ok 6 # postfix statement modifier form (false)
ok
t\nqp\03-if-else.t ....................
1..14
ok 1 # on one line with else
ok 2 # statements following if with else are okay
ok 3 # multi-line if with else
ok 4 # multi-line if, else branch
ok 5 # empty if-block
ok 6 # empty else-block
ok 7 # empty if- and else-block
ok 8 # empty if-, elsif-, and else-block
ok 9 # if expr true in if/elsif/elsif/else
ok 10 # first elsif expr true in if/elsif/elsif/else
ok 11 # second elsif expr true in if/elsif/elsif/else
ok 12 # first and second elsif expr true in if/elsif/elsif/else
ok 13 # else expr true in if/elsif/elsif/else
ok 14 # no else block in if/elsif
ok
t\nqp\04-unless.t .....................
1..6
ok 1 # on one line
ok 2 # statements following unless are okay
ok 3 # multi-line unless
ok 4 # testing conditional
ok 5 # postfix statement modifier form (false)
ok 6 # postfix statement modifier form (true)
ok
t\nqp\05-comments.t ...................
1..8
ok 1
ok 2
ok 3
ok 4
ok 5
ok 6
ok 7
ok 8
ok
t\nqp\06-args-pos.t ...................
1..2
ok 1
ok 2
ok
t\nqp\07-boolean.t ....................
1..8
ok 1 - prefix negation on integer 0
ok 2 - prefix negation on string 0
ok 3 - negating integer 1
ok 4 - double negation on 1
ok 5 - prefix negation on integer 1
ok 6 - prefix negation on string 10
ok 7 - boolean integer 0
ok 8 - spaghetti chaining
ok
t\nqp\08-blocks.t .....................
1..7
ok 1 # blocks are okay
ok 2 # last statement in a block does not need a semi-colon
ok 3 # statements can precede blocks
ok 4 # blocks can nest
ok 5 # statements can follow blocks
ok 6 # multiple blocks on one line need a semi-colon
ok 7 # blocks following an end brace must be separated by a semicolon
ok
t\nqp\09-var.t ........................
1..13
ok 1 # direct binding and scoping
ok 2 # first scope and declare, then bind
ok 3 # bind to another variable
ok 4 # rebind the original, the bound one does not change
ok 5 # variables can be rebound
ok 6 # my scoping works inside a block
ok 7 # block does not stomp on out scope
ok 8 # variables scoped outside of block persists inside the block
ok 9 # variable is bound to the value, not the symbol in the block
ok 10 # $b5, defined inside block, does not exist outside
ok 11 # our variables have package scope, exists outside of block
ok 12 # our variables exist inside blocks
ok 13 # our variables written inside block keep their values outside
ok
t\nqp\10-cmp.t ........................
1..19
ok 1 # numeric equality, integers
ok 2 # numeric equality, integers, not equal
ok 3 # numeric equality, negative integers
ok 4 # numeric inequality, integers
ok 5 # numeric inequality, equal, integers
ok 6 # numeric inequality, equal, negative integers
ok 7 # string equality
ok 8 # string equality, not equal
ok 9 # string inequality
ok 10 # string inequality, equal
ok 11 # coerce integer 11 into string eleven
ok 12 # coerce integer -12 into string twelve
ok 13 # coerce string 13 into an integer
ok 14 # coerce string -14 into an integer
ok 15 # container equality, unnamed arrays
ok 16 # container equality, self
ok 17 # container equality, named arrays
ok 18 # container equality, string binding
ok 19 # container equality, string value
ok
t\nqp\11-sub.t ........................
1..18
ok 1 # sub def and call
ok 2 # sub def and call inside block
ok 3 # sub def; sub call on same line
ok 4 # passed in 1 arg
ok 5 # calling sub in outer scope
ok 6 # return string literal from sub
ok 7 # bind sub return to variable
ok 8 # returning the result of operating on arguments
ok 9 # subroutines that operate on args do not affect the original arg outside the sub
ok 10 # parameter with a trailing comma
ok 11
ok 12
ok 13 nqp::isinvokable on sub
ok 14 nqp::isinvokable on non sub
ok 15
ok 16
ok 17
ok paramer with a dash
ok
t\nqp\12-logical.t ....................
1..7
ok 1 - logical || shortcuts, branch not taken
ok 2 - logical || shortcuts, branch taken
ok 3 - logical && shortcuts, branch not taken
ok 4 - logicl && shortcuts, branch taken
ok 5 - logical // shortcuts on true, branch not taken
ok 6 - logical // shortcuts on defined false, branch not taken
ok 7 - logical // takes branch on undef
ok
t\nqp\13-op.t .........................
1..32
ok 1 - Checking addition 1+2
ok 2 - Checking subtraction 10-9
ok 3 - Checking compound statements 10-3+2
ok 4 - Checking parenthesized statement 10-(3+2)
ok 5 - Checking multiplication 6*7
ok 6 - Checking division 36/6
ok 7 - Checking compound statements 4*3+5
ok 8 - Checking parenthesized statements 4*(3+5)
ok 9 - Checking compound statements 12/4*3
ok 10 - Checking compound statements 12/(4*3)
ok 11 - Checking compound statements 5-3*2
ok 12 - Checking modulo 8%3
ok 13 - Checking compound statement 8%3+2
ok 14 - Checking compound statement 8%(3+2)
ok 15 - Checking concatenation "a" ~ "b"
ok 16 - Checking concatenation 1 ~ "b"
ok 17 - Checking concatenation "a" ~ 2
ok 18
ok 19
ok 20
ok 21
ok 22
ok 23
ok 24
ok 25
ok 26
ok 27
ok 28
ok 29
ok 30 - Checking 1 +| 3
ok 31 - Checking 3 +& 2
ok 32 - Checking 3 +^ 3
ok
t\nqp\14-while.t ......................
1..14
ok 1 - basic while loop test
ok 2 - basic while statement modifier
ok 3 - basic until loop test
ok 4 - basic until statement modifier
ok 5 - while loop exits initial false immediately
ok 6 - until loop exits initial true immediately
ok 7 - basic repeat_while loop
ok 8 - basic repeat_until loop
ok 9 - basic repeat_while loop
ok 10 - basic repeat_until loop
ok 11 - repeat_while always executes at least once
ok 12 - repeat_until always executes at least once
ok 13 - repeat_while always executes at least once
ok 14 - repeat_until always executes at least once
ok
t\nqp\15-list.t .......................
1..3
ok 1 checking loop via indices
ok 2 checking loop via indices
ok 3 checking loop via indices
ok
t\nqp\16-ternary.t ....................
1..8
ok 1
ok 2
ok 3
ok 4
ok 5
ok 6
ok 7
ok 8
ok
t\nqp\17-positional.t .................
1..7
ok 1 # list assignment didn't barf
ok 2 # numeric subscript
ok 3 # string subscript
ok 4 # variable subscript
ok 5 # expression in subscript
ok 6 # string array element
ok 7 # automatic expansion
ok
t\nqp\18-associative.t ................
1..10
ok 1 - # hash assignment with numeric value works
ok 2 - hash access to numeric value
ok 3 - hash access to string value
ok 4 - numeric hash access
ok 5 - numbers stringify
ok 6 - curly braces and single quotes work
ok 7 - curly braces and double quotes work
ok 8 - we can fetch false values
ok 9 - a missing key behaves properly when used as string
ok 10 - a missing key behaves properly when used as number
ok
t\nqp\19-file-ops.t ................... Dubious, test returned 5 (wstat 1280, 0x500)
No subtests run
t\nqp\20-return.t .....................
1..3
ok 1 - last value in block
ok 2 - explicit return value in block
ok 3 - explicit return from nested block
ok
t\nqp\21-contextual.t .................
1..7
ok 1 - basic contextual declaration works
ok 2 - called subroutine sees caller $*VAR
ok 3 - called subroutine sees caller $*VAR
ok 4 - basic nested contextual works
ok 5 - called subroutine sees caller $*VAR
ok 6 - called subroutine sees caller not outer
ok 7 - nested contextuals don't affect outer ones
ok
t\nqp\22-optional-args.t ..............
1..3
ok 1 # optional args ignorable
ok 2 # optional args passable
ok 3 # only optional args
ok
t\nqp\23-named-args.t .................
1..5
ok 1 # named args passable
ok 2 # named args ignorable
ok 3 # args reorderable
ok 4 # named/positional intermixable
ok 5 - :$x colonpair syntax
ok
t\nqp\24-module.t ..................... Cannot locate an outer frame for the call
at t\nqp\24-module.t:11 (<ephemeral file>:frame_name_0:66)
from nqp-src\NQPHLL.nqp:1084 (./NQPHLLMoar.moarvm:frame_name_831:97)
from nqp-src\NQPHLL.nqp:1070 (./NQPHLLMoar.moarvm:eval:86)
from nqp-src\NQPHLL.nqp:1276 (./NQPHLLMoar.moarvm:evalfiles:115)
from nqp-src\NQPHLL.nqp:1182 (./NQPHLLMoar.moarvm:command_eval:210)
from nqp-src\NQPHLL.nqp:1155 (./NQPHLLMoar.moarvm:command_line:129)
from nqp-src\NQP.nqp:3446 (nqp.moarvm:MAIN:23)
from nqp-src\NQP.nqp:3438 (nqp.moarvm:frame_name_0:292)
from <unknown>:1 (nqp.moarvm:frame_name_3780:6)
from <unknown>:1 (nqp.moarvm:frame_name_3778:6)
1..3
Dubious, test returned 1 (wstat 256, 0x100)
Failed 3/3 subtests
t\nqp\25-class.t ......................
1..10
ok 1
ok 2
ok 3 - using a lexical sub inside a method
ok 4 - using a outer lexical inside a method
ok 5 - the value of the lexical persisting
ok 6
ok 7
ok 8
ok 9
ok 10
ok
t\nqp\26-methodops.t ..................
1..5
ok 1 # method calls work
ok 2 # regular subs aren't confused with methods
ok 3 # argument-less method calls work
ok 4 # string method calls work
ok 5 # colonpair named method call work
ok
t\nqp\27-self.t .......................
1..5
ok 1 - Can access self within method
ok 2 - Can access self within sub-block
ok 3 - Can access self within method with signature
ok 4 - Can access attribute within lexical block
ok 5 - Can access attribute within lexical block
ok
t\nqp\28-subclass.t ...................
1..6
ok 1
ok 2
ok 3
ok 4
ok 5
ok 6
ok
t\nqp\29-make.t .......................
1..2
ok 1
ok 2
ok
t\nqp\31-grammar.t ....................
1..6
ok 1 - parse method works on negative match
ok 2 - failed match has 0 .chars
ok 3 - parse method works on positive match
ok 4 - captured $<integer>
ok 5 - parse method works with :rule
ok 6 - captured $<int-num>
ok
t\nqp\32-protoregex.t .................
1..7
ok 1 - successfully matched grammar
ok 2 - successful string match
ok 3 - successful protoregex match
ok 4 - correct proto candidate match
ok 5 - successfully matched grammar
ok 6 - successfully failed protoregex match
ok 7 - successfully failed protoregex match
ok
t\nqp\33-init.t .......................
1..4
ok 1 - first INIT
ok 2 - after first INIT but before mainline
ok 3 - after second INIT block
ok 4 - After everything else
ok
t\nqp\34-rxcodeblock.t ................
1..12
ok 1 - basic code assertion
ok 2 - match in assertion
ok 3 - passes assertion, match after
ok 4 - fails assertion
ok 5 - passes assertion, match after
ok 6 - fails assertion
ok 7 - fails regex after passing assertion
ok 8 - fails assertion
ok 9 - passes assertion, text after
ok 10 - fails assertion
ok 11 - passes assertion, fails text after
ok 12 - passes assertion, text after
ok
t\nqp\35-prefix-sigil.t ...............
1..1
ok 1
ok
t\nqp\36-callable.t ...................
1..1
ok 1 - works
ok
t\nqp\37-slurpy.t .....................
1..6
ok 1
ok 2
ok 3
ok 4
ok 5
ok 6
ok
t\nqp\38-quotes.t .....................
1..7
ok 1 - basic scalar interpolation
ok 2 - basic qq{} interpolation
ok 3 - basic closure interpolation
ok 4 - basic qq{} closure interpolation
ok 5 - spaces around individual element stripped
ok 6 - angle quotes correctly produce list
ok 7 - empty angle quotes correctly produce list
ok
t\nqp\39-pointy.t .....................
1..7
ok 1 - basic pointy block
ok 2 - pointy block with optional
ok 3 - pointy block with optional + arg
ok 4 - pointy4
ok 5 - pointy5
ok 6 - pointy6
ok 7 - argumentless pointy parses ok
ok
t\nqp\40-lists.t ......................
1..18
ok 1 - basic parens
ok 2 - paren list
ok 3 - paren list elems
ok 4 - paren comma
ok 5 - paren comma
ok 6 - empty parens
ok 7 - paren list elems
ok 8 - brackets of one elem
ok 9 - brackets of one elem
ok 10 - brackets of 3 elems
ok 11 - brackets of 3 elems
ok 12 - brackets of 0 elems
ok 13 - brackets of 0 elems
ok 14 - empty braces
ok 15 - non-empty braces
ok 16 - brackets as single argument #1
ok 17 - brackets as single argument #2
ok 18 - brackets as single argument #3
ok
t\nqp\41-flat.t .......................
1..6
ok 1 - first argument
ok 2 - second argument
ok 3 - third argument
ok 4 - first named argument
ok 5 - second named argument
ok 6 - third named argument
ok
t\nqp\42-cond-loop.t ..................
1..11
ok 1 - true if + while
ok 2 - false if + while
ok 3 - true if + until
ok 4 - false if + until
ok 5 - true unless + while
ok 6 - false unless + while
ok 7 - true if + until
ok 8 - false if + until
ok 9 - correct parse
ok 10 - while still works
ok 11 - for
ok
t\nqp\43-package-var.t ................
1..4
ok 1 - $GLOBAL::var works
ok 2 - $ABC::def works
ok 3 - @XYZ::ghi works
ok 4 - contextual in GLOBAL works
ok
t\nqp\44-try-catch.t .................. No registered operation handler for 'rethrow'
compile_opNo subtests run
t\nqp\45-smartmatch.t .................
1..10
ok 1 - simple smart match
ok 2 - match has correct .from
ok 3 - match has correct .to
ok 4 - match has correct string value
ok 5 - 'regex' form doesn't do :c-like scanning
ok 6 - simple smart match, scanning form
ok 7 - match has correct .from
ok 8 - match has correct .to
ok 9 - match has correct string value
ok 10 - successfully match empty string (TT #1376)
ok
t\nqp\46-charspec.t ...................
1..4
ok 1 - \c###
ok 2 - \c[##,##,##]
ok 3 - \c[name,name]
ok 4 - \e
ok
t\nqp\47-loop-control.t ...............
1..3
ok 1 - last works in while
ok 2 - next works in while
ok 3 - redo works in while
ok
t\nqp\48-closure.t ....................
1..2
ok 1 - second closure correct
ok 2 - first closure correct
ok
t\nqp\49-regex-interpolation.t ........ Dubious, test returned 5 (wstat 1280, 0x500)
No subtests run
t\nqp\50-regex.t ......................
1..7
ok 1 - Can parse "a" with <alpha> and :p(0)
ok 2 - Can parse "a" with <alpha> :p(off-range)
ok 3 - Can parse "a" with <alpha> :c(off-range)
ok 4 - Can parse "a" with <alpha> :p(far-off-range)
ok 5 - :i works with literals
ok 6 - :i works with single-quoted literals
ok 7 - :i works with double-quoted literals
ok
t\nqp\51-multi.t ......................
1..4
ok 1
ok 2
ok 3
ok 4
ok
t\nqp\53-knowhow.t ....................
1..12
ok 1 - method calls on knowhow type object
ok 2 - method calls on knowhow instance
ok 3 - attributes on knowhow instance
ok 4 - getting the name using the HOW works correctly
ok 5 - we can get the attributes
ok 6 - created attribute has correct name
ok 7 - lol method exists in Foo.HOW.methods
ok 8 - new method exists in Foo.HOW.methods
ok 9 - set_bbq method exists in Foo.HOW.methods
ok 10 - get_bbq method exists in Foo.HOW.methods
ok 11 - argh doesn't exist in Foo.HOW.methods
ok 12 - different knowhows have seperate method sets
ok
t\nqp\55-multi-method.t ...............
1..4
ok 1
ok 2
ok 3
ok 4
ok
t\nqp\56-role.t ....................... Cannot locate an outer frame for the call
at nqp-src\NQP.nqp:251 (nqp.moarvm::137)
from nqp-src\nqp-mo.pm:569 (./nqp-mo.moarvm:specialize:29)
from nqp-src\nqp-mo.pm:847 (./nqp-mo.moarvm:frame_name_288:16)
from nqp-src\nqp-mo.pm:851 (./nqp-mo.moarvm:frame_name_286:17)
from nqp-src\nqp-mo.pm:856 (./nqp-mo.moarvm:compose:16)
from nqp-src\NQP.nqp:442 (nqp.moarvm:pkg_compose:15)
from nqp-src\NQP.nqp:2292 (nqp.moarvm:package_def:335)
from nqp-src\QRegex.nqp:669 (./QRegexMoar.moarvm:!reduce:40)
from nqp-src\QRegex.nqp:633 (./QRegexMoar.moarvm:!cursor_pass:64)
from nqp-src\NQP.nqp:1012 (nqp.moarvm:package_def:1274)
from nqp-src\NQP.nqp:977 (nqp.moarvm:package_declarator:sym<class>:143)
from nqp-src\QRegex.nqp:702 (./QRegexMoar.moarvm:!protoregex:125)
from <unknown>:1 (nqp.moarvm:package_declarator:8)
from <unknown>:1 (nqp.moarvm:term:sym<package_declarator>:63)
from nqp-src\QRegex.nqp:702 (./QRegexMoar.moarvm:!protoregex:125)
from <unknown>:1 (./NQPHLLMoar.moarvm:term:8)
from <unknown>:1 (./NQPHLLMoar.moarvm:termish:165)
from nqp-src\NQPHLL.nqp:432 (./NQPHLLMoar.moarvm:EXPR:125)
from <unknown>:1 (nqp.moarvm:statement:131)
from <unknown>:1 (nqp.moarvm:statementlist:135)
from nqp-src\NQP.nqp:768 (nqp.moarvm:comp_unit:298)
from nqp-src\NQP.nqp:664 (nqp.moarvm:TOP:434)
from nqp-src\QRegex.nqp:1196 (./QRegexMoar.moarvm:parse:62)
from nqp-src\NQPHLL.nqp:1363 (./NQPHLLMoar.moarvm:parse:122)
from nqp-src\NQPHLL.nqp:1319 (./NQPHLLMoar.moarvm:frame_name_968:62)
from nqp-src\NQPHLL.nqp:1341 (./NQPHLLMoar.moarvm:compile:183)
from nqp-src\NQPHLL.nqp:1070 (./NQPHLLMoar.moarvm:eval:52)
from nqp-src\NQPHLL.nqp:1276 (./NQPHLLMoar.moarvm:evalfiles:115)
from nqp-src\NQPHLL.nqp:1182 (./NQPHLLMoar.moarvm:command_eval:210)
from nqp-src\NQPHLL.nqp:1155 (./NQPHLLMoar.moarvm:command_line:129)
from nqp-src\NQP.nqp:3446 (nqp.moarvm:MAIN:23)
from nqp-src\NQP.nqp:3438 (nqp.moarvm:frame_name_0:292)
from <unknown>:1 (nqp.moarvm:frame_name_3780:6)
from <unknown>:1 (nqp.moarvm:frame_name_3778:6)
Dubious, test returned 1 (wstat 256, 0x100)
No subtests run
t\nqp\57-construction.t ...............
1..2
ok 1 - .new() initializes child class attribute
ok 2 - .new() initializes parent class attribute
ok
t\nqp\58-attrs.t ......................
1..2
ok 1 - attributes work
ok 2 - ... and are not shared among objects
ok
t\nqp\59-nqpop.t ...................... Use of undeclared variable '$list' at line 120, near ", 2) eq 'b"
panicNo subtests run
t\nqp\60-bigint.t ..................... Dubious, test returned 5 (wstat 1280, 0x500)
No subtests run
t\nqp\61-mixin.t ......................
1..6
ok 1 - sanity (1)
ok 2 - sanity (2)
ok 3 - role method mxied in
ok 4 - attributes from role work properly
ok 5 - mixed in method overrides original one
ok 6 - mixing in is per object
ok
t\nqp\62-subst.t ......................
1..7
ok 1 - We can use subst
ok 2 - .. withouth side effect
ok 3 - We can use subst to replace all matches
ok 4 - We can have a closure as replacement
ok 5 - .. and $i updated
ok 6 - Non-existing string doesn't clobber string
ok 7 - Non-existing string doesn't clobber string globally
ok
t\nqp\63-slurp.t ......................
1..1
ok 1 - File slurped
ok
t\nqp\64-native.t .....................
1..4
ok 1 - native int initialized to 0
ok 2 - can set native int
ok 3 - can access native ints from nested scopes
ok 4 - can add native ints to each other
ok
t\nqp\65-how.t ........................
1..10
ok 1 - we can get an attribute
ok 2 - we only get local attributes
ok 3 - we get all attributes
ok 4 - we can skip :local
ok 5 - attributes are NQPAttributes
ok 6 - the right numer of attributes after adding
ok 7 - we can add an attribute
ok 8
ok 9 - right number of local parents
ok 10 - we can get the name of a parent
ok
t\nqp\66-pararole.t ...................
1..6
ok 1 - mixin of parametric role with first arg
ok 2 - mixin of parametric role with second arg
ok 3 - parametric method name handling works (1)
ok 4 - parametric method name handling works (2)
ok 5 - parametric mixin/grammar/LTM interaction (sanity)
ok 6 - parametric mixin/grammar/LTM interaction
ok
t\nqp\67-container.t ..................
1..5
ok 1 - correct result from iscont
ok 2 - initial decontainerization OK
ok 3 - assigned value stuck
ok 4 - updated captured value also
ok 5 - assignunchecked value stuck
ok
t\nqp\68-associative-for.t ............
1..10
ok 1 - correct value for key a - lowlevel way
ok 2 - correct value for key a
ok 3 - correct value for key b - lowlevel way
ok 4 - correct value for key b
ok 5 - correct value for key 1 - lowlevel way
ok 6 - correct value for key 1
ok 7 - correct value for key 4 - lowlevel way
ok 8 - correct value for key 4
ok 9 - we iterate over the correct keys
ok 10 - we iterate the correct number of times
ok
t\nqp\69-js-keywords-as-identifier.t .. Dubious, test returned 5 (wstat 1280, 0x500)
No subtests run
t\nqp\70-invokespec.t .................
1..2
ok 1 - basic setinvokespec
ok 2 - setinvokespec with a attribute in a subclass
ok
t\nqp\71-setboolspec.t ................
1..3
ok 1
ok 2
ok 3
ok
t\nqp\72-rolehow.t ....................
1..12
ok 1 - Foo has only one method
ok 2
ok 3 - the role name is part of the generated class name
ok 4 - the generated class has only one parent
ok 5 - ...and it's the correct one
ok 6 - the generated class does only one role
ok 7 - ...and it's the correct one
ok 8
ok 9 - we can use non overriden methods
ok 10 - new methods are inserted
ok 11 - we can apply two roles to one object
ok 12 - both role names are part of the generated class name
ok
t\nqp\73-delegation.t .................
1..10
ok 1 - getting and setting element 0
ok 2 - getting and setting element 1
ok 3 - associative access is seperate
ok 4 - assosiative storage takes strings as keys
ok 5 - positional are stored in the attribute
ok 6 - associatives are stored in the attribute
ok 7 - positional_delegate is set correctly
ok 8 - positional_delegate is not set incorrectly
ok 9 - associative_delegate is not set incorrectly
ok 10 - associative_delegate is set correctly
ok
t\nqp\74-nfa.t ........................
1..7
ok 1 - nfafromstatelist creates an object of the right type
ok 2 - an empty nfa matches no fates
ok 3 - we can match a simple string
ok 4 - ...and we get the right fate
ok 5 - we don't match what we shouldn't
ok 6 - we match at the right position
ok 7 - ...and we get the right fate
ok
t\nqp\75-curcode.t ....................
1..3
ok 1
ok 2 - nqp::getcodeobj works on result of nqp::curcode
ok 3 - nqp::setcodeobj works on result of nqp::curcode
ok
t\nqp\76-capture.t ....................
1..4
ok 1 - nqp::captureposelems on result of usecapture
ok 2 - nqp::captureposarg on result of usecapture
ok 3 - the capture returned by nqp::savecapture survives the next call to savecapture
ok 4 - nqp::invokewithcapture
ok
t\nqp\77-curlexpad.t ..................
1..3
ok 1 - accessing a variable using nqp::curlexpad()
ok 2 - accessing a different variable using nqp::curlexpad()
ok 3 - accessing a variable using nqp::curlexpad outside of that sub
ok
t\nqp\78-shell.t ...................... Dubious, test returned 5 (wstat 1280, 0x500)
No subtests run
t\nqp\79-callercode.t .................
1..5
ok 1 - nqp::callercode returns the correct sub
ok 2 - nqp::getcodeobj works on result of nqp::callercode
ok 3 - nqp::setcodeobj works on result of nqp::callercode
ok 4 - nqp::callercode work for methods
ok 5 - the attribute has the correct value
ok
t\nqp\80-matches.t ....................
1..10
ok 1 - simple match
ok 2 - correct numbered capture
ok 3 - the named capture is named correctly
ok 4 - ...and it contains the right things
ok 5 - .from works
ok 6 - .to works
ok 7 - .orig works
ok 8 - .chars works
ok 9 - ."!dump_str" works correctly
ok 10 - .dump works correctly
ok
Test Summary Report
-------------------
t\nqp\19-file-ops.t (Wstat: 1280 Tests: 0 Failed: 0)
Non-zero exit status: 5
Parse errors: No plan found in TAP output
t\nqp\24-module.t (Wstat: 256 Tests: 0 Failed: 0)
Non-zero exit status: 1
Parse errors: Bad plan. You planned 3 tests but ran 0.
t\nqp\44-try-catch.t (Wstat: 0 Tests: 0 Failed: 0)
Parse errors: No plan found in TAP output
t\nqp\49-regex-interpolation.t (Wstat: 1280 Tests: 0 Failed: 0)
Non-zero exit status: 5
Parse errors: No plan found in TAP output
t\nqp\56-role.t (Wstat: 256 Tests: 0 Failed: 0)
Non-zero exit status: 1
Parse errors: No plan found in TAP output
t\nqp\59-nqpop.t (Wstat: 0 Tests: 0 Failed: 0)
Parse errors: No plan found in TAP output
t\nqp\60-bigint.t (Wstat: 1280 Tests: 0 Failed: 0)
Non-zero exit status: 5
Parse errors: No plan found in TAP output
t\nqp\69-js-keywords-as-identifier.t (Wstat: 1280 Tests: 0 Failed: 0)
Non-zero exit status: 5
Parse errors: No plan found in TAP output
t\nqp\78-shell.t (Wstat: 1280 Tests: 0 Failed: 0)
Non-zero exit status: 5
Parse errors: No plan found in TAP output
Files=77, Tests=485, 20 wallclock secs ( 0.36 usr + 0.16 sys = 0.52 CPU)
Result: FAIL
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment