Mailinglist Archive: opensuse-buildservice (272 mails)
| < Previous | Next > |
Re: [opensuse-buildservice] Running testsuite only on local build?
- From: Marcus Hüwe <suse-tux@xxxxxx>
- Date: Fri, 6 Apr 2012 17:21:32 +0200
- Message-id: <20120406152132.GB2304@linux.uni-paderborn.de>
On 2012-04-06 16:56:45 +0200, Andreas Jaeger wrote:
"osc meta prjconf <devel project>").
Marcus
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-buildservice+owner@xxxxxxxxxxxx
On 04/06/2012 01:27 PM, Marcus Hüwe wrote:Of course you can also define this macro in your devel project (via
On 2012-04-06 13:03:52 +0200, Andreas Jaeger wrote:
Is it possible to check in the spec file whether I'm building withHmm you could define the "testsuite" macro when running a local build:
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
%else
%define run_testsuite 1
%endif
It disabled the testsuite with osc as well.
I want to run the testsuite for glibc not as part of
openSUSE:Factory but have it run e.g. locally. How can I achieve
this best?
"osc build --define 'testsuite 1'" and in the spec just add something like
this:
%if 0%{?testsuite}
# run testsuite
%endif
Thanks - but is there no way that everybody running it locally - or
in the devel project - automatically gets to run the testsuite?
"osc meta prjconf <devel project>").
Marcus
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-buildservice+owner@xxxxxxxxxxxx
| < Previous | Next > |