Mailinglist Archive: opensuse-buildservice (157 mails)

< Previous Next >
Re: [opensuse-buildservice] Running testsuite only on local build?
Am 06.04.2012 13:03, schrieb Andreas Jaeger:
Is it possible to check in the spec file whether I'm building with osc locally or in obs? Or whether it's in Factory or in my home project?

The following did not work for me:
# Enable testsuite runs for local builds
%if 0%{?opensuse_bs}
%define run_testsuite 0
%define run_testsuite 1
%bcond_with testsuite

%if 0%{?with testsuite}

then you can do on local builds
osc build .... --with testsuite

I used this several times on different perl packages.


- Please do not 'CC' me on list mails.
Just reply to the list :)
Der ultimative shop für Sportbekleidung und Zubehör

To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-buildservice+owner@xxxxxxxxxxxx

< Previous Next >