Advertisement
Guest User

auto_open.email

a guest
Sep 29th, 2014
280
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.87 KB | None | 0 0
  1. Return-path: <bup-list+bncBC4NBW5G64EBB5GDSWQQKGQE56RNBZQ@googlegroups.com>
  2. X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ahiker.mooo.com
  3. X-Spam-Status: No
  4. X-Spam-Level:
  5. X-Spam-Score: -2.8
  6. X-Spam-Tests: BAYES_00=-1.9,DKIM_ADSP_CUSTOM_MED=0.001,DKIM_SIGNED=0.1,
  7. DKIM_VALID=-0.1,FREEMAIL_FORGED_FROMDOMAIN=0.001,FREEMAIL_FROM=0.001,
  8. HEADER_FROM_DIFFERENT_DOMAINS=0.001,RCVD_IN_DNSWL_LOW=-0.7,
  9. RCVD_IN_MSPIKE_H2=-0.245
  10. Envelope-to: itz@ahiker.mooo.com
  11. Delivery-date: Fri, 26 Sep 2014 06:39:08 -0700
  12. Received: from disorder.primate.net ([198.144.194.12] helo=acedia.primate.net)
  13. by ahiker.mooo.com with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256)
  14. (Exim 4.80)
  15. (envelope-from <bup-list+bncBC4NBW5G64EBB5GDSWQQKGQE56RNBZQ@googlegroups.com>)
  16. id 1XXV2W-0001RP-4Z
  17. for itz@ahiker.mooo.com; Fri, 26 Sep 2014 05:54:24 -0700
  18. Received: from acedia.primate.net (localhost [127.0.0.1])
  19. by acedia.primate.net (8.14.4/8.14.4/Debian-7) with ESMTP id s8QCsNNd003122
  20. (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT)
  21. for <itz@ahiker.mooo.com>; Fri, 26 Sep 2014 05:54:23 -0700
  22. Received: (from itz@localhost)
  23. by acedia.primate.net (8.14.4/8.14.4/Submit) id s8QCsNq4003121
  24. for itz@ahiker.mooo.com; Fri, 26 Sep 2014 05:54:23 -0700
  25. X-Authentication-Warning: acedia.primate.net: itz set sender to bup-list+bncBC4NBW5G64EBB5GDSWQQKGQE56RNBZQ@googlegroups.com using -f
  26. Received: from mail-pd0-f187.google.com (mail-pd0-f187.google.com [209.85.192.187])
  27. by acedia.primate.net (8.14.4/8.14.4/Debian-7) with ESMTP id s8QCsN7U003098
  28. (version=TLSv1/SSLv3 cipher=ECDHE-RSA-RC4-SHA bits=128 verify=NOT)
  29. for <itz@buug.org>; Fri, 26 Sep 2014 05:54:23 -0700
  30. Received: by mail-pd0-f187.google.com with SMTP id z10sf417933pdj.24
  31. for <itz@buug.org>; Fri, 26 Sep 2014 05:54:14 -0700 (PDT)
  32. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
  33. d=googlegroups.com; s=20120806;
  34. h=from:to:cc:subject:date:message-id:mime-version:x-original-sender
  35. :x-original-authentication-results:precedence:mailing-list:list-id
  36. :list-post:list-help:list-archive:sender:list-subscribe
  37. :list-unsubscribe:content-type;
  38. bh=HomwN8FxGx8+w4T0FhdmwBlS3oFR4CTfD42olDF5zKI=;
  39. b=rQmmfKJb0mATBwDoTnY7RTsFwALJufu/403z2PFtfuHqQLBlyh4kJUtjjznSmpYBB9
  40. kEclcu6fhZBbQOriMzxkbTzlblvWMY02u6OrbwqadTLQHLW5dwxGpyPvT4EI3LspjFAk
  41. tff6fYM4rZfT+Z2IhkeW/KbE07qL40Q//6wnNRlDm31gBvatZrvUyhxk40O4XO4yaVsM
  42. buTi2bTCTMOyxTZxbXZVZQ7osxdKL5INTUp/i/VfGzKpMaEVb0/IApzdDa6rQAiU897c
  43. W+OH/XmydXDjXHzUaxe/DmvUNHA62j67D9+28ra3MPtyjcptJ+eML5uwqmFJ9A0JLnFz
  44. UWOg==
  45. X-Received: by 10.182.205.131 with SMTP id lg3mr1750obc.18.1411736053201;
  46. Fri, 26 Sep 2014 05:54:13 -0700 (PDT)
  47. X-BeenThere: bup-list@googlegroups.com
  48. Received: by 10.182.84.162 with SMTP id a2ls98365obz.73.gmail; Fri, 26 Sep
  49. 2014 05:54:12 -0700 (PDT)
  50. X-Received: by 10.182.199.4 with SMTP id jg4mr15799736obc.43.1411736052515;
  51. Fri, 26 Sep 2014 05:54:12 -0700 (PDT)
  52. Received: from mail-pa0-x230.google.com (mail-pa0-x230.google.com [2607:f8b0:400e:c03::230])
  53. by gmr-mx.google.com with ESMTPS id rj9si622188pdb.1.2014.09.26.05.54.12
  54. for <bup-list@googlegroups.com>
  55. (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
  56. Fri, 26 Sep 2014 05:54:12 -0700 (PDT)
  57. Received-SPF: pass (google.com: domain of w.rouesnel@gmail.com designates 2607:f8b0:400e:c03::230 as permitted sender) client-ip=2607:f8b0:400e:c03::230;
  58. Received: by mail-pa0-f48.google.com with SMTP id bj1so5972693pad.7
  59. for <bup-list@googlegroups.com>; Fri, 26 Sep 2014 05:54:12 -0700 (PDT)
  60. X-Received: by 10.66.249.135 with SMTP id yu7mr31036806pac.103.1411736052370;
  61. Fri, 26 Sep 2014 05:54:12 -0700 (PDT)
  62. Received: from will-desktop.internal (14-200-69-67.static.tpgi.com.au. [14.200.69.67])
  63. by mx.google.com with ESMTPSA id q1sm4894772pds.69.2014.09.26.05.54.09
  64. for <multiple recipients>
  65. (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128);
  66. Fri, 26 Sep 2014 05:54:11 -0700 (PDT)
  67. From: Will Rouesnel <w.rouesnel@gmail.com>
  68. To: bup-list@googlegroups.com
  69. Cc: Will Rouesnel <w.rouesnel@gmail.com>
  70. Subject: [RFC] Parallalize running test script components.
  71. Date: Fri, 26 Sep 2014 22:54:00 +1000
  72. Message-Id: <1411736040-6885-1-git-send-email-w.rouesnel@gmail.com>
  73. X-Mailer: git-send-email 1.9.1
  74. MIME-Version: 1.0
  75. X-Original-Sender: W.Rouesnel@gmail.com
  76. X-Original-Authentication-Results: gmr-mx.google.com; spf=pass
  77. (google.com: domain of w.rouesnel@gmail.com designates 2607:f8b0:400e:c03::230
  78. as permitted sender) smtp.mail=w.rouesnel@gmail.com; dkim=pass
  79. header.i=@gmail.com; dmarc=pass (p=NONE dis=NONE) header.from=gmail.com
  80. Precedence: list
  81. Mailing-list: list bup-list@googlegroups.com; contact bup-list+owners@googlegroups.com
  82. List-ID: <bup-list.googlegroups.com>
  83. X-Google-Group-Id: 693439103472
  84. List-Post: <http://groups.google.com/group/bup-list/post>, <mailto:bup-list@googlegroups.com>
  85. List-Help: <http://groups.google.com/support/>, <mailto:bup-list+help@googlegroups.com>
  86. List-Archive: <http://groups.google.com/group/bup-list
  87. Sender: bup-list@googlegroups.com
  88. List-Subscribe: <http://groups.google.com/group/bup-list/subscribe>, <mailto:bup-list+subscribe@googlegroups.com>
  89. List-Unsubscribe: <mailto:googlegroups-manage+693439103472+unsubscribe@googlegroups.com>,
  90. <http://groups.google.com/group/bup-list/subscribe>
  91. Content-Type: multipart/mixed; boundary="------------1.9.1"
  92.  
  93. This is a multi-part message in MIME format.
  94. --------------1.9.1
  95. Content-Type: text/plain; charset=UTF-8; format=fixed
  96. Content-Transfer-Encoding: 8bit
  97.  
  98.  
  99. This patch does two things: firstly it turns the regular shell script
  100. test executor into a wildcard match, to make adding new shell script tests
  101. easier. It matches on t/t*.sh, same as the Python test runner.
  102.  
  103. Secondly: it turns the script runner into a set of regular make dependencies,
  104. singular to each test file. This enables running make -jN to parallize the test
  105. runner.
  106.  
  107. This seems to yield impressive improvements to test times: 166 sec -> 44 sec
  108. with make -j16 on an i7.
  109.  
  110. Since our tests are king, this is a big win. The new behavior can be trivially
  111. switched off by simply running regular make. There may be some race conditions
  112. in test scripts.
  113. ---
  114. Makefile | 39 +++++++++++++++------------------------
  115. 1 file changed, 15 insertions(+), 24 deletions(-)
  116.  
  117.  
  118. --------------1.9.1
  119. Content-Type: text/plain; charset=ISO-8859-1
  120. Content-Disposition: inline
  121.  
  122. --
  123. You received this message because you are subscribed to the Google Groups "bup-list" group.
  124. To unsubscribe from this group and stop receiving emails from it, send an email to bup-list+unsubscribe@googlegroups.com.
  125. For more options, visit https://groups.google.com/d/optout.
  126.  
  127. --------------1.9.1
  128. Content-Type: text/x-patch; name="0001-Parallalize-running-test-script-components.patch"
  129. Content-Transfer-Encoding: 8bit
  130. Content-Disposition: inline; filename="0001-Parallalize-running-test-script-components.patch"
  131.  
  132. diff --git a/Makefile b/Makefile
  133. index 97f9338..4fbb891 100644
  134. --- a/Makefile
  135. +++ b/Makefile
  136. @@ -12,6 +12,9 @@ else
  137. test_tmp := $(CURDIR)/t/tmp
  138. endif
  139.  
  140. +TEST_SH := $(wildcard t/t*.sh)
  141. +TEST_PY := $(wildcard t/t*.py) $(wildcard lib/*/t/t*.py)
  142. +
  143. default: all
  144.  
  145. all: bup Documentation/all
  146. @@ -82,33 +85,21 @@ lib/bup/_version.py:
  147.  
  148. runtests: all runtests-python runtests-cmdline
  149.  
  150. -runtests-python: all
  151. +.PHONY: ${TEST_PY}
  152. +${TEST_PY}: all
  153. test -e t/tmp || mkdir t/tmp
  154. - TMPDIR="$(test_tmp)" $(PYTHON) wvtest.py t/t*.py lib/*/t/t*.py
  155. + TMPDIR="$(test_tmp)" $(PYTHON) wvtest.py $@
  156. +
  157. +.PHONY: runtests-python
  158. +runtests-python: ${TEST_PY}
  159.  
  160. -runtests-cmdline: all
  161. +.PHONY: ${TEST_SH}
  162. +${TEST_SH}: all
  163. test -e t/tmp || mkdir t/tmp
  164. - TMPDIR="$(test_tmp)" t/test-fuse.sh
  165. - TMPDIR="$(test_tmp)" t/test-drecurse.sh
  166. - TMPDIR="$(test_tmp)" t/test-cat-file.sh
  167. - TMPDIR="$(test_tmp)" t/test-compression.sh
  168. - TMPDIR="$(test_tmp)" t/test-fsck.sh
  169. - TMPDIR="$(test_tmp)" t/test-index-clear.sh
  170. - TMPDIR="$(test_tmp)" t/test-index-check-device.sh
  171. - TMPDIR="$(test_tmp)" t/test-ls.sh
  172. - TMPDIR="$(test_tmp)" t/test-meta.sh
  173. - TMPDIR="$(test_tmp)" t/test-on.sh
  174. - TMPDIR="$(test_tmp)" t/test-restore-map-owner.sh
  175. - TMPDIR="$(test_tmp)" t/test-restore-single-file.sh
  176. - TMPDIR="$(test_tmp)" t/test-rm-between-index-and-save.sh
  177. - TMPDIR="$(test_tmp)" t/test-command-without-init-fails.sh
  178. - TMPDIR="$(test_tmp)" t/test-redundant-saves.sh
  179. - TMPDIR="$(test_tmp)" t/test-save-creates-no-unrefs.sh
  180. - TMPDIR="$(test_tmp)" t/test-save-restore-excludes.sh
  181. - TMPDIR="$(test_tmp)" t/test-save-strip-graft.sh
  182. - TMPDIR="$(test_tmp)" t/test-import-rdiff-backup.sh
  183. - TMPDIR="$(test_tmp)" t/test-xdev.sh
  184. - TMPDIR="$(test_tmp)" t/test.sh
  185. + TMPDIR="$(test_tmp)" $@
  186. +
  187. +.PHONY: runtests-cmdline
  188. +runtests-cmdline: ${TEST_SH}
  189.  
  190. stupid:
  191. PATH=/bin:/usr/bin $(MAKE) test
  192.  
  193. --------------1.9.1--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement