From e1eebd6f70c879c16a164cb0be74935988a2399d Mon Sep 17 00:00:00 2001 From: Charles Celerier Date: Wed, 7 May 2014 13:02:23 +2000 Subject: [PATCH] [PATCH 0/5] Improving portability to Mac OS X --- a8/6b047df7f085b1fd76fab464ae77dd8872d139 | 93 +++++++++++++++++++++++ 1 file changed, 93 insertions(+) create mode 100644 a8/6b047df7f085b1fd76fab464ae77dd8872d139 diff --git a/a8/6b047df7f085b1fd76fab464ae77dd8872d139 b/a8/6b047df7f085b1fd76fab464ae77dd8872d139 new file mode 100644 index 000000000..912843ec0 --- /dev/null +++ b/a8/6b047df7f085b1fd76fab464ae77dd8872d139 @@ -0,0 +1,93 @@ +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 3E165431FC2 + for ; Tue, 6 May 2014 10:02:37 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: 0 +X-Spam-Level: +X-Spam-Status: No, score=0 tagged_above=-999 required=5 + tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001] + 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 yLAe6-Q5nCiY for ; + Tue, 6 May 2014 10:02:33 -0700 (PDT) +Received: from qmta02.westchester.pa.mail.comcast.net + (qmta02.westchester.pa.mail.comcast.net [76.96.62.24]) + by olra.theworths.org (Postfix) with ESMTP id 08E09431FAF + for ; Tue, 6 May 2014 10:02:32 -0700 (PDT) +Received: from omta23.westchester.pa.mail.comcast.net ([76.96.62.74]) + by qmta02.westchester.pa.mail.comcast.net with comcast + id yccu1n0011c6gX851h2YHc; Tue, 06 May 2014 17:02:32 +0000 +Received: from jane.lan ([24.11.133.78]) + by omta23.westchester.pa.mail.comcast.net with comcast + id yh2W1n00e1heoKc3jh2XxS; Tue, 06 May 2014 17:02:32 +0000 +From: Charles Celerier +To: notmuch@notmuchmail.org +Subject: [PATCH 0/5] Improving portability to Mac OS X +Date: Tue, 6 May 2014 13:02:23 -0400 +Message-Id: <1399395748-44920-1-git-send-email-cceleri@cs.stanford.edu> +X-Mailer: git-send-email 1.8.5.2 (Apple Git-48) +DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; + s=q20140121; t=1399395752; + bh=KpPKJXZMNpmI/OzAil4i4YwieK0hmqOROvTRtJYqsmY=; + h=Received:Received:From:To:Subject:Date:Message-Id; + b=lNQHMmR5I3GS/mS+zHbMU1Is6q0gpoPG8RQY5ACOuUAp1NKIPgIPPmr/6dw8+uoHK + FqRHDmpqzJo6clgLFU7WNFMhQ1C1A5EFx72SesZuSW8BnC8lXmJQphiDVqjyaL6sPd + K9JFV1tubq+AJZpgp3/9MJz2lmeJlG3BGSVnyfyvVCHBlgRdHvMuiA3KZ5nE7jHDlb + UZabxn5WazqiRf/EVabZu2gvYFlQW+ldSAAHp37btEfwFudsPe91gUYFQO6ok5B2MO + T4K5UUM/Njg6ZA16ju6UehA10YSJvBCtTGKhvTo0U1FQ16vpDmunt2qd+Yvdv5DpVn + IjRwdTTdmg5Kw== +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: Tue, 06 May 2014 17:02:37 -0000 + +The patches in this series include a number of minor changes intended to better +support the portability of notmuch to Mac OS X. The changes are relatively +non-intrusive. You may observe that these patches apply entirely to the notmuch +tests; it turns out, with the exception of the tests, notmuch ports very well +to Mac OS X. =] + +Note that I have used GNU programs where possible (e.g. nm, sed, date, etc.) so +as to not introduce changes to the testing framework that are easily resolved +by installing standard GNU programs. For example, on Mac OS X the date program +is a BSD variant that does not include the '-d' option that allows specifying a +time to display. This appears to be necessary when testing on Mac OS X; I will +try to note this somewhere on the notmuch wiki soon. + +Best, +Chuck + +P.S. This is my first time submitting patches to a mailing list, so forgive me if I +have made any foolish mistakes in my attempt to submit changes. + + +Charles Celerier (5): + test/Makefile.local: Added configured TALLOC_LDFLAGS. + configure, test: Added variables for paths to true and false. + atomicity.gdb: Allow breakpoint symbols to be resolved later. + T360-symbol-hiding: Added code to support testing on Mac OS X. + T360-symbol-hiding: Use nm instead of objdump. + + configure | 6 ++++++ + test/Makefile.local | 10 +++++----- + test/T360-symbol-hiding.sh | 12 ++++++++++-- + test/atomicity.gdb | 3 +++ + 4 files changed, 24 insertions(+), 7 deletions(-) + +-- +1.8.5.2 (Apple Git-48) + -- 2.26.2