Skip to content

Instantly share code, notes, and snippets.

@zeffii
Last active January 22, 2018 20:06
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 zeffii/39ab93c411296e5f732168fbd3fd3b7e to your computer and use it in GitHub Desktop.
Save zeffii/39ab93c411296e5f732168fbd3fd3b7e to your computer and use it in GitHub Desktop.
PS C:\Users\zeffi\Desktop\GITHUB\sverchok> .\run_tests.bat C:\Users\zeffi\Desktop\test_blenders\b279\blender.exe
C:\Users\zeffi\Desktop\GITHUB\sverchok>echo off
Read prefs: C:\Users\zeffi\AppData\Roaming\Blender Foundation\Blender\2.79\config\userpref.blend
found bundled python: C:\Users\zeffi\Desktop\test_blenders\b279\2.79\python
no keyconfig path found, skipping
2018-01-22 21:00:17,220 [INFO] sverchok.utils.logging: Registering Sverchok addon. Messages issued during registration will be only available in the console and in file (if configured).
Warning: 'SvTestingPanel' doesn't contain '_PT_' with prefix & suffix
Warning: 'Sverchok_iolayouts_menu' doesn't contain '_PT_' with prefix & suffix
Warning: 'Sverchok_tools_menu' doesn't contain '_PT_' with prefix & suffix
Warning: 'Sv3DPanel' doesn't contain '_PT_' with prefix & suffix
Warning: 'SvCustomGroupInterface' doesn't contain '_PT_' with prefix & suffix
Warning: 'SvUserPresetsPanel' doesn't contain '_PT_' with prefix & suffix
Warning: 'SvScriptNodeLitePyMenu' doesn't contain '_MT_' with prefix & suffix
** version: 0.5.9.6, branch win_cmd_runtests, commit 9143bacb **
** Have a nice day with sverchok **
______ _ _ _______ ______ _______ _ _ _____ _ _
/______ \ / |______ |_____/ | |_____| | | |____/
______/ \/ |______ | \_ |_____ | | |_____| | \_
initialized.
loading default dict..
** Sverchok loaded with 261 nodes **
Warning: 'SvTestingPanel' doesn't contain '_PT_' with prefix & suffix
2018-01-22 21:00:19,490 [INFO] root: Initializing Sverchok logging. Blender version 2.79 (sub 1), Sverchok version 0.5.9.6, branch win_cmd_runtests, commit 9143bacb
2018-01-22 21:00:20,247 [INFO] sverchok.utils.sv_IO_panel_tools: ############0.072
2018-01-22 21:00:20,453 [INFO] sverchok.utils.sv_IO_panel_tools: ############0.072
2018-01-22 21:00:20,647 [INFO] sverchok.utils.sv_IO_panel_tools: ############0.072
1
0 ('StringsSocket', 'arc', 1.0, 2)
1 ('StringsSocket', 'separation', 3.0, 2)
2 ('StringsSocket', 'num_points', 300, 2)
3 ('StringsSocket', 'scale', 0.13, 2)
[]
2018-01-22 21:00:22,839 [INFO] sverchok.utils.sv_IO_panel_tools: ############0.072
2018-01-22 21:00:23,131 [INFO] sverchok.utils.sv_IO_panel_tools: ############0.072
2018-01-22 21:00:23,178 [INFO] sverchok.utils.sv_IO_panel_tools: ############0.07
sockets wiped, skipped update
sockets wiped, skipped update
2018-01-22 21:00:23,973 [INFO] sverchok.utils.sv_IO_panel_tools: ############0.072
2018-01-22 21:00:24,224 [INFO] sverchok.utils.sv_IO_panel_tools: ############0.072
0 ('StringsSocket', 'arc', 1.0, 2)
1 ('StringsSocket', 'separation', 3.0, 2)
2 ('StringsSocket', 'num_points', 300, 2)
3 ('StringsSocket', 'scale', 0.13, 2)
2018-01-22 21:00:24,640 [INFO] __main__: Test cases result:
test_eval (cubic_spline_tests.CubicSplineTests) ... ok
test_tangent (cubic_spline_tests.CubicSplineTests) ... ok
test_describe_data_shape (data_structure_tests.DataStructureTests) ... ok
test_ensure_nesting_level_1 (data_structure_tests.DataStructureTests) ... ok
test_ensure_nesting_level_2 (data_structure_tests.DataStructureTests) ... ok
test_full_list_1 (data_structure_tests.DataStructureTests) ... ok
test_full_list_2 (data_structure_tests.DataStructureTests) ... ok
test_full_list_deep_copy (data_structure_tests.DataStructureTests) ... ok
test_get_data_nesting_level_1 (data_structure_tests.DataStructureTests) ... ok
test_get_data_nesting_level_2 (data_structure_tests.DataStructureTests) ... ok
test_match_long_cycle (data_structure_tests.DataStructureTests) ... ok
test_match_long_repeat (data_structure_tests.DataStructureTests) ... ok
test_transpose_list (data_structure_tests.DataStructureTests) ... ok
test_intersect_edges (intersect_edges_tests.IntersectEdgesTest2) ... FAIL
test_eval (linear_spline_tests.LinearSplineTests) ... ok
test_tangent (linear_spline_tests.LinearSplineTests) ... ok
test_box_export (simple_export_tests.ExportSingleSimpleNode) ... ok
test_cylinder_export (simple_export_tests.ExportSingleSimpleNode) ... ok
test_torus_export (simple_export_tests.ExportSingleSimpleNode) ... ok
test_box (simple_generator_tests.BoxNodeTest) ... ok
test_ngon (simple_generator_tests.NGonNodeTest) ... FAIL
test_box_import (simple_import_tests.ImportSingleSimpleNode) ... ok
test_cylinder_import (simple_import_tests.ImportSingleSimpleNode) ... ok
test_torus_import (simple_import_tests.ImportSingleSimpleNode) ... ok
test_text_viewer (simple_viewer_text_tests.TextViewerTest) ... FAIL
test_adaptive_sockets (socket_conversion_tests.SocketConversionTests) ... ok
test_no_edges_to_verts (socket_conversion_tests.SocketConversionTests) ... ok
test_vertices_to_matrices (socket_conversion_tests.SocketConversionTests) ... ok
test_mesh_expr_export (tree_export_tests.MeshExprExportTest) ... ok
test_monad_export (tree_export_tests.MonadExportTest) ... skipped 'Linking node tree with Monad node does not work correctly.'
test_profile_export (tree_export_tests.ProfileExportTest) ... ok
test_script_uv_export (tree_export_tests.ScriptUvExportTest) ... ok
test_textview_expr_export (tree_export_tests.ViewerTextExportTest) ... ok
test_mesh_expr_import (tree_import_tests.MeshExprImportTest) ... ok
test_monad_import (tree_import_tests.MonadImportTest) ... ok
test_profile_import (tree_import_tests.ProfileImportTest) ... ok
test_script_uv_import (tree_import_tests.ScriptUvImportTest) ... ok
test_make_dep_dict (update_system_tests.UpdateSystemTests) ... ok
test_make_update_list (update_system_tests.UpdateSystemTests) ... ok
======================================================================
FAIL: test_intersect_edges (intersect_edges_tests.IntersectEdgesTest2)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Users\zeffi\Desktop\scripts\addons_contrib\sverchok\tests\intersect_edges_tests.py", line 20, in test_intersect_edges
self.assert_sverchok_data_equals_file(result_verts, "intersecting_planes_result_verts.txt", precision=8)
File "C:\Users\zeffi\Desktop\scripts\addons_contrib\sverchok\utils\testing.py", line 385, in assert_sverchok_data_equals_file
self.assert_sverchok_data_equal(data, expected_data, precision=precision)
File "C:\Users\zeffi\Desktop\scripts\addons_contrib\sverchok\utils\testing.py", line 379, in assert_sverchok_data_equal
compare([idx], data1, data2)
File "C:\Users\zeffi\Desktop\scripts\addons_contrib\sverchok\utils\testing.py", line 376, in compare
compare(new_indicies, item1[index], item2[index])
File "C:\Users\zeffi\Desktop\scripts\addons_contrib\sverchok\utils\testing.py", line 376, in compare
compare(new_indicies, item1[index], item2[index])
File "C:\Users\zeffi\Desktop\scripts\addons_contrib\sverchok\utils\testing.py", line 368, in compare
do_assert(item1[index], item2[index], prev_indicies)
File "C:\Users\zeffi\Desktop\scripts\addons_contrib\sverchok\utils\testing.py", line 354, in do_assert
self.assertEqual(d1, d2, "Data 1 [{}] != Data 2 [{}]".format(idxs, idxs))
AssertionError: 5.0 != 1.66666663 : Data 1 [[0, 6, 0]] != Data 2 [[0, 6, 0]]
======================================================================
FAIL: test_ngon (simple_generator_tests.NGonNodeTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Users\zeffi\Desktop\scripts\addons_contrib\sverchok\tests\simple_generator_tests.py", line 51, in test_ngon
self.assert_output_data_equals("Vertices", expected_data)
File "C:\Users\zeffi\Desktop\scripts\addons_contrib\sverchok\utils\testing.py", line 494, in assert_output_data_equals
self.assertEquals(data, expected_data, message)
AssertionError: Lists differ: [[(1.[118 chars]749475, -0.587785252292473, 0), (0.30901699437[28 chars] 0)]] != [[(1.[118 chars]749476, -0.587785252292473, 0), (0.30901699437[28 chars] 0)]]
First differing element 0:
[(1.0[117 chars]749475, -0.587785252292473, 0), (0.30901699437[27 chars], 0)]
[(1.0[117 chars]749476, -0.587785252292473, 0), (0.30901699437[27 chars], 0)]
[[(1.0, 0.0, 0),
(0.30901699437494745, 0.9510565162951535, 0),
(-0.8090169943749473, 0.5877852522924732, 0),
- (-0.8090169943749475, -0.587785252292473, 0),
? ^
+ (-0.8090169943749476, -0.587785252292473, 0),
? ^
(0.30901699437494723, -0.9510565162951536, 0)]]
======================================================================
FAIL: test_text_viewer (simple_viewer_text_tests.TextViewerTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Users\zeffi\Desktop\scripts\addons_contrib\sverchok\tests\simple_viewer_text_tests.py", line 29, in test_text_viewer
self.assertEquals(text, expected_text)
AssertionError: 'node[287 chars]865476, 0.0]\n[0.5555702330196023, 0.831469612[2830 chars] ' != 'node[287 chars]865475, 0.0]\n[0.5555702330196023, 0.831469612[2832 chars] '
Diff is 3704 characters long. Set self.maxDiff to None to see it.
----------------------------------------------------------------------
Ran 39 tests in 5.576s
FAILED (failures=3, skipped=1)
Some tests failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment