Age | Commit message (Collapse) | Author | Files | Lines |
|
- Use the __import__ and import coherently
- Use the standard unittest framework
Rewrite of the barrier unittest as using fork() completely messed up
the overall test suite and ran it 8 times.
Visibility: Medium/High - some import changes
Risk: Medium
Tests:
- Ran unittest_suite.py for all and individual directories
- Ran coverage_suite.py for all and individual directories
- Ran manage.py test from frontend directory.
Signed-off-by: Jean-Marc Eurin <jmeurin@google.com>
git-svn-id: svn://test.kernel.org/autotest/trunk@1827 592f7852-d20e-0410-864c-8624ca9c26a4
|
|
executing them through manage.py in a separate process). this should get us coverage data. the unit tests could still be better integrated into the whole suite, but this is an improvement.
-some fixes to doctests related to tab-space conversion
git-svn-id: svn://test.kernel.org/autotest/trunk@1702 592f7852-d20e-0410-864c-8624ca9c26a4
|
|
Signed-off-by: John Admanski <jadmanski@google.com>
git-svn-id: svn://test.kernel.org/autotest/trunk@1658 592f7852-d20e-0410-864c-8624ca9c26a4
|
|
directory other than its own.
This is now fixed.
Signed-off-by: Travis Miller <raphtee@google.com>
git-svn-id: svn://test.kernel.org/autotest/trunk@1579 592f7852-d20e-0410-864c-8624ca9c26a4
|
|
scripts
Risk: Medium/High
Summary: After going trough the autotest tree, removing all places where
we have statements like
#!/usr/bin/python2.4
As they're unnecessary for those who have python > 2.4. Still, we want
to make sure we're running on something > 2.4 for those scripts, so I
hooked the scripts to the common lib infrastructure when needed. I tried
to be as careful as possible to make sure all scripts worked after my
modifications, I could even spot an import problem on
server/standalone_profiler.py and fix it.
Also, while I was there, I fixed several inconsistencies on the
mirror/mirror script.
Signed-off-by: Lucas Meneghel Rodrigues <lucasmr@br.ibm.com>
git-svn-id: svn://test.kernel.org/autotest/trunk@1527 592f7852-d20e-0410-864c-8624ca9c26a4
|
|
unittest_suite will include the Django unit tests.
git-svn-id: svn://test.kernel.org/autotest/trunk@1422 592f7852-d20e-0410-864c-8624ca9c26a4
|