YaST2 modules testsuite -- Autobuild testing


Autobuild testing

There are some changes you have to do in your spec file in order to test your module during the autobuild.

Update neededforbuild

Your neededforbuild should look like this. You probably don't need any other packages for the build.
    # neededforbuild yast2-devel-packages

Update %build and %install stages

The default predefined devtools macros @BUILD@ and @INSTALL@ are prepared for the testsuite.
@BUILD@
@INSTALL@

Building

Create new spec file and package and use your usual way of building package.
    bash$ make -f Makefile.cvs
    bash$ make package
    bash$ cd package
    bash$ abuild...
If everything succeed, check in the package.

Hunting bugs

Testsuite failed during auto build. What to do now? These steps should help you to hunt the bug: Now you have the same situation as usual. You have failing script, possibility of testing and the y2log output.

Good luck!