Advertisement
kscottz

Untitled

Aug 15th, 2011
362
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 10.93 KB | None | 0 0
  1.  
  2. Katherine-Scotts-MacBook-Air:bin katherinescott$ ./ecto-test
  3. [==========] Running 50 tests from 7 test cases.
  4. [----------] Global test environment set-up.
  5. [----------] 18 tests from TendrilTest
  6. [ RUN      ] TendrilTest.MakeTendril
  7. [       OK ] TendrilTest.MakeTendril (0 ms)
  8. [ RUN      ] TendrilTest.Dirtiness
  9. [       OK ] TendrilTest.Dirtiness (0 ms)
  10. [ RUN      ] TendrilTest.Constructors
  11. [       OK ] TendrilTest.Constructors (0 ms)
  12. [ RUN      ] TendrilTest.NonPointerNess
  13. [       OK ] TendrilTest.NonPointerNess (0 ms)
  14. [ RUN      ] TendrilTest.Copyness
  15. [       OK ] TendrilTest.Copyness (0 ms)
  16. [ RUN      ] TendrilTest.Typeness
  17. [       OK ] TendrilTest.Typeness (0 ms)
  18. [ RUN      ] TendrilTest.AssignmentOfPODS
  19. [       OK ] TendrilTest.AssignmentOfPODS (0 ms)
  20. [ RUN      ] TendrilTest.AssignmentOfNone
  21. [       OK ] TendrilTest.AssignmentOfNone (0 ms)
  22. [ RUN      ] TendrilTest.Python2PODConversion
  23. [       OK ] TendrilTest.Python2PODConversion (1 ms)
  24. [ RUN      ] TendrilTest.POD2PythonConversion
  25. [       OK ] TendrilTest.POD2PythonConversion (0 ms)
  26. [ RUN      ] TendrilTest.BoostPyDefaultness
  27. x is none
  28. [       OK ] TendrilTest.BoostPyDefaultness (0 ms)
  29. [ RUN      ] TendrilTest.SyntacticSugar
  30. [       OK ] TendrilTest.SyntacticSugar (0 ms)
  31. [ RUN      ] TendrilTest.Nones
  32. a type: ecto::tendril::none
  33. b type: ecto::tendril::none
  34. [       OK ] TendrilTest.Nones (0 ms)
  35. [ RUN      ] TendrilTest.ConversionTableFromNoneColumn
  36. [       OK ] TendrilTest.ConversionTableFromNoneColumn (0 ms)
  37. [ RUN      ] TendrilTest.ConversionTableFromPyObjectColumn
  38. [       OK ] TendrilTest.ConversionTableFromPyObjectColumn (0 ms)
  39. [ RUN      ] TendrilTest.ConversionTableFromUDTColumn
  40. [       OK ] TendrilTest.ConversionTableFromUDTColumn (0 ms)
  41. [ RUN      ] TendrilTest.ConvertersCopied
  42. [       OK ] TendrilTest.ConvertersCopied (0 ms)
  43. [ RUN      ] TendrilTest.Nullptr
  44. [       OK ] TendrilTest.Nullptr (0 ms)
  45. [----------] 18 tests from TendrilTest (1 ms total)
  46.  
  47. [----------] 3 tests from TendrilMap
  48. [ RUN      ] TendrilMap.Const
  49. [       OK ] TendrilMap.Const (0 ms)
  50. [ RUN      ] TendrilMap.Reference
  51. [       OK ] TendrilMap.Reference (0 ms)
  52. [ RUN      ] TendrilMap.CopyValue
  53. [       OK ] TendrilMap.CopyValue (0 ms)
  54. [----------] 3 tests from TendrilMap (0 ms total)
  55.  
  56. [----------] 4 tests from tendrils
  57. [ RUN      ] tendrils.DefaultCtr
  58. [       OK ] tendrils.DefaultCtr (0 ms)
  59. [ RUN      ] tendrils.Copy
  60. [       OK ] tendrils.Copy (0 ms)
  61. [ RUN      ] tendrils.Declare
  62. [       OK ] tendrils.Declare (0 ms)
  63. [ RUN      ] tendrils.SyntacticSugarness
  64. [       OK ] tendrils.SyntacticSugarness (1 ms)
  65. [----------] 4 tests from tendrils (1 ms total)
  66.  
  67. [----------] 11 tests from SporeTest
  68. [ RUN      ] SporeTest.LifeTime
  69. [       OK ] SporeTest.LifeTime (0 ms)
  70. [ RUN      ] SporeTest.NoDefault
  71. [       OK ] SporeTest.NoDefault (0 ms)
  72. [ RUN      ] SporeTest.Default
  73. [       OK ] SporeTest.Default (0 ms)
  74. [ RUN      ] SporeTest.Callbacks
  75. [       OK ] SporeTest.Callbacks (0 ms)
  76. [ RUN      ] SporeTest.Expressions
  77. [       OK ] SporeTest.Expressions (0 ms)
  78. [ RUN      ] SporeTest.Semantixs
  79. [       OK ] SporeTest.Semantixs (0 ms)
  80. [ RUN      ] SporeTest.DefaultConstruction
  81. [       OK ] SporeTest.DefaultConstruction (0 ms)
  82. [ RUN      ] SporeTest.CopyConstructionDefault
  83. [       OK ] SporeTest.CopyConstructionDefault (0 ms)
  84. [ RUN      ] SporeTest.CopyConstructionValue
  85. [       OK ] SporeTest.CopyConstructionValue (0 ms)
  86. [ RUN      ] SporeTest.ImplicitConstructor
  87. [       OK ] SporeTest.ImplicitConstructor (0 ms)
  88. [ RUN      ] SporeTest.NullAssign
  89. [       OK ] SporeTest.NullAssign (0 ms)
  90. [----------] 11 tests from SporeTest (0 ms total)
  91.  
  92. [----------] 7 tests from Exceptions
  93. [ RUN      ] Exceptions.ExceptionalModules
  94. Good, threw an exception:
  95. double is not a float
  96.   Hint : 'd' is of type: double
  97.   Module : ExceptionalModule1
  98.   Function: declare_params
  99. [       OK ] Exceptions.ExceptionalModules (0 ms)
  100. [ RUN      ] Exceptions.ExceptionUnknownException
  101. Good, threw an exception:
  102. Threw unknown exception type!
  103.   Module : ExceptionUnknownException
  104.   Function: declare_io
  105. [       OK ] Exceptions.ExceptionUnknownException (0 ms)
  106. [ RUN      ] Exceptions.ProcessException
  107. Good, threw an exception:
  108. Original Exception: std::logic_error
  109.   What   : A standard exception
  110.   Module : ProcessException
  111.   Function: process
  112. [       OK ] Exceptions.ProcessException (0 ms)
  113. [ RUN      ] Exceptions.NotExist
  114. Good, threw an exception:
  115. 'a' does not exist in this tendrils object. Possible keys are:  'c':type(ExceptionalModule1) 'd':type(double) 'e':type(std::string)
  116.   Hint   : 'a' does exist in parameters (type == int) outputs (type == std::string)
  117.   Module : NotExist
  118.   Function: process
  119. [       OK ] Exceptions.NotExist (1 ms)
  120. [ RUN      ] Exceptions.WrongType
  121. Good, threw an exception:
  122. double is not a int
  123.   Hint : 'd' is of type: double
  124.   Module : WrongType
  125.   Function: process
  126. [       OK ] Exceptions.WrongType (0 ms)
  127. [ RUN      ] Exceptions.WrongType_sched
  128. Threadpool executing 8 ticks in 1 threads.
  129. Good, threw an exception:
  130. double is not a int
  131.   Hint : 'd' is of type: double
  132.   Module : WrongType
  133.   Function: process
  134. threadpool attemtping to interrupt threads.
  135. [       OK ] Exceptions.WrongType_sched (1 ms)
  136. [ RUN      ] Exceptions.ParameterCBExcept_sched
  137. configurated ***
  138. Threadpool executing 8 ticks in 1 threads.
  139. called back***
  140. Good, threw an exception:
  141. Original Exception: std::runtime_error
  142.   What   : I'm a bad callback, and I like it that way.
  143.  Module : ParameterCBExcept
  144.  Function: Parameter Callback for 'x'
  145. threadpool attemtping to interrupt threads.
  146. [       OK ] Exceptions.ParameterCBExcept_sched (0 ms)
  147. [----------] 7 tests from Exceptions (2 ms total)
  148.  
  149. [----------] 2 tests from Plasm
  150. [ RUN      ] Plasm.Viz
  151. static void<unnamed>::Module1::declare_io(const ecto::tendrils&, ecto::tendrils&, ecto::tendrils&)
  152. digraph G {
  153. graph [rankdir=TB, ranksep=1]
  154. edge [labelfontsize=8]
  155. node [shape=plaintext]
  156. 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>
  157. <TD PORT="o_d" BGCOLOR="indianred1">d<BR/><FONT POINT-SIZE="8">double</FONT></TD>
  158. </TR> </TABLE>>];
  159. 1[label=<<TABLE BORDER="0" CELLBORDER="1" CELLSPACING="0" CELLPADDING="4"> <TR>
  160. <TD PORT="i_d" BGCOLOR="springgreen">d<BR/><FONT POINT-SIZE="8">double</FONT></TD>
  161. </TR> <TR> <TD ROWSPAN="1" COLSPAN="1" BGCOLOR="khaki">(anonymous namespace)::Module2<BR/><FONT POINT-SIZE="8">(anonymous namespace)::Module2</FONT></TD>  </TR>   </TABLE>>];
  162. 0->1 [headport="i_d" tailport="o_d"];
  163. }
  164.  
  165. [       OK ] Plasm.Viz (1 ms)
  166. [ RUN      ] Plasm.Passthrough
  167. static void<unnamed>::Module1::declare_io(const ecto::tendrils&, ecto::tendrils&, ecto::tendrils&)
  168. [       OK ] Plasm.Passthrough (0 ms)
  169. [----------] 2 tests from Plasm (1 ms total)
  170.  
  171. [----------] 5 tests from Threadpool
  172. [ RUN      ] Threadpool.CreateAndDestroy
  173. threadpool attemtping to interrupt threads.
  174. [       OK ] Threadpool.CreateAndDestroy (0 ms)
  175. [ RUN      ] Threadpool.DestroyWhileRunning
  176. Threadpool executing [unlimited] ticks in 2 threads.
  177. *** YOU ARE ATTEMPTING TO DESTROY A RUNNING SCHEDULER  ***
  178. *** I can't throw, as I'm in a destructor.             ***
  179. *** You should stop() and wait() on this schedulers.   ***
  180. *** I'm going to interrupt() things...                 ***
  181. threadpool attemtping to interrupt threads.
  182. ------------------------------------------------------------------------------
  183. *                 Cell Name   Calls   Hz(theo max) Hz(observed) load (%)
  184. *           ecto_test::Ping   2       39211.25     1013.68      2.59    
  185. *          ecto_test::Sleep   1       inf          506.84       0.00    
  186. *          ecto_test::Sleep   0       nan          0.00         0.00    
  187. ------------------------------------------------------------------------------
  188. cpu freq:         3.66708 GHz
  189. threads:          2
  190. elapsed time:     00:00:00.001973
  191. cpu ticks:        3667083
  192. cpu ticks/second: 1000000
  193. in process():     1.29%
  194. Module ecto_test::Sleep returned ecto::QUIT Stopping everything.
  195. [       OK ] Threadpool.DestroyWhileRunning (3 ms)
  196. [ RUN      ] Threadpool.DestroyAfterRunning
  197. Threadpool executing 2 ticks in 2 threads.
  198. ------------------------------------------------------------------------------
  199. *                 Cell Name   Calls   Hz(theo max) Hz(observed) load (%)
  200. *           ecto_test::Ping   2       451686.51    6.65         0.00    
  201. *          ecto_test::Sleep   2       8.65         6.65         76.92  
  202. *          ecto_test::Sleep   2       14.12        6.65         47.13  
  203. ------------------------------------------------------------------------------
  204. cpu freq:         1.17516 GHz
  205. threads:          2
  206. elapsed time:     00:00:00.300546
  207. cpu ticks:        352549435
  208. cpu ticks/second: 1000000
  209. in process():     62.03%
  210. threadpool attemtping to interrupt threads.
  211. [       OK ] Threadpool.DestroyAfterRunning (302 ms)
  212. [ RUN      ] Threadpool.WaitAndDestroy
  213. Threadpool executing 2 ticks in 4 threads.
  214. ------------------------------------------------------------------------------
  215. *                 Cell Name   Calls   Hz(theo max) Hz(observed) load (%)
  216. *           ecto_test::Ping   2       265399.99    6.64         0.00    
  217. *          ecto_test::Sleep   2       8.47         6.64         78.40  
  218. *          ecto_test::Sleep   2       15.74        6.64         42.18  
  219. ------------------------------------------------------------------------------
  220. cpu freq:         1.0786 GHz
  221. threads:          4
  222. elapsed time:     00:00:00.301300
  223. cpu ticks:        324657963
  224. cpu ticks/second: 1000000
  225. in process():     30.15%
  226. threadpool attemtping to interrupt threads.
  227. [       OK ] Threadpool.WaitAndDestroy (302 ms)
  228. [ RUN      ] Threadpool.StopAndDestroy
  229. Threadpool executing 2 ticks in 4 threads.
  230. *** YOU ARE ATTEMPTING TO DESTROY A RUNNING SCHEDULER  ***
  231. *** I can't throw, as I'm in a destructor.             ***
  232. *** You should stop() and wait() on this schedulers.   ***
  233. *** I'm going to interrupt() things...                 ***
  234. threadpool attemtping to interrupt threads.
  235. ------------------------------------------------------------------------------
  236. *                 Cell Name   Calls   Hz(theo max) Hz(observed) load (%)
  237. *           ecto_test::Ping   0       nan          0.00         0.00    
  238. *          ecto_test::Sleep   0       nan          0.00         0.00    
  239. *          ecto_test::Sleep   0       nan          0.00         0.00    
  240. ------------------------------------------------------------------------------
  241. cpu freq:         inf GHz
  242. threads:          4
  243. elapsed time:     00:00:00.000238
  244. cpu ticks:        442204
  245. cpu ticks/second: 1000000
  246. in process():     0.00%
  247. [       OK ] Threadpool.StopAndDestroy (2 ms)
  248. [----------] 5 tests from Threadpool (609 ms total)
  249.  
  250. [----------] Global test environment tear-down
  251. [==========] 50 tests from 7 test cases ran. (614 ms total)
  252. [  PASSED  ] 50 tests.
  253. Katherine-Scotts-MacBook-Air:bin katherinescott$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement