kgio RubyGem user+dev discussion/patches/pulls/bugs/help
 help / color / mirror / code / Atom feed
From: Hleb Valoshka <375gnu@gmail.com>
To: kgio@librelist.org
Subject: Re: Concurrency issue in TestKgioUnixConnect?
Date: Thu, 5 Sep 2013 15:35:04 +0300	[thread overview]
Message-ID: <CAAB-Kckby-Sbpp1zJyNxa4Nz68U58KCKtHp7Ti0AHAH2mpP+Dw@mail.gmail.com> (raw)
In-Reply-To: 20130905081408.GA27637@dcvr.yhbt.net

On 9/5/13, Eric Wong <normalperson@yhbt.net> wrote:
> "make -j" runs them in parallel, but in completely isolated processes
> (not loading unrelated test files, either).  I haven't checked, does the
> Debian ruby build scripts use threads or load all the tests into the
> same process?

gem2deb logic is very simple:

if exists ruby-tests.rake then run rake ruby-tests.rake
else if exists ruby-tests.rb then run ruby ruby-tests.rb
else if exists ruby-test-files.yaml then
  YAML.load('ruby-test-files.yaml').each {|f| require f}
end

So in 1st and 2nd cases this is the maintainer's job to deside how to
run tests but in 3rd everything depends on test/unit from ruby
distribution.


      reply	other threads:[~2013-09-05 12:35 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-01 14:03 Concurrency issue in TestKgioUnixConnect? Jérémy Bobbio
2013-09-01 16:57 ` Hleb Valoshka
2013-09-01 19:58   ` Eric Wong
2013-09-02 12:57     ` Hleb Valoshka
2013-09-02 21:24       ` Eric Wong
2013-09-03  8:50         ` Hleb Valoshka
2013-09-03 20:05           ` Eric Wong
2013-09-05 20:53           ` Hleb Valoshka
2013-09-05 23:11             ` Eric Wong
2013-09-06  8:56               ` Hleb Valoshka
2013-09-05  7:58       ` Hleb Valoshka
2013-09-05  8:14         ` Eric Wong
2013-09-05 12:35           ` Hleb Valoshka [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://yhbt.net/kgio/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAAB-Kckby-Sbpp1zJyNxa4Nz68U58KCKtHp7Ti0AHAH2mpP+Dw@mail.gmail.com \
    --to=375gnu@gmail.com \
    --cc=kgio@librelist.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://yhbt.net/kgio.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).