Merged from trunk 5521:5533
authorFabian Groffen <grobian@gentoo.org>
Fri, 12 Jan 2007 22:25:10 +0000 (22:25 -0000)
committerFabian Groffen <grobian@gentoo.org>
Fri, 12 Jan 2007 22:25:10 +0000 (22:25 -0000)
commit113232bf880cbd990e2a679dceb271a4bd7d5157
tree4d398cf1eb628999eeffda80609bdde56e71e2a7
parentb3e908bf9bf2776c69b8b748957c3e09b0c90879
Merged from trunk 5521:5533

rework test import code, rename test_vercmp to be more generic, add
tests for =* glob matches (WarnerBro)

Make the tests pass.

Fix Fail test (WarnerBro)

Take Genone's suggestion and break the modules up into module oriented
fashion.  Tests for portage.py go in portage/ and so on and so forth...
(WarnerBro)

shift test cases around (WarnerBro)

shift test cases around (WarnerBro)

rename atoms back to vercmp (WarnerBro)

split out util tests (WarnerBro)

remove monolithic test (WarnerBro)

add a few tips on adding tests, and kinks in the current system, I hope
to fix the import bug soon (WarnerBro)

Fix module loading.

Fix sys.path so that imports work correctly.

svn path=/main/branches/prefix/; revision=5615
13 files changed:
TEST-NOTES [new file with mode: 0644]
tests/__init__.py
tests/portage/__init__.py [new file with mode: 0644]
tests/portage/test_match_from_list.py [new file with mode: 0644]
tests/portage/test_vercmp.py [moved from tests/test_vercmp.py with 92% similarity]
tests/portage_util/__init__.py [new file with mode: 0644]
tests/portage_util/test_normalizedPath.py [new file with mode: 0644]
tests/portage_util/test_stackDictList.py [moved from tests/test_util.py with 55% similarity]
tests/portage_util/test_stackDicts.py [new file with mode: 0644]
tests/portage_util/test_stackLists.py [new file with mode: 0644]
tests/portage_util/test_uniqueArray.py [new file with mode: 0644]
tests/portage_util/test_varExpand.py [new file with mode: 0644]
tests/runTests