|
$ freecad-daily -t TestGui
FreeCAD 0.17, Libs: 0.17R10452 (Git)
© Juergen Riegel, Werner Mayer, Yorik van Havre 2001-2017
##### #### ### ####
# # # # # #
# ## #### #### # # # # #
#### # # # # # # # ##### # #
# # #### #### # # # # #
# # # # # # # # # ## ## ##
# # #### #### ### # # #### ## ## ##
Fasteners workbench Loaded
I am executing some stuff here when FreeCAD starts!
Sheet Metal workbench loaded
Tried to run Gui::Application::initApplication() twice!
Traceback (most recent call last):
File "<string>", line 39, in <module>
File "/usr/lib/freecad-daily/Mod/Test/TestApp.py", line 95, in TestText
s = unittest.defaultTestLoader.loadTestsFromName(s)
File "/usr/lib/python2.7/unittest/loader.py", line 91, in loadTestsFromName
module = __import__('.'.join(parts_copy))
File "/usr/lib/freecad-daily/Mod/Test/TestGui.py", line 192, in <module>
FreeCADGui.addCommand('Test_Test' ,TestCmd())
<type 'exceptions.AttributeError'>: 'module' object has no attribute 'addCommand'
|
|
There are a total of 181 tests via the Test Workbench:
BaseTests - 13
UnitTests - 3
Document - 31
UnicodeTests - 2
MeshTestsApp - 12
TestFem - 2
TestSketcherApp - 3
TestPartApp - 4
TestPartDesignApp - 1
TestPartDesignGui - 2
TestPathApp - 48
TestSpreadsheet - 20
TestDraft - 17
TestArch - 15
TestTechDrawApp - 1
Workbench - 3
Menu - 2
Menu_MenuCreateCases - 1
Menu_MenuDeleteCases - 1
TOTAL: 181
but `freecad-daily -t 0` (daily PPA build) only reports 140 tests ran. Things like `freecad-daily -t TestDraft` fail, other GUI-based code fails and is probably excluded on purpose. But it's possible to run this stuff from the command line, just needs the right stub... |