Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Katherine-Scotts-MacBook-Air:bin katherinescott$ ./ecto-test
- [==========] Running 50 tests from 7 test cases.
- [----------] Global test environment set-up.
- [----------] 18 tests from TendrilTest
- [ RUN ] TendrilTest.MakeTendril
- [ OK ] TendrilTest.MakeTendril (0 ms)
- [ RUN ] TendrilTest.Dirtiness
- [ OK ] TendrilTest.Dirtiness (0 ms)
- [ RUN ] TendrilTest.Constructors
- [ OK ] TendrilTest.Constructors (0 ms)
- [ RUN ] TendrilTest.NonPointerNess
- [ OK ] TendrilTest.NonPointerNess (0 ms)
- [ RUN ] TendrilTest.Copyness
- [ OK ] TendrilTest.Copyness (0 ms)
- [ RUN ] TendrilTest.Typeness
- [ OK ] TendrilTest.Typeness (0 ms)
- [ RUN ] TendrilTest.AssignmentOfPODS
- [ OK ] TendrilTest.AssignmentOfPODS (0 ms)
- [ RUN ] TendrilTest.AssignmentOfNone
- [ OK ] TendrilTest.AssignmentOfNone (0 ms)
- [ RUN ] TendrilTest.Python2PODConversion
- [ OK ] TendrilTest.Python2PODConversion (1 ms)
- [ RUN ] TendrilTest.POD2PythonConversion
- [ OK ] TendrilTest.POD2PythonConversion (0 ms)
- [ RUN ] TendrilTest.BoostPyDefaultness
- x is none
- [ OK ] TendrilTest.BoostPyDefaultness (0 ms)
- [ RUN ] TendrilTest.SyntacticSugar
- [ OK ] TendrilTest.SyntacticSugar (0 ms)
- [ RUN ] TendrilTest.Nones
- a type: ecto::tendril::none
- b type: ecto::tendril::none
- [ OK ] TendrilTest.Nones (0 ms)
- [ RUN ] TendrilTest.ConversionTableFromNoneColumn
- [ OK ] TendrilTest.ConversionTableFromNoneColumn (0 ms)
- [ RUN ] TendrilTest.ConversionTableFromPyObjectColumn
- [ OK ] TendrilTest.ConversionTableFromPyObjectColumn (0 ms)
- [ RUN ] TendrilTest.ConversionTableFromUDTColumn
- [ OK ] TendrilTest.ConversionTableFromUDTColumn (0 ms)
- [ RUN ] TendrilTest.ConvertersCopied
- [ OK ] TendrilTest.ConvertersCopied (0 ms)
- [ RUN ] TendrilTest.Nullptr
- [ OK ] TendrilTest.Nullptr (0 ms)
- [----------] 18 tests from TendrilTest (1 ms total)
- [----------] 3 tests from TendrilMap
- [ RUN ] TendrilMap.Const
- [ OK ] TendrilMap.Const (0 ms)
- [ RUN ] TendrilMap.Reference
- [ OK ] TendrilMap.Reference (0 ms)
- [ RUN ] TendrilMap.CopyValue
- [ OK ] TendrilMap.CopyValue (0 ms)
- [----------] 3 tests from TendrilMap (0 ms total)
- [----------] 4 tests from tendrils
- [ RUN ] tendrils.DefaultCtr
- [ OK ] tendrils.DefaultCtr (0 ms)
- [ RUN ] tendrils.Copy
- [ OK ] tendrils.Copy (0 ms)
- [ RUN ] tendrils.Declare
- [ OK ] tendrils.Declare (0 ms)
- [ RUN ] tendrils.SyntacticSugarness
- [ OK ] tendrils.SyntacticSugarness (1 ms)
- [----------] 4 tests from tendrils (1 ms total)
- [----------] 11 tests from SporeTest
- [ RUN ] SporeTest.LifeTime
- [ OK ] SporeTest.LifeTime (0 ms)
- [ RUN ] SporeTest.NoDefault
- [ OK ] SporeTest.NoDefault (0 ms)
- [ RUN ] SporeTest.Default
- [ OK ] SporeTest.Default (0 ms)
- [ RUN ] SporeTest.Callbacks
- [ OK ] SporeTest.Callbacks (0 ms)
- [ RUN ] SporeTest.Expressions
- [ OK ] SporeTest.Expressions (0 ms)
- [ RUN ] SporeTest.Semantixs
- [ OK ] SporeTest.Semantixs (0 ms)
- [ RUN ] SporeTest.DefaultConstruction
- [ OK ] SporeTest.DefaultConstruction (0 ms)
- [ RUN ] SporeTest.CopyConstructionDefault
- [ OK ] SporeTest.CopyConstructionDefault (0 ms)
- [ RUN ] SporeTest.CopyConstructionValue
- [ OK ] SporeTest.CopyConstructionValue (0 ms)
- [ RUN ] SporeTest.ImplicitConstructor
- [ OK ] SporeTest.ImplicitConstructor (0 ms)
- [ RUN ] SporeTest.NullAssign
- [ OK ] SporeTest.NullAssign (0 ms)
- [----------] 11 tests from SporeTest (0 ms total)
- [----------] 7 tests from Exceptions
- [ RUN ] Exceptions.ExceptionalModules
- Good, threw an exception:
- double is not a float
- Hint : 'd' is of type: double
- Module : ExceptionalModule1
- Function: declare_params
- [ OK ] Exceptions.ExceptionalModules (0 ms)
- [ RUN ] Exceptions.ExceptionUnknownException
- Good, threw an exception:
- Threw unknown exception type!
- Module : ExceptionUnknownException
- Function: declare_io
- [ OK ] Exceptions.ExceptionUnknownException (0 ms)
- [ RUN ] Exceptions.ProcessException
- Good, threw an exception:
- Original Exception: std::logic_error
- What : A standard exception
- Module : ProcessException
- Function: process
- [ OK ] Exceptions.ProcessException (0 ms)
- [ RUN ] Exceptions.NotExist
- Good, threw an exception:
- 'a' does not exist in this tendrils object. Possible keys are: 'c':type(ExceptionalModule1) 'd':type(double) 'e':type(std::string)
- Hint : 'a' does exist in parameters (type == int) outputs (type == std::string)
- Module : NotExist
- Function: process
- [ OK ] Exceptions.NotExist (1 ms)
- [ RUN ] Exceptions.WrongType
- Good, threw an exception:
- double is not a int
- Hint : 'd' is of type: double
- Module : WrongType
- Function: process
- [ OK ] Exceptions.WrongType (0 ms)
- [ RUN ] Exceptions.WrongType_sched
- Threadpool executing 8 ticks in 1 threads.
- Good, threw an exception:
- double is not a int
- Hint : 'd' is of type: double
- Module : WrongType
- Function: process
- threadpool attemtping to interrupt threads.
- [ OK ] Exceptions.WrongType_sched (1 ms)
- [ RUN ] Exceptions.ParameterCBExcept_sched
- configurated ***
- Threadpool executing 8 ticks in 1 threads.
- called back***
- Good, threw an exception:
- Original Exception: std::runtime_error
- What : I'm a bad callback, and I like it that way.
- Module : ParameterCBExcept
- Function: Parameter Callback for 'x'
- threadpool attemtping to interrupt threads.
- [ OK ] Exceptions.ParameterCBExcept_sched (0 ms)
- [----------] 7 tests from Exceptions (2 ms total)
- [----------] 2 tests from Plasm
- [ RUN ] Plasm.Viz
- static void<unnamed>::Module1::declare_io(const ecto::tendrils&, ecto::tendrils&, ecto::tendrils&)
- digraph G {
- graph [rankdir=TB, ranksep=1]
- edge [labelfontsize=8]
- node [shape=plaintext]
- 0[label=<<TABLE BORDER="0" CELLBORDER="1" CELLSPACING="0" CELLPADDING="4"> <TR> <TD ROWSPAN="1" COLSPAN="1" BGCOLOR="khaki">(anonymous namespace)::Module1<BR/><FONT POINT-SIZE="8">(anonymous namespace)::Module1</FONT></TD> </TR> <TR>
- <TD PORT="o_d" BGCOLOR="indianred1">d<BR/><FONT POINT-SIZE="8">double</FONT></TD>
- </TR> </TABLE>>];
- 1[label=<<TABLE BORDER="0" CELLBORDER="1" CELLSPACING="0" CELLPADDING="4"> <TR>
- <TD PORT="i_d" BGCOLOR="springgreen">d<BR/><FONT POINT-SIZE="8">double</FONT></TD>
- </TR> <TR> <TD ROWSPAN="1" COLSPAN="1" BGCOLOR="khaki">(anonymous namespace)::Module2<BR/><FONT POINT-SIZE="8">(anonymous namespace)::Module2</FONT></TD> </TR> </TABLE>>];
- 0->1 [headport="i_d" tailport="o_d"];
- }
- [ OK ] Plasm.Viz (1 ms)
- [ RUN ] Plasm.Passthrough
- static void<unnamed>::Module1::declare_io(const ecto::tendrils&, ecto::tendrils&, ecto::tendrils&)
- [ OK ] Plasm.Passthrough (0 ms)
- [----------] 2 tests from Plasm (1 ms total)
- [----------] 5 tests from Threadpool
- [ RUN ] Threadpool.CreateAndDestroy
- threadpool attemtping to interrupt threads.
- [ OK ] Threadpool.CreateAndDestroy (0 ms)
- [ RUN ] Threadpool.DestroyWhileRunning
- Threadpool executing [unlimited] ticks in 2 threads.
- *** YOU ARE ATTEMPTING TO DESTROY A RUNNING SCHEDULER ***
- *** I can't throw, as I'm in a destructor. ***
- *** You should stop() and wait() on this schedulers. ***
- *** I'm going to interrupt() things... ***
- threadpool attemtping to interrupt threads.
- ------------------------------------------------------------------------------
- * Cell Name Calls Hz(theo max) Hz(observed) load (%)
- * ecto_test::Ping 2 39211.25 1013.68 2.59
- * ecto_test::Sleep 1 inf 506.84 0.00
- * ecto_test::Sleep 0 nan 0.00 0.00
- ------------------------------------------------------------------------------
- cpu freq: 3.66708 GHz
- threads: 2
- elapsed time: 00:00:00.001973
- cpu ticks: 3667083
- cpu ticks/second: 1000000
- in process(): 1.29%
- Module ecto_test::Sleep returned ecto::QUIT Stopping everything.
- [ OK ] Threadpool.DestroyWhileRunning (3 ms)
- [ RUN ] Threadpool.DestroyAfterRunning
- Threadpool executing 2 ticks in 2 threads.
- ------------------------------------------------------------------------------
- * Cell Name Calls Hz(theo max) Hz(observed) load (%)
- * ecto_test::Ping 2 451686.51 6.65 0.00
- * ecto_test::Sleep 2 8.65 6.65 76.92
- * ecto_test::Sleep 2 14.12 6.65 47.13
- ------------------------------------------------------------------------------
- cpu freq: 1.17516 GHz
- threads: 2
- elapsed time: 00:00:00.300546
- cpu ticks: 352549435
- cpu ticks/second: 1000000
- in process(): 62.03%
- threadpool attemtping to interrupt threads.
- [ OK ] Threadpool.DestroyAfterRunning (302 ms)
- [ RUN ] Threadpool.WaitAndDestroy
- Threadpool executing 2 ticks in 4 threads.
- ------------------------------------------------------------------------------
- * Cell Name Calls Hz(theo max) Hz(observed) load (%)
- * ecto_test::Ping 2 265399.99 6.64 0.00
- * ecto_test::Sleep 2 8.47 6.64 78.40
- * ecto_test::Sleep 2 15.74 6.64 42.18
- ------------------------------------------------------------------------------
- cpu freq: 1.0786 GHz
- threads: 4
- elapsed time: 00:00:00.301300
- cpu ticks: 324657963
- cpu ticks/second: 1000000
- in process(): 30.15%
- threadpool attemtping to interrupt threads.
- [ OK ] Threadpool.WaitAndDestroy (302 ms)
- [ RUN ] Threadpool.StopAndDestroy
- Threadpool executing 2 ticks in 4 threads.
- *** YOU ARE ATTEMPTING TO DESTROY A RUNNING SCHEDULER ***
- *** I can't throw, as I'm in a destructor. ***
- *** You should stop() and wait() on this schedulers. ***
- *** I'm going to interrupt() things... ***
- threadpool attemtping to interrupt threads.
- ------------------------------------------------------------------------------
- * Cell Name Calls Hz(theo max) Hz(observed) load (%)
- * ecto_test::Ping 0 nan 0.00 0.00
- * ecto_test::Sleep 0 nan 0.00 0.00
- * ecto_test::Sleep 0 nan 0.00 0.00
- ------------------------------------------------------------------------------
- cpu freq: inf GHz
- threads: 4
- elapsed time: 00:00:00.000238
- cpu ticks: 442204
- cpu ticks/second: 1000000
- in process(): 0.00%
- [ OK ] Threadpool.StopAndDestroy (2 ms)
- [----------] 5 tests from Threadpool (609 ms total)
- [----------] Global test environment tear-down
- [==========] 50 tests from 7 test cases ran. (614 ms total)
- [ PASSED ] 50 tests.
- Katherine-Scotts-MacBook-Air:bin katherinescott$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement