Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/pactest
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2007-07-02 10:06:03 -0400
committerDan McGee <dan@archlinux.org>2007-07-02 10:06:03 -0400
commit59d9ccf48d84fd1e59f78cb4dcf428e53d1c6911 (patch)
tree160712a8711a03ec45ee3a49d402ee4228b0dd89 /pactest
parent4d9b5d4a2a4cf96de8d6b4afa34a4d3424bf96b4 (diff)
Reduce delay in pactest when running MODIFIED tests
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>
Diffstat (limited to 'pactest')
-rwxr-xr-xpactest/pmenv.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/pactest/pmenv.py b/pactest/pmenv.py
index bff32e98..3b54afc0 100755
--- a/pactest/pmenv.py
+++ b/pactest/pmenv.py
@@ -68,12 +68,10 @@ class pmenv:
t.generate()
# Hack for mtimes consistency
- modified = 0
for i in t.rules:
if i.rule.find("MODIFIED") != -1:
- modified = 1
- if modified:
- time.sleep(3)
+ time.sleep(1.5)
+ break
t.run(self.pacman)