Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 1C118431FC7 for ; Fri, 23 May 2014 03:45:51 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -0.799 X-Spam-Level: X-Spam-Status: No, score=-0.799 tagged_above=-999 required=5 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id nH2erfIOJY7P for ; Fri, 23 May 2014 03:45:47 -0700 (PDT) Received: from mail-ob0-f174.google.com (mail-ob0-f174.google.com [209.85.214.174]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id 47671431FAE for ; Fri, 23 May 2014 03:45:47 -0700 (PDT) Received: by mail-ob0-f174.google.com with SMTP id uz6so5167239obc.5 for ; Fri, 23 May 2014 03:45:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=b0ByPJJF0IFa8ZTOrQ9VUIaC7K/bUHC/PrkEJt81DAo=; b=UphEQjXUd08gEeThJZkSdkCOl5oItf5wbQKfVNl8gYhxC6nwTyHBNcVrHJVgk+cw5p 4mOwYG6QVNn03g+s4n++4fZk7jExR3L1HVQjIOiFMRvRvMa3uNVn39mssSllNkCo7ma7 YrQzyRcjWAPXibLV0Z2NvbLjvi9zmpkYwcAFrDXujlrNvOYSp2CP1/ZgkvSBRev/8Y/s rilZ833BrwNTWZaZrBxDi2BiSGHmdyeWMOYsPhqvnnQIkBPbPFOu9x9sFtZSqkb65ORr s0yxbTvcQpQ0CHfHD1+xoj1T5J7ABwPgr3wbU6Jjfr3YMM2rQwPlzeNKYQ4GlIL/vPzl 0wyg== X-Received: by 10.182.29.8 with SMTP id f8mr3765851obh.43.1400841945784; Fri, 23 May 2014 03:45:45 -0700 (PDT) Received: from localhost (189-211-224-40.static.axtel.net. [189.211.224.40]) by mx.google.com with ESMTPSA id e16sm4859837obs.26.2014.05.23.03.45.44 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 23 May 2014 03:45:45 -0700 (PDT) From: Felipe Contreras To: notmuch@notmuchmail.org Subject: [PATCH 0/3] Build and test Ruby bindings Date: Fri, 23 May 2014 05:34:24 -0500 Message-Id: <1400841267-12807-1-git-send-email-felipe.contreras@gmail.com> X-Mailer: git-send-email 1.9.3+fc1~5~gfaddd51 Cc: Ali Polatel X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 May 2014 10:45:51 -0000 This patch series adds simple tests for the Ruby bindings, which don't really make sense to add unless we build the bindings by default, so I added support for that. Unfortunately the pkg-config files for Ruby are specific to each major version, so we have to check for Ruby 2.1, 2.0, 1.9, etc. For now I'm checking only for Ruby 2.1, but more versions can be added later if demanded. Since this support wasn't there before nothing will be broken if we don't build on say, Ruby 2.0. Felipe Contreras (3): build: don't add sub Makefiles to the global deps build: add support to build Ruby bindings test: add tests for Ruby bindings Makefile | 2 +- bindings/ruby/Makefile.local | 21 ++++++++++ bindings/ruby/extconf.rb | 14 +------ configure | 21 ++++++++++ test/T540-ruby.sh | 98 ++++++++++++++++++++++++++++++++++++++++++++ test/test-lib.sh | 1 + 6 files changed, 144 insertions(+), 13 deletions(-) create mode 100644 bindings/ruby/Makefile.local create mode 100755 test/T540-ruby.sh -- 1.9.3+fc1~5~gfaddd51