Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtest/pacman/pactest.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/pacman/pactest.py b/test/pacman/pactest.py
index 20af41dc..c295bfc0 100755
--- a/test/pacman/pactest.py
+++ b/test/pacman/pactest.py
@@ -125,7 +125,8 @@ if __name__ == "__main__":
# parse options
opt_parser = create_parser()
- (opts, args) = opt_parser.parse_args()
+ (opts, args) = opt_parser.parse_args(args=os.getenv('PACTEST_OPTS', '').split())
+ (opts, args) = opt_parser.parse_args(values=opts)
if args is None or len(args) == 0:
tap.bail("no tests defined, nothing to do")