1
0
mirror of https://github.com/moparisthebest/pacman synced 2024-11-14 13:25:09 -05:00
pacman/test/pacman/tests/sync406.py
Allan McRae 844d82fad8 Move pacman test suite
Move the test suite to test/pacman in order to make a logical
location for a future makepkg test suite.

Signed-off-by: Allan McRae <allan@archlinux.org>
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-06-02 13:14:51 -05:00

32 lines
702 B
Python

self.description = "phonon/qt issue (2)"
sp1 = pmpkg("kdelibs")
sp1.depends = ["phonon"]
self.addpkg2db("sync", sp1);
sp2 = pmpkg("qt", "4.6.1-1")
self.addpkg2db("sync", sp2)
sp3 = pmpkg("phonon")
self.addpkg2db("sync", sp3)
sp4 = pmpkg("kdeapp")
sp4.depends = ["qt>=4.6"]
self.addpkg2db("sync", sp4)
lp = pmpkg("qt", "4.5.3-1")
lp.provides = ["phonon"]
lp.conflicts = ["phonon"]
self.addpkg2db("local", lp)
self.args = "-S %s" % " ".join([p.name for p in sp1, sp4])
self.addrule("PACMAN_RETCODE=0")
self.addrule("PKG_EXIST=kdelibs")
self.addrule("PKG_EXIST=qt")
self.addrule("PKG_EXIST=phonon")
self.addrule("PKG_EXIST=kdeapp")
self.addrule("PKG_VERSION=qt|4.6.1-1")
self.expectfailure = True