Welcome to Soft32 Linux Forums!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Enabling test requiring network on manual builds.

 
   Soft32 Home -> Linux -> Perl RSS
Next:  Bug#533789: llvm-gcc-4.2: non-standard gcc/g++ us..  
Author Message
Charles Plessy

External


Since: Nov 04, 2008
Posts: 144



(Msg. 1) Posted: Sat Sep 19, 2009 11:20 am
Post subject: Enabling test requiring network on manual builds.
Archived from groups: linux>debian>maint>perl (more info?)

Hello, Perl team !

In a package I maintain outside pkg-perl (bioperl), I was curious to see the
results of the regression tests that are network-dependant and therefore
disabled at build time since the network is not available in (many of) the
machines hosting our build daemons.

I have done the following:

# Test if DEB_BUILD_OPTIONS contains a 'network' keyword.
# If yes, network tests will be enabled.

ifneq (,$(filter network,$(DEB_BUILD_OPTIONS)))
NETWORK = --network
endif

build: build-stamp
build-stamp:
dh_testdir
perl Build.PL $(NETWORK) < /dev/null # non-interactive, uses defaults
(…)

However, according to a search in the Debian package, this is specific to
Bioperl:

http://walrus.rave.org/source/search?q=network&path=Build.PL

Are there more generic mechanisms to manage network-dependant tests?

Have a nice day,

--
Charles Plessy
Debian Med packaging team,
http://www.debian.org/devel/debian-med
Tsurumi, Kanagawa, Japan


--
To UNSUBSCRIBE, email to debian-perl-REQUEST.TakeThisOut@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster.TakeThisOut@lists.debian.org
Back to top
Login to vote
Charles Plessy

External


Since: Nov 04, 2008
Posts: 144



(Msg. 2) Posted: Sun Sep 27, 2009 11:20 am
Post subject: Re: Enabling test requiring network on manual builds. [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Le Sat, Sep 19, 2009 at 07:21:59PM +0200, Jonas Smedegaard a écrit :
>
> As package maintainer, I often use "DEB_MAINTAINER_MODE=1 debuild" or
> setup private build daemons with that flag set. My package might
> automagically "morph" into something new, and it is my own
> responsibility to double-check that the changes are sane, before
> releasing as official package.

Hi Jonas,

thank you very much for the suggestion. I now use it for the bioperl package
(maintained by the Debian Med packaging team), and just asked on -devel if
there were many other users and if it should be documented somwhere.

Have a nice day,

--
Charles Plessy
Debian Med packaging team,
http://www.debian.org/devel/debian-med
Tsurumi, Kanagawa, Japan


--
To UNSUBSCRIBE, email to debian-perl-REQUEST RemoveThis @lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster RemoveThis @lists.debian.org
Back to top
Login to vote
Display posts from previous:   
Related Topics:
enabling debuginfo builds on RHEL 3 - Hi, On RedHat 9, by default rpmbuild creates -debuginfo packages at RPM build time. However on RHEL 3, by default it...

gnat-4.1/gcj-4.1 manual builds needed on alpha, arm, m68k,.. - While having built and uploaded things correctly for experimental, I didn't do the same for unstable, which now needs..

manual feed on network printer (apple LW 16/100) - I cannot seem to enable manual feed via cups. On RH 8 I was able to do it, on RH9 and Fedora C1 no go. Even OO.o..

xorg requiring porting for armeb - Hi, Could anyone please have a look at fixing xorg for armeb? There used to be a patch for xorg-x11, but it needs to b...

[gentoo-dev] requiring USE flag? - -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, I have a package with requires that Python and dev-python/Imaging..

[gentoo-dev] Packages requiring explicit db versions? - I'm hoping to advocate some more cleanups in sys-libs/db by proposing the removal of 4.0.* and 4.1.* from portage. 4.2...
       Soft32 Home -> Linux -> Perl All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Categories:
 Windows
  Linux
 Mac
 PDA


[ Contact us | Terms of Service/Privacy Policy ]