[Dev] are functional tests broken ?
John Anderson
john at osafoundation.org
Sun Feb 12 07:21:15 PST 2006
Yes, the functional test are broken.
I spent most of Friday looking into this, but didn't find the bug. It
turned out to be very complicated. The test randomly fails in different
ways and some times doesn't fail at all. However I learned a lot which
we're following up on. If you want to hear all the details, let me know.
John
Andi Vajda wrote:
>
> On an unmodified trunk, rev 9486, running tools/do_tests -f . doesn't
> do nearly as much as it used to. The show is much shorter. The tests
> finish with a stack trace and 'all tests successful'. Somehow that
> doesn't look very convincing. What's going on ?
>
> Andi..
>
> #TINDERBOX# Testname = FunctionalTestSuite
> #TINDERBOX# Status = PASSED
> #TINDERBOX# Time elapsed = 20.780928 (seconds)
> Traceback (most recent call last):
> File
> "/Users/vajda/osaf/osaf/release/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/wx/_core.py",
> line 13532, in <lambda>
> lambda event: event.callable(*event.args, **event.kw) )
> File
> "/Users/vajda/osaf/osaf/chandler.trunk/parcels/osaf/framework/scripting.py",
> line 451, in run_startup_script
> run_script(scriptFileText, fileName = fileName)
> File
> "/Users/vajda/osaf/osaf/chandler.trunk/parcels/osaf/framework/scripting.py",
> line 168, in run_script
> exec scriptCode in builtIns
> File "./tools/QATestScripts/Functional/FunctionalTestSuite.py", line
> 64, in ?
> run_tests(tests_to_run)
> File "./tools/QATestScripts/Functional/FunctionalTestSuite.py", line
> 16, in run_tests
> execfile(os.path.join(functional_dir, filename))
> File
> "/Users/vajda/osaf/osaf/chandler.trunk/tools/QATestScripts/Functional/TestNewCollection.py",
> line 9, in ?
> col = QAUITestAppLib.UITestItem("Collection", logger)
> File
> "/Users/vajda/osaf/osaf/chandler.trunk/tools/QAUITestAppLib.py", line
> 88, in __init__
> item = App_ns.root.NewCollection()[0]
> File
> "/Users/vajda/osaf/osaf/chandler.trunk/parcels/osaf/framework/scripting.py",
> line 578, in __getattr__
> return getattr(Globals.mainViewRoot, attr)
> AttributeError: 'FrameWindow' object has no attribute 'NewCollection'
> - + - + - + - + - + - + - + - + - + - + - + - + - + - + - +
> All tests passed
>
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
>
> Open Source Applications Foundation "Dev" mailing list
> http://lists.osafoundation.org/mailman/listinfo/dev
More information about the Dev
mailing list