Skip to content

Instantly share code, notes, and snippets.

@dragonmantank
Created December 3, 2012 19:59
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 dragonmantank/4197575 to your computer and use it in GitHub Desktop.
Save dragonmantank/4197575 to your computer and use it in GitHub Desktop.
vagrant@vagrant:/vagrant$ php unittests/unittester/run-saffire-tests.php unittests/tests/base/break-001.sfu
Saffire Test Suite v0.1 - The Saffire Group
Start time: 20:55:47
unittests/tests/base/break-001.sfu : Break control tests : [XXXXX]
End time: 20:55:47 (0.05 seconds running time)
Status
Test files : 1
Total tests : 5
Passed : 0 (0%)
Failed : 5 (100%)
Ignored : 0 (0%)
Skipped : 0 (0%)
=============================
Error in unittests/tests/base/break-001.sfu
1c1
< Error in line 2: We can only break inside a loopSegmentation fault
---
> Error in line 2: We can only break inside a loop
=============================
Error in unittests/tests/base/break-001.sfu
1,29d0
< Creating a new instance: hash[0]
< Registering module: ::_sfl::saffire
< Added object to builtins: ::_sfl::saffire::saffire
< Registering module: ::_sfl::io
< Added object to builtins: ::_sfl::io::io
< Added object to builtins: ::_sfl::io::console
< Creating a new instance: hash[0]
< Creating a new instance: hash[0]
< Creating a new instance: Numerical(1)
< Increasing reference for: Numerical(1) (010E8370) to 1
< 00000000 : 0x90 (0x0D)
< >>> PUSH BLOCK [0] (0010 0000)
< 00000003 : 0x74
< >>> FETCH BLOCK
< >>> POP BLOCK [1]
<
< Breaking loop to 00000010
<
< Running outside bytecode!00000010 : 0x00
< *** Vm execution done
< >>> Finding method 'numerical' on object null
< >>> Calling method 'numerical' on object null, actually: null
< MFLAGS: 1
< OFLAGS: 48
< Creating a new instance: Numerical(0)
< Freeing object: 010E8210 (8) hash[0]
< Freeing object: 010E80D0 (8) hash[0]
< Freeing object: 010E6D70 (8) hash[3]
< VM ended with exitcode: 0
=============================
Error in unittests/tests/base/break-001.sfu
1,48d0
< Creating a new instance: hash[0]
< Registering module: ::_sfl::saffire
< Added object to builtins: ::_sfl::saffire::saffire
< Registering module: ::_sfl::io
< Added object to builtins: ::_sfl::io::io
< Added object to builtins: ::_sfl::io::console
< Creating a new instance: hash[0]
< Creating a new instance: hash[0]
< Creating a new instance: Numerical(1)
< Increasing reference for: Numerical(1) (00EC7D70) to 1
< 00000000 : 0x90 (0x1D)
< >>> PUSH BLOCK [0] (0020 0000)
< 00000003 : 0x90 (0x0D)
< >>> PUSH BLOCK [1] (0013 0000)
< 00000006 : 0x81 (0x00)
< Increasing reference for: Numerical(1) (00EC7D70) to 2
< DBG PUSH: Numerical(1) 00EC7D70
< 00000009 : 0x85 (0x05)
< >>> Finding method 'boolean' on object numerical
< >>> Calling method 'boolean' on object numerical, actually: numerical
< MFLAGS: 1
< OFLAGS: 1
< 0000000C : 0x01
< STACK POP(41): 00EC7D70 Numerical(1)
< Decreasing reference for: Numerical(1) (00EC7D70) to 1
< 0000000D : 0x74
< >>> FETCH BLOCK
< >>> POP BLOCK [2]
<
< Breaking loop to 00000013
<
< 00000013 : 0x74
< >>> FETCH BLOCK
< >>> POP BLOCK [1]
<
< Breaking loop to 00000020
<
< Running outside bytecode!00000020 : 0x00
< *** Vm execution done
< >>> Finding method 'numerical' on object null
< >>> Calling method 'numerical' on object null, actually: null
< MFLAGS: 1
< OFLAGS: 48
< Creating a new instance: Numerical(0)
< Freeing object: 00EC7C10 (8) hash[0]
< Freeing object: 00EC7AD0 (8) hash[0]
< Freeing object: 00EC6770 (8) hash[3]
< VM ended with exitcode: 0
=============================
Error in unittests/tests/base/break-001.sfu
1d0
< Segmentation fault
=============================
Error in unittests/tests/base/break-001.sfu
1c1
< Error in line 8: We can only break inside a loopSegmentation fault
---
> Error in line 8: We can only break inside a loop
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment