summaryrefslogtreecommitdiff
path: root/pactest/pmenv.py
Commit message (Collapse)AuthorAge
* pactest: remove need for pause when running testsDan McGee2008-08-23
| | | | | | | | | | | Instead of pausing 1.5 seconds on tests that check file mtimes, change the mtimes to something in the far past so we can immediately tell if a file was modified and/or touched. This saves a decent amount of time on the upgrade tests which often check mtimes. 355 was a completely arbitrary time value, don't ask me why I picked it. Signed-off-by: Dan McGee <dan@archlinux.org>
* pactest: exit with a non-zero error code on unexpected failureDan McGee2008-07-24
| | | | | | | This will allow the return code of pactest to be useful, for such things as use in a git-bisect test script. Signed-off-by: Dan McGee <dan@archlinux.org>
* pactest: add test.expectfailure option for testsDan McGee2008-07-24
| | | | | | | | This will enable us to mark tests we know currently fail to differentiate them from those that we know should pass. Regressions should be easier to spot this way. Signed-off-by: Dan McGee <dan@archlinux.org>
* Update GNU GPL boilerplate and copyright datesDan McGee2007-12-10
| | | | | | | Update the GPL boilerplate to direct people to the GNU website for a copy of the license, as well as bump all of Judd's copyrights to 2007. Signed-off-by: Dan McGee <dan@archlinux.org>
* Reduce delay in pactest when running MODIFIED testsDan McGee2007-07-02
| | | | | | | pactest was sleeping for 3 seconds, which is unnecessary. Reduce it to 1.5 seconds and clean up the code a bit anyway. Signed-off-by: Dan McGee <dan@archlinux.org>
* * Modified values of INFRQ_* options so we start at 0x01 and not 0x00. ThisDan McGee2007-03-01
| | | | | | | | | | | | allows for the same bit operators to be used across the board on pkg_get operations. * Changed name of INFRQ_NONE -> INFRQ_BASE to more clearly reflect what it does (loads pkg name and version). * Added a few missing things on package functions, such as SYMEXPORT and ALPM_LOG_FUNC. * Slight updates to pmenv to print 'pass' and 'fail' instead of 'passed' and 'failed'. Keeps output a bit more concise. * Fixed a doxygen comment spelling error. :P
* * Unifying placement of REPLACES in desc file, as pacman2 does. We'll worryDan McGee2007-02-28
| | | | | | | | about bigger DB changes later, but lets not screw anything up for release. * Removed some weird uses of "not ... ==" usage in pactest- correct me if I'm wrong, but isn't "!=" a lot more clean and concise? * Print description of failed tests in the pactest summary. This could get dirty with a lot of failed tests though, so watch out.
* * Added another test- I believe it is a possible situation and one we need toDan McGee2007-02-27
| | | | | deal with. Currently, libalpm with AND without Nagy's patch fails it. * Slight spacing update to pmenv.py.
* * corrected (IMO) --debug usage with pactest. --debug is now passed straightAaron Griffin2007-02-26
| | | | | | | | through to pacman, whereas --verbose affects the pactest output - this cleans up the standard test output significantly * sorted tests a bit better, sectioning off failed tests AFTER successful tests, to make it easier to see what failed at a glance * added a 'testname' member to pmtest, which strips path info (cleaner output)
* * Changes to quite a few of the tests, mostly minimal changes (betterDan McGee2007-02-23
| | | | | | descriptions, additional rules, etc) * One new pactest test regarding file migration between packages. * Fix of a little output bug in pmenv.py
* *** empty log message ***Aaron Griffin2007-02-23
|
* Fixed up the output a bit.Dan McGee2007-02-21
|
* * Indentation changes - 4 spaces for python, we standardized this before (andAaron Griffin2007-02-21
| | | | | it's a PEP) * Modified some sync tests
* Added pactest to repository, from Aurelien Foret:Aaron Griffin2006-10-15
http://aurelien.foret.free.fr/archlinux/pactest/