summaryrefslogtreecommitdiffstats
path: root/pym/portage/tests
Commit message (Collapse)AuthorAgeFilesLines
* cpvequal: use _pkg_strZac Medico2012-05-131-2/+3
|
* SimpleResolverTestCase: handle PYTHONHASHSEEDZac Medico2012-05-121-1/+2
|
* test_digraph: fix get_cycles for PYTHONHASHSEEDZac Medico2012-05-121-3/+4
|
* test_digraph: fix bfs for PYTHONHASHSEED=randomZac Medico2012-05-121-4/+39
|
* test_stackLists: fix for PYTHONHASHSEED="random"Zac Medico2012-05-121-2/+2
|
* test_getconfig: add case for bug #410625Zac Medico2012-04-031-1/+25
|
* LockNonblockTestCase: close_fds tweakZac Medico2012-03-271-1/+4
| | | | Make consistent with commit 144c23efbb4e9565debad03c13c5bcab833a8336.
* autounmask: Avoid unmasking live versions if possibleSebastian Luther2012-02-261-1/+46
| | | | | | | | | | | | | | | | | | | | Before this patch the allowed changes were: 1. USE 2. USE + ~arch + license 3. USE + ~arch + license + missing keywords + masks With this patch: 1. USE 2. USE + ~arch + license 3. USE + ~arch + license + missing keywords 4. USE + ~arch + license + masks 5. USE + ~arch + license + missing keywords + masks This avoids unmasking live versions, which are typically masked and have missing keywords to be avoided if there is a regular masked version available.
* AsynchronousTask: don't wait for exit statusZac Medico2012-02-131-4/+6
| | | | | | Synchronous waiting for status is not supported, since it would be vulnerable to hitting the recursion limit when a large number of tasks need to be terminated simultaneously, like in bug #402335.
* test_poll: use TaskSchedulerZac Medico2012-02-081-7/+7
|
* IpcDaemonTestCase: init start_time earlierZac Medico2012-02-081-2/+2
| | | | | | Since commit 4620d6aba1c5c10344e311585516ee43819b703c, the SequentialTaskQueue.add() method starts the task immediately, so initialize start_time before that happens.
* PollScheduler: don't inherit EventLoopZac Medico2012-02-081-1/+1
|
* test_config: fix AttributeError: 'str'Zac Medico2012-01-121-1/+2
|
* RepoConfig.update(): copy more attributesZac Medico2011-12-272-7/+5
| | | | | | | | | | This fixes a regression since commit 10246cd535f909dda8bd05de617c32d2b8a56b4a which caused layout.conf settings such as thin-manifests to be ignored for repositories that had repos.conf settings that did not specify the repository location. In order to trigger this case, ResolverPlayground has been modified to omit the location of each repository in the repos.conf file that it generates.
* _pty.py: remove _test_pty_eof()Zac Medico2011-12-221-26/+0
| | | | | | | | | | | If array.fromfile() is not used, then _test_pty_eof() is useless. This function was for runtime detection of python issue 5380: http://bugs.python.org/issue5380 However, array.fromfile() use has since been abandoned due to bugs that exist in all known versions of Python (including Python 2.7 and Python 3.2). See PipeReaderArrayTestCase, for example.
* test_poll: separate classes for pipe vs. ptyZac Medico2011-12-181-14/+23
| | | | Also, generate appropriate SKIP message if pty is not acquired.
* PipeReaderArrayTestCase: sleep for fast computersZac Medico2011-12-181-1/+4
| | | | Allows reliable triggering of the failure mode on fast computers.
* tests/emerge: PORTAGE_GRPNAME/USERNAME make.confZac Medico2011-12-161-2/+2
|
* _test_pty_eof: use os.read, not array.fromfileZac Medico2011-12-161-27/+2
| | | | | | We have abandoned array.fromfile() due to bugs that exist in all known versions of Python (including Python 2.7 and Python 3.2). See PipeReaderArrayTestCase, for example.
* test_poll: add note about unbuffered fdopenZac Medico2011-12-161-0/+3
|
* test_poll: fix array testZac Medico2011-12-161-62/+20
| | | | | Since SpawnProcess no longer uses array, add conditional array support to PipeReader and use that for tests.
* PtyEofFdopenUnBufferedTestCase: PyPy TODOZac Medico2011-12-151-0/+6
| | | | https://bugs.pypy.org/issue956
* data.py: tweak getgrnam call for PyPyZac Medico2011-12-151-4/+0
| | | | | This makes it unnecessary to explicitly call portage.data._init() in runTests, and fixes some other cases that trigger the same issue.
* runTests: initialize portage.data for PyPyZac Medico2011-12-151-0/+4
|
* SpawnProcess: work around array.fromfile() bugsZac Medico2011-12-151-5/+61
| | | | | | When I extended test_poll to test SpawnProcess array.fromfile() usage, it exposed bugs in array.fromfile() that I couldn't find a way to handle. So, use os.read() instead.
* test_poll: test different sizes, and pty tooZac Medico2011-12-151-6/+17
|
* tests/locks: save/restore global env stateZac Medico2011-12-142-0/+15
| | | | | This ensures that global __PORTAGE_TEST_HARDLINK_LOCKS overrides work correctly for all tests.
* locks.py: fix hardlink locks for bug #394195Zac Medico2011-12-135-5/+73
| | | | | | This updates the hardlink locking code to support the non-blocking, lockfile(wantnewlockfile=False), and lockfile(file_object) behaviors which are used by portage code.
* Don't nest sandbox in emerge/repoman tests.Zac Medico2011-12-112-1/+6
|
* ResolverPlayground: don't nest sandboxZac Medico2011-12-101-0/+4
|
* Use portage.shutil for safer unicode handling.Zac Medico2011-12-106-7/+7
|
* Rename override var to PORTAGE_OVERRIDE_EPREFIX.Zac Medico2011-12-092-2/+2
|
* create_trees: add public eprefix parameterZac Medico2011-12-091-2/+1
|
* config: make eprefix constructor parameter publicZac Medico2011-12-091-1/+1
|
* Use portage.const.EPREFIX more.Zac Medico2011-12-091-1/+1
|
* tests/bin: sanitize envZac Medico2011-12-081-3/+3
| | | | This fixes interference from FEATURES=force-prefix in the env.
* Use 'wget' instead of /usr/bin/wget everywhere.Zac Medico2011-12-081-1/+1
| | | | This reduces the amount of patching needed for prefix installs.
* test_uniqueArray.py: fix 'is' usage PyPy incompatZac Medico2011-12-011-3/+3
|
* depgraph: don't merge portage asapZac Medico2011-11-171-8/+0
| | | | | There's no need to do this anymore, because we don't restart since commit d3f704a425a50b5cfa997a25866929b30f1b7d0f.
* pkg_pretend: clean first for bug #390711Zac Medico2011-11-161-0/+4
|
* tests/emerge: best/has_version with prefix EAPIZac Medico2011-11-081-0/+15
|
* test_multislot: fix EAPIZac Medico2011-11-071-2/+2
|
* test_dodir: fix breakage from last commitZac Medico2011-11-011-0/+1
| | | | We have to set the EAPI for prefix code to work.
* Add EPREFIX and ED support in all ebuild helpers.Zac Medico2011-11-011-9/+15
| | | | This allows our prefix tests to use helpers like insinto, doins, and dosym.
* ResolverPlayground: remove unused root attributeZac Medico2011-10-282-5/+3
|
* parse_layout_conf: fix profile-formats warningZac Medico2011-10-271-0/+1
|
* Run pkg_pretend in PORTAGE_TMPDIR for bug #388593Zac Medico2011-10-271-0/+5
|
* Add emerge --check-news for bug #388233.Zac Medico2011-10-261-0/+2
|
* test_config: test PORTDIR default mastersZac Medico2011-10-251-0/+5
|
* Use EROOT instead of ROOT for keys everywhere.Zac Medico2011-10-255-14/+14
| | | | | | | | | | It makes more sense to use EROOT instead of ROOT for keys in mappings like portage.db, since it allows for multiple prefixes to exist simultaneously within the same map without having a key collision. This affects all portageq commands which take a <root> parameter, since that parameter now corresponds to EROOT instead of ROOT. None of this makes any difference for non-prefix users, since EROOT and ROOT are identical when EPREFIX is empty.