[opensuse-buildservice] Automatic test for correct installation
Hello, as far as I understand it, there is currently no test whether a package build by the build service can also be installed (if it is not used by other packages). Maybe there already is such a test and I just did not find the correct settings? If not, one solution would be to create a dummy package which has a BuildRequires line mentioning just the package to test. In the build part it could try to execute an exectuable of the package and report failures. Is it possible to create a package consisting of a spec only? Is there an easier way to achieve this, because I would need one extra package for every package I want to test? Thanks for your help and for providing this service, Michael -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Le mardi 28 octobre 2008, à 23:42 +0100, Michael Behrisch a écrit :
Hello, as far as I understand it, there is currently no test whether a package build by the build service can also be installed (if it is not used by other packages).
My understanding is that the package gets installed and uninstalled as part of a series of test at the end of the build. Vincent -- Les gens heureux ne sont pas pressés. -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Am Sonntag, 2. November 2008 16:02 schrieb Vincent Untz:
Le mardi 28 octobre 2008, à 23:42 +0100, Michael Behrisch a écrit :
Hello, as far as I understand it, there is currently no test whether a package build by the build service can also be installed (if it is not used by other packages).
My understanding is that the package gets installed and uninstalled as part of a series of test at the end of the build.
I could not find anything that supports that assumption in my buildlogs. But even if it is the case it would not be a "clean" environment since all the BuildRequires packages already have been installed which you cannot assume for a user who just wants to install the built package. I tried my testpackage approach now but unfortunately it is not allowed to create empty RPMs on openSUSE:Factory. Thus maybe I ask again. Is there an easier way to check for correct installation? Thanks for your help, Michael -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
participants (2)
-
Michael Behrisch
-
Vincent Untz