Skip to content

Instantly share code, notes, and snippets.

@atoomic
Created August 16, 2018 14:28
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 atoomic/368d44b838a034bbe8a4fec7210c0219 to your computer and use it in GitHub Desktop.
Save atoomic/368d44b838a034bbe8a4fec7210c0219 to your computer and use it in GitHub Desktop.
testml - make test failure on macOS
Test Summary Report
-------------------
test/050-object-type.tml (Wstat: 0 Tests: 9 Failed: 1)
Failed test: 9
Parse errors: No plan found in TAP output
test/090-catch-error.tml (Wstat: 0 Tests: 0 Failed: 0)
Parse errors: No plan found in TAP output
test/110-stdlib-tests.tml (Wstat: 0 Tests: 13 Failed: 0)
Parse errors: No plan found in TAP output
Files=18, Tests=114, 12 wallclock secs ( 0.09 usr 0.04 sys + 9.43 cusr 1.81 csys = 11.37 CPU)
Result: FAIL
make[1]: *** [test-tap] Error 1
make: *** [test-runtime-perl6] Error 2
===== Full output
> make test
make -C src/coffee test j=1
make -C ../.. src/node_modules
git branch --track node_modules origin/node_modules 2>/dev/null || true
Branch 'node_modules' set up to track remote branch 'node_modules' from 'origin'.
git worktree add -f src/node_modules node_modules
Preparing src/node_modules (identifier node_modules)
HEAD is now at 7d5b655 Refactor to new repo layout
TESTML_RUN=coffee-tap prove -v -j1 test/*.tml
test/010-math.tml ....................
ok 1 - Test 1
ok 2 - Test 2
ok 3 - Test 1
ok 4 - Test 2
ok 5 - Test 1
ok 6 - Test 2
ok 7 - Test 1
ok 8 - Test 2
1..8
ok
test/020-pick-exclude.tml ............
ok 1 - Test 2
1..1
ok
test/030-assertion-label.tml .........
ok 1 - Test 1 -- 1 + 2 == 3
ok 2 - Test 2 -- 4 + 5 == 9
ok 3 - Test 1 -- 1 + 2 == 3
ok 4 - Test 2 -- 4 + 5 == 9
ok 5 - Test 1 -- 1 + 2 == 3
ok 6 - Test 2 -- 4 + 5 == 9
ok 7 - Test 1 -- 1 + 2 == 3
ok 8 - Test 2 -- 4 + 5 == 9
ok 9 - Test 1 -- 1 + 2 == 3
ok 10 - Test 2 -- 4 + 5 == 9
1..10
ok
test/040-multiline-point.tml .........
ok 1 - Test 1
1..1
ok
test/050-object-type.tml .............
ok 1 - Type is string
ok 2 - Type is number
ok 3 - Type is regex
ok 4 - Type is bool
ok 5 - Type is null
ok 6 - Type is list
ok 7 - Type is hash
ok 8 - Type is error
ok 9 - Type is error
ok 10 - Type is func
ok 11 - Type is none
ok 12 - Type is none
ok 13 - Type is native
1..13
ok
test/060-standard-lib.tml ............
ok 1 - Count a list point - Test 1
ok 2 - Count a list point - Test 2
ok 3 - Count a literal list
ok 4 - Join a list of lines into a Text string
ok 5 - Split a text into lines then join back to text
ok 6 - Empty list turns into empty Text string
ok 7 - 3 elements in '[foo,bar,baz]'
ok 8 - Join list '[foo,bar,baz]' into string 'foo+bar+baz'
1..8
ok
test/070-polymorphic-assertions.tml ..
ok 1 - str == str
ok 2 - num == num
ok 3 - bool == bool
ok 4 - Test 1: 'I see pie␤I see me␤I see you␤' =~ /I see/ -- string matches regex
ok 5 - Test 2: 'I see pie␤I see me␤I see you␤' =~ /I/
ok 6 - Test 2: 'I see pie␤I see me␤I see you␤' =~ /see/
ok 7 - Test 3: 'I see pie' =~ /I see/
ok 8 - Test 3: 'I see me' =~ /I see/
ok 9 - Test 3: 'I see you' =~ /I see/
ok 10 - Test 4: 'I see pie' =~ /I/
ok 11 - Test 4: 'I see pie' =~ /see/
ok 12 - Test 4: 'I see me' =~ /I/
ok 13 - Test 4: 'I see me' =~ /see/
ok 14 - Test 4: 'I see you' =~ /I/
ok 15 - Test 4: 'I see you' =~ /see/
ok 16 - Test 5: 'I see pie␤I see me␤I see you␤' ~~ 'pie␤I see' -- string has substring
ok 17 - Test 6: 'I see pie␤I see me␤I see you␤' ~~ 'pie'
ok 18 - Test 6: 'I see pie␤I see me␤I see you␤' ~~ 'you'
ok 19 - Test 7: '[I see pie,I see me,I see you]' ~~ 'I see me' -- list has string in it
ok 20 - Test 8: '[I see pie,I see me,I see you]' ~~ 'I see me'
ok 21 - Test 8: '[I see pie,I see me,I see you]' ~~ 'I see pie'
1..21
ok
test/080-hash-lookup.tml .............
ok 1 - Test 1 Hash lookup with static key
ok 2 - Use hash in bridge function
ok 3 - Env var hash lookup
1..3
ok
test/090-catch-error.tml .............
ok 1 - Throw an Error and Catch it
ok 2 - Throw an Error and Catch it
1..2
ok
test/100-operator-tests.tml ..........
ok 1 - 'food' matches /foo/
ok 2 - 'fool' matches /foo/
ok 3 - 'foot' matches /foo/
ok 4 - ||= works
ok 5 - ||= works when value is 0
ok 6 - ||= works after resetting to null
1..6
ok
test/110-stdlib-tests.tml ............
ok 1 - ArgV returns a list
ok 2 - Block() returns current block
ok 3 - Block() returns current block
ok 4 - Block(label) finds correct block
ok 5 - Blocks returns a list of all blocks
ok 6 - Bool(0) is true
ok 7 - Bool(Null) is false
ok 8 - Bool('') is true
ok 9 - Bool(False) is false
ok 10 - Cat joins many strings
ok 11 - Cat joins list of strings
ok 12 - Count returns size of a list
ok 13 - Error returns error object
ok 14 - Throw throws error caught by Catch
ok 15 - Error contains a msg
ok 16 - ***TODO*** StdLib.import not yet written!!!
1..16
ok
test/120-function-loop.tml ...........
ok 1 - Test 1
ok 2 - Test 1
ok 3 - Test 1
ok 4 - Test 1
ok 5 - Test 2
ok 6 - Test 2
ok 7 - Test 2
ok 8 - Test 2
1..8
ok
test/130-function-assignment.tml .....
ok 1 - Test 1
ok 2 - Test 1
ok 3 - Test 1
ok 4 - Test 1
ok 5 - Test 2
ok 6 - Test 2
ok 7 - Test 2
ok 8 - Test 2
1..8
ok
test/140-pick-func-call.tml ..........
ok 1 - Test 2 - 444 + 555 == 999
ok 2 - Test 2 - 999 - 444 == 555
1..2
ok
test/150-call-func-with-args.tml .....
ok 1 - Test user defined function call
ok 2 - Test user defined function call
ok 3 - Test user defined function call
ok 4 - Call an ononymous user defined function
ok 5 - Call a function with variables
ok 6 - TODO
1..6
ok
test/160-plan.tml ....................
1..3
ok 1
ok 2
ok 3
ok
test/170-block-access.tml ............
ok 1 - Access block labels
ok 2 - Access block labels
ok 3 - Test user defined area
ok 4 - Access block labels
ok 5 - Access block labels
ok 6 - Access a block point value
1..6
ok
test/180-interpolation.tml ...........
ok 1 - Test interpolation for 'Hello, world'
1..1
ok
All tests successful.
Files=18, Tests=123, 16 wallclock secs ( 0.08 usr 0.05 sys + 14.11 cusr 1.80 csys = 16.04 CPU)
Result: PASS
make -C src/node test j=1
mkdir -p lib/testml/run
coffee -cp ../coffee/lib/testml/index.coffee > lib/testml/index.js
coffee -cp ../coffee/lib/testml/bridge.coffee > lib/testml/bridge.js
coffee -cp ../coffee/lib/testml/run.coffee > lib/testml/run.js
coffee -cp ../coffee/lib/testml/stdlib.coffee > lib/testml/stdlib.js
coffee -cp ../coffee/lib/testml/run/mocha.coffee > lib/testml/run/mocha.js
coffee -cp ../coffee/lib/testml/run/tap.coffee > lib/testml/run/tap.js
TESTML_RUN=node-tap prove -v -j1 test/*.tml
test/010-math.tml ....................
ok 1 - Test 1
ok 2 - Test 2
ok 3 - Test 1
ok 4 - Test 2
ok 5 - Test 1
ok 6 - Test 2
ok 7 - Test 1
ok 8 - Test 2
1..8
ok
test/020-pick-exclude.tml ............
ok 1 - Test 2
1..1
ok
test/030-assertion-label.tml .........
ok 1 - Test 1 -- 1 + 2 == 3
ok 2 - Test 2 -- 4 + 5 == 9
ok 3 - Test 1 -- 1 + 2 == 3
ok 4 - Test 2 -- 4 + 5 == 9
ok 5 - Test 1 -- 1 + 2 == 3
ok 6 - Test 2 -- 4 + 5 == 9
ok 7 - Test 1 -- 1 + 2 == 3
ok 8 - Test 2 -- 4 + 5 == 9
ok 9 - Test 1 -- 1 + 2 == 3
ok 10 - Test 2 -- 4 + 5 == 9
1..10
ok
test/040-multiline-point.tml .........
ok 1 - Test 1
1..1
ok
test/050-object-type.tml .............
ok 1 - Type is string
ok 2 - Type is number
ok 3 - Type is regex
ok 4 - Type is bool
ok 5 - Type is null
ok 6 - Type is list
ok 7 - Type is hash
ok 8 - Type is error
ok 9 - Type is error
ok 10 - Type is func
ok 11 - Type is none
ok 12 - Type is none
ok 13 - Type is native
1..13
ok
test/060-standard-lib.tml ............
ok 1 - Count a list point - Test 1
ok 2 - Count a list point - Test 2
ok 3 - Count a literal list
ok 4 - Join a list of lines into a Text string
ok 5 - Split a text into lines then join back to text
ok 6 - Empty list turns into empty Text string
ok 7 - 3 elements in '[foo,bar,baz]'
ok 8 - Join list '[foo,bar,baz]' into string 'foo+bar+baz'
1..8
ok
test/070-polymorphic-assertions.tml ..
ok 1 - str == str
ok 2 - num == num
ok 3 - bool == bool
ok 4 - Test 1: 'I see pie␤I see me␤I see you␤' =~ /I see/ -- string matches regex
ok 5 - Test 2: 'I see pie␤I see me␤I see you␤' =~ /I/
ok 6 - Test 2: 'I see pie␤I see me␤I see you␤' =~ /see/
ok 7 - Test 3: 'I see pie' =~ /I see/
ok 8 - Test 3: 'I see me' =~ /I see/
ok 9 - Test 3: 'I see you' =~ /I see/
ok 10 - Test 4: 'I see pie' =~ /I/
ok 11 - Test 4: 'I see pie' =~ /see/
ok 12 - Test 4: 'I see me' =~ /I/
ok 13 - Test 4: 'I see me' =~ /see/
ok 14 - Test 4: 'I see you' =~ /I/
ok 15 - Test 4: 'I see you' =~ /see/
ok 16 - Test 5: 'I see pie␤I see me␤I see you␤' ~~ 'pie␤I see' -- string has substring
ok 17 - Test 6: 'I see pie␤I see me␤I see you␤' ~~ 'pie'
ok 18 - Test 6: 'I see pie␤I see me␤I see you␤' ~~ 'you'
ok 19 - Test 7: '[I see pie,I see me,I see you]' ~~ 'I see me' -- list has string in it
ok 20 - Test 8: '[I see pie,I see me,I see you]' ~~ 'I see me'
ok 21 - Test 8: '[I see pie,I see me,I see you]' ~~ 'I see pie'
1..21
ok
test/080-hash-lookup.tml .............
ok 1 - Test 1 Hash lookup with static key
ok 2 - Use hash in bridge function
ok 3 - Env var hash lookup
1..3
ok
test/090-catch-error.tml .............
ok 1 - Throw an Error and Catch it
ok 2 - Throw an Error and Catch it
1..2
ok
test/100-operator-tests.tml ..........
ok 1 - 'food' matches /foo/
ok 2 - 'fool' matches /foo/
ok 3 - 'foot' matches /foo/
ok 4 - ||= works
ok 5 - ||= works when value is 0
ok 6 - ||= works after resetting to null
1..6
ok
test/110-stdlib-tests.tml ............
ok 1 - ArgV returns a list
ok 2 - Block() returns current block
ok 3 - Block() returns current block
ok 4 - Block(label) finds correct block
ok 5 - Blocks returns a list of all blocks
ok 6 - Bool(0) is true
ok 7 - Bool(Null) is false
ok 8 - Bool('') is true
ok 9 - Bool(False) is false
ok 10 - Cat joins many strings
ok 11 - Cat joins list of strings
ok 12 - Count returns size of a list
ok 13 - Error returns error object
ok 14 - Throw throws error caught by Catch
ok 15 - Error contains a msg
ok 16 - ***TODO*** StdLib.import not yet written!!!
1..16
ok
test/120-function-loop.tml ...........
ok 1 - Test 1
ok 2 - Test 1
ok 3 - Test 1
ok 4 - Test 1
ok 5 - Test 2
ok 6 - Test 2
ok 7 - Test 2
ok 8 - Test 2
1..8
ok
test/130-function-assignment.tml .....
ok 1 - Test 1
ok 2 - Test 1
ok 3 - Test 1
ok 4 - Test 1
ok 5 - Test 2
ok 6 - Test 2
ok 7 - Test 2
ok 8 - Test 2
1..8
ok
test/140-pick-func-call.tml ..........
ok 1 - Test 2 - 444 + 555 == 999
ok 2 - Test 2 - 999 - 444 == 555
1..2
ok
test/150-call-func-with-args.tml .....
ok 1 - Test user defined function call
ok 2 - Test user defined function call
ok 3 - Test user defined function call
ok 4 - Call an ononymous user defined function
ok 5 - Call a function with variables
ok 6 - TODO
1..6
ok
test/160-plan.tml ....................
1..3
ok 1
ok 2
ok 3
ok
test/170-block-access.tml ............
ok 1 - Access block labels
ok 2 - Access block labels
ok 3 - Test user defined area
ok 4 - Access block labels
ok 5 - Access block labels
ok 6 - Access a block point value
1..6
ok
test/180-interpolation.tml ...........
ok 1 - Test interpolation for 'Hello, world'
1..1
ok
All tests successful.
Files=18, Tests=123, 3 wallclock secs ( 0.06 usr 0.04 sys + 1.93 cusr 0.93 csys = 2.96 CPU)
Result: PASS
make -C src/perl5 test j=1
TESTML_RUN=perl5-tap prove -v -j1 test/*.tml
test/010-math.tml ....................
ok 1 - Test 1
ok 2 - Test 2
ok 3 - Test 1
ok 4 - Test 2
ok 5 - Test 1
ok 6 - Test 2
ok 7 - Test 1
ok 8 - Test 2
1..8
ok
test/020-pick-exclude.tml ............
ok 1 - Test 2
1..1
ok
test/030-assertion-label.tml .........
ok 1 - Test 1 -- 1 + 2 == 3
ok 2 - Test 2 -- 4 + 5 == 9
ok 3 - Test 1 -- 1 + 2 == 3
ok 4 - Test 2 -- 4 + 5 == 9
ok 5 - Test 1 -- 1 + 2 == 3
ok 6 - Test 2 -- 4 + 5 == 9
ok 7 - Test 1 -- 1 + 2 == 3
ok 8 - Test 2 -- 4 + 5 == 9
ok 9 - Test 1 -- 1 + 2 == 3
ok 10 - Test 2 -- 4 + 5 == 9
1..10
ok
test/040-multiline-point.tml .........
ok 1 - Test 1
1..1
ok
test/050-object-type.tml .............
ok 1 - Type is string
ok 2 - Type is number
ok 3 - Type is regex
ok 4 - Type is bool
ok 5 - Type is null
ok 6 - Type is list
ok 7 - Type is hash
ok 8 - Type is error
ok 9 - Type is error
ok 10 - Type is func
ok 11 - Type is none
ok 12 - Type is none
ok 13 - Type is native
1..13
ok
test/060-standard-lib.tml ............
ok 1 - Count a list point - Test 1
ok 2 - Count a list point - Test 2
ok 3 - Count a literal list
ok 4 - Join a list of lines into a Text string
ok 5 - Split a text into lines then join back to text
ok 6 - Empty list turns into empty Text string
ok 7 - 3 elements in '["foo","bar","baz"]'
ok 8 - Join list '["foo","bar","baz"]' into string 'foo+bar+baz'
1..8
ok
test/070-polymorphic-assertions.tml ..
ok 1 - str == str
ok 2 - num == num
ok 3 - bool == bool
ok 4 - Test 1: 'I see pie␤I see me␤I see you␤' =~ /I see/ -- string matches regex
ok 5 - Test 2: 'I see pie␤I see me␤I see you␤' =~ /I/
ok 6 - Test 2: 'I see pie␤I see me␤I see you␤' =~ /see/
ok 7 - Test 3: 'I see pie' =~ /I see/
ok 8 - Test 3: 'I see me' =~ /I see/
ok 9 - Test 3: 'I see you' =~ /I see/
ok 10 - Test 4: 'I see pie' =~ /I/
ok 11 - Test 4: 'I see pie' =~ /see/
ok 12 - Test 4: 'I see me' =~ /I/
ok 13 - Test 4: 'I see me' =~ /see/
ok 14 - Test 4: 'I see you' =~ /I/
ok 15 - Test 4: 'I see you' =~ /see/
ok 16 - Test 5: 'I see pie␤I see me␤I see you␤' ~~ 'pie␤I see' -- string has substring
ok 17 - Test 6: 'I see pie␤I see me␤I see you␤' ~~ 'pie'
ok 18 - Test 6: 'I see pie␤I see me␤I see you␤' ~~ 'you'
ok 19 - Test 7: '["I see pie","I see me","I see you"]' ~~ 'I see me' -- list has string in it
ok 20 - Test 8: '["I see pie","I see me","I see you"]' ~~ 'I see me'
ok 21 - Test 8: '["I see pie","I see me","I see you"]' ~~ 'I see pie'
1..21
ok
test/080-hash-lookup.tml .............
ok 1 - Test 1 Hash lookup with static key
ok 2 - Use hash in bridge function
ok 3 - Env var hash lookup
1..3
ok
test/090-catch-error.tml .............
ok 1 - Throw an Error and Catch it
ok 2 - Throw an Error and Catch it
1..2
ok
test/100-operator-tests.tml ..........
ok 1 - 'food' matches /foo/
ok 2 - 'fool' matches /foo/
ok 3 - 'foot' matches /foo/
ok 4 - ||= works
ok 5 - ||= works when value is 0
ok 6 - ||= works after resetting to null
1..6
ok
test/110-stdlib-tests.tml ............
ok 1 - ArgV returns a list
ok 2 - Block() returns current block
ok 3 - Block() returns current block
ok 4 - Block(label) finds correct block
ok 5 - Blocks returns a list of all blocks
ok 6 - Bool(0) is true
ok 7 - Bool(Null) is false
ok 8 - Bool('') is true
ok 9 - Bool(False) is false
ok 10 - Cat joins many strings
ok 11 - Cat joins list of strings
ok 12 - Count returns size of a list
ok 13 - Error returns error object
ok 14 - Throw throws error caught by Catch
ok 15 - Error contains a msg
ok 16 - ***TODO*** StdLib.import not yet written!!!
1..16
ok
test/120-function-loop.tml ...........
ok 1 - Test 1
ok 2 - Test 1
ok 3 - Test 1
ok 4 - Test 1
ok 5 - Test 2
ok 6 - Test 2
ok 7 - Test 2
ok 8 - Test 2
1..8
ok
test/130-function-assignment.tml .....
ok 1 - Test 1
ok 2 - Test 1
ok 3 - Test 1
ok 4 - Test 1
ok 5 - Test 2
ok 6 - Test 2
ok 7 - Test 2
ok 8 - Test 2
1..8
ok
test/140-pick-func-call.tml ..........
ok 1 - Test 2 - 444 + 555 == 999
ok 2 - Test 2 - 999 - 444 == 555
1..2
ok
test/150-call-func-with-args.tml .....
ok 1 - Test user defined function call
ok 2 - Test user defined function call
ok 3 - Test user defined function call
ok 4 - Call an ononymous user defined function
ok 5 - Call a function with variables
ok 6 - TODO
1..6
ok
test/160-plan.tml ....................
1..3
ok 1
ok 2
ok 3
ok
test/170-block-access.tml ............
ok 1 - Access block labels
ok 2 - Access block labels
ok 3 - Test user defined area
ok 4 - Access block labels
ok 5 - Access block labels
ok 6 - Access a block point value
1..6
ok
test/180-interpolation.tml ...........
ok 1 - Test interpolation for 'Hello, world'
1..1
ok
All tests successful.
Files=18, Tests=123, 3 wallclock secs ( 0.07 usr 0.05 sys + 1.61 cusr 0.89 csys = 2.62 CPU)
Result: PASS
make -C src/perl6 test j=1
TESTML_RUN=perl6-tap prove -v -j1 test/*.tml
test/010-math.tml ....................
ok 1 - Test 1
ok 2 - Test 2
ok 3 - Test 1
ok 4 - Test 2
ok 5 - Test 1
ok 6 - Test 2
ok 7 - Test 1
ok 8 - Test 2
1..8
ok
test/020-pick-exclude.tml ............
ok 1 - Test 2
1..1
ok
test/030-assertion-label.tml .........
ok 1 - Test 1 -- 1 + 2 == 3
ok 2 - Test 2 -- 4 + 5 == 9
ok 3 - Test 1 -- 1 + 2 == 3
ok 4 - Test 2 -- 4 + 5 == 9
ok 5 - Test 1 -- 1 + 2 == 3
ok 6 - Test 2 -- 4 + 5 == 9
ok 7 - Test 1 -- 1 + 2 == 3
ok 8 - Test 2 -- 4 + 5 == 9
ok 9 - Test 1 -- 1 + 2 == 3
ok 10 - Test 2 -- 4 + 5 == 9
1..10
ok
test/040-multiline-point.tml .........
ok 1 - Test 1
1..1
ok
test/050-object-type.tml .............
ok 1 - Type is string
ok 2 - Type is number
ok 3 - Type is regex
ok 4 - Type is bool
ok 5 - Type is null
ok 6 - Type is list
ok 7 - Type is hash
ok 8 - Type is error
not ok 9 - Type is error
# Failed test 'Type is error'
Method 'diag' not found for invocant of class 'TestML::Run::TAP'
in method show-error at /Users/nicolas/workspace/github/testml/src/perl6/lib/TestML/Run/TAP.pm6 (TestML::Run::TAP) line 138
in method tap-is at /Users/nicolas/workspace/github/testml/src/perl6/lib/TestML/Run/TAP.pm6 (TestML::Run::TAP) line 104
in method testml-eq at /Users/nicolas/workspace/github/testml/src/perl6/lib/TestML/Run/TAP.pm6 (TestML::Run::TAP) line 32
in method assert-str-eq-str at /Users/nicolas/workspace/github/testml/src/perl6/lib/TestML/Run.pm6 (TestML::Run) line 215
in method assert-eq at /Users/nicolas/workspace/github/testml/src/perl6/lib/TestML/Run.pm6 (TestML::Run) line 211
in method exec-expr at /Users/nicolas/workspace/github/testml/src/perl6/lib/TestML/Run.pm6 (TestML::Run) line 124
in method test at /Users/nicolas/workspace/github/testml/src/perl6/lib/TestML/Run.pm6 (TestML::Run) line 102
in method run at /Users/nicolas/workspace/github/testml/src/perl6/lib/TestML/Run/TAP.pm6 (TestML::Run::TAP) line 8
in block <unit> at -e line 1
Failed 1/9 subtests
test/060-standard-lib.tml ............
ok 1 - Count a list point - Test 1
ok 2 - Count a list point - Test 2
ok 3 - Count a literal list
ok 4 - Join a list of lines into a Text string
ok 5 - Split a text into lines then join back to text
ok 6 - Empty list turns into empty Text string
ok 7 - 3 elements in '[ "foo", "bar", "baz" ]'
ok 8 - Join list '[ "foo", "bar", "baz" ]' into string 'foo+bar+baz'
1..8
ok
test/070-polymorphic-assertions.tml ..
ok 1 - str == str
ok 2 - num == num
ok 3 - bool == bool
ok 4 - Test 1: 'I see pie␤I see me␤I see you␤' =~ /I see/ -- string matches regex
ok 5 - Test 2: 'I see pie␤I see me␤I see you␤' =~ /I/
ok 6 - Test 2: 'I see pie␤I see me␤I see you␤' =~ /see/
ok 7 - Test 3: 'I see pie' =~ /I see/
ok 8 - Test 3: 'I see me' =~ /I see/
ok 9 - Test 3: 'I see you' =~ /I see/
ok 10 - Test 4: 'I see pie' =~ /I/
ok 11 - Test 4: 'I see pie' =~ /see/
ok 12 - Test 4: 'I see me' =~ /I/
ok 13 - Test 4: 'I see me' =~ /see/
ok 14 - Test 4: 'I see you' =~ /I/
ok 15 - Test 4: 'I see you' =~ /see/
ok 16 - Test 5: 'I see pie␤I see me␤I see you␤' ~~ 'pie␤I see' -- string has substring
ok 17 - Test 6: 'I see pie␤I see me␤I see you␤' ~~ 'pie'
ok 18 - Test 6: 'I see pie␤I see me␤I see you␤' ~~ 'you'
ok 19 - Test 7: '[ "I see pie", "I see me", "I see you" ]' ~~ 'I see me' -- list has string in it
ok 20 - Test 8: '[ "I see pie", "I see me", "I see you" ]' ~~ 'I see me'
ok 21 - Test 8: '[ "I see pie", "I see me", "I see you" ]' ~~ 'I see pie'
1..21
ok
test/080-hash-lookup.tml .............
ok 1 - Test 1 Hash lookup with static key
ok 2 - Use hash in bridge function
ok 3 - Env var hash lookup
1..3
ok
test/090-catch-error.tml ............. Uncaught Error: No such method 'msg' for invocant of type 'Any'
in method exec-dot at /Users/nicolas/workspace/github/testml/src/perl6/lib/TestML/Run.pm6 (TestML::Run) line 341
in method exec-expr at /Users/nicolas/workspace/github/testml/src/perl6/lib/TestML/Run.pm6 (TestML::Run) line 124
in method exec at /Users/nicolas/workspace/github/testml/src/perl6/lib/TestML/Run.pm6 (TestML::Run) line 111
in method assert-eq at /Users/nicolas/workspace/github/testml/src/perl6/lib/TestML/Run.pm6 (TestML::Run) line 208
in method exec-expr at /Users/nicolas/workspace/github/testml/src/perl6/lib/TestML/Run.pm6 (TestML::Run) line 124
in method test at /Users/nicolas/workspace/github/testml/src/perl6/lib/TestML/Run.pm6 (TestML::Run) line 102
in method run at /Users/nicolas/workspace/github/testml/src/perl6/lib/TestML/Run/TAP.pm6 (TestML::Run::TAP) line 8
in block <unit> at -e line 1
No subtests run
test/100-operator-tests.tml ..........
ok 1 - 'food' matches /foo/
ok 2 - 'fool' matches /foo/
ok 3 - 'foot' matches /foo/
ok 4 - ||= works
ok 5 - ||= works when value is 0
ok 6 - ||= works after resetting to null
1..6
ok
test/110-stdlib-tests.tml ............
ok 1 - ArgV returns a list
ok 2 - Block() returns current block
ok 3 - Block() returns current block
ok 4 - Block(label) finds correct block
ok 5 - Blocks returns a list of all blocks
ok 6 - Bool(0) is true
ok 7 - Bool(Null) is false
ok 8 - Bool('') is true
ok 9 - Bool(False) is false
ok 10 - Cat joins many strings
ok 11 - Cat joins list of strings
ok 12 - Count returns size of a list
ok 13 - Error returns error object
Uncaught Error: Can't find bridge function: 'err1'
in method exec-dot at /Users/nicolas/workspace/github/testml/src/perl6/lib/TestML/Run.pm6 (TestML::Run) line 341
in method exec-expr at /Users/nicolas/workspace/github/testml/src/perl6/lib/TestML/Run.pm6 (TestML::Run) line 124
in method exec at /Users/nicolas/workspace/github/testml/src/perl6/lib/TestML/Run.pm6 (TestML::Run) line 111
in method assert-eq at /Users/nicolas/workspace/github/testml/src/perl6/lib/TestML/Run.pm6 (TestML::Run) line 208
in method exec-expr at /Users/nicolas/workspace/github/testml/src/perl6/lib/TestML/Run.pm6 (TestML::Run) line 124
in method test at /Users/nicolas/workspace/github/testml/src/perl6/lib/TestML/Run.pm6 (TestML::Run) line 102
in method run at /Users/nicolas/workspace/github/testml/src/perl6/lib/TestML/Run/TAP.pm6 (TestML::Run::TAP) line 8
in block <unit> at -e line 1
All 13 subtests passed
test/120-function-loop.tml ...........
ok 1 - Test 1
ok 2 - Test 1
ok 3 - Test 1
ok 4 - Test 1
ok 5 - Test 2
ok 6 - Test 2
ok 7 - Test 2
ok 8 - Test 2
1..8
ok
test/130-function-assignment.tml .....
ok 1 - Test 1
ok 2 - Test 1
ok 3 - Test 1
ok 4 - Test 1
ok 5 - Test 2
ok 6 - Test 2
ok 7 - Test 2
ok 8 - Test 2
1..8
ok
test/140-pick-func-call.tml ..........
ok 1 - Test 2 - 444 + 555 == 999
ok 2 - Test 2 - 999 - 444 == 555
1..2
ok
test/150-call-func-with-args.tml .....
ok 1 - Test user defined function call
ok 2 - Test user defined function call
ok 3 - Test user defined function call
ok 4 - Call an ononymous user defined function
ok 5 - Call a function with variables
ok 6 - TODO
1..6
ok
test/160-plan.tml ....................
ok 1
ok 2
ok 3
1..3
ok
test/170-block-access.tml ............
ok 1 - Access block labels
ok 2 - Access block labels
ok 3 - Test user defined area
ok 4 - Access block labels
ok 5 - Access block labels
ok 6 - Access a block point value
1..6
ok
test/180-interpolation.tml ...........
ok 1 - Test interpolation for 'Hello, world'
1..1
ok
Test Summary Report
-------------------
test/050-object-type.tml (Wstat: 0 Tests: 9 Failed: 1)
Failed test: 9
Parse errors: No plan found in TAP output
test/090-catch-error.tml (Wstat: 0 Tests: 0 Failed: 0)
Parse errors: No plan found in TAP output
test/110-stdlib-tests.tml (Wstat: 0 Tests: 13 Failed: 0)
Parse errors: No plan found in TAP output
Files=18, Tests=114, 12 wallclock secs ( 0.09 usr 0.04 sys + 9.43 cusr 1.81 csys = 11.37 CPU)
Result: FAIL
make[1]: *** [test-tap] Error 1
make: *** [test-runtime-perl6] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment