From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?q?=C3=86var=20Arnfj=C3=B6r=C3=B0=20Bjarmason?= Subject: [PATCH 2/2] t/README: Document the Smoke testing Date: Mon, 2 Aug 2010 20:24:44 +0000 Message-ID: <1280780684-26344-3-git-send-email-avarab@gmail.com> References: <1280780684-26344-1-git-send-email-avarab@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: Junio C Hamano , =?UTF-8?q?=C3=86var=20Arnfj=C3=B6r=C3=B0=20Bjarmason?= To: git@vger.kernel.org X-From: git-owner@vger.kernel.org Mon Aug 02 22:25:20 2010 Return-path: Envelope-to: gcvg-git-2@lo.gmane.org Received: from vger.kernel.org ([209.132.180.67]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Og1ZU-000317-LJ for gcvg-git-2@lo.gmane.org; Mon, 02 Aug 2010 22:25:17 +0200 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755255Ab0HBUZJ convert rfc822-to-quoted-printable (ORCPT ); Mon, 2 Aug 2010 16:25:09 -0400 Received: from mail-wy0-f174.google.com ([74.125.82.174]:47650 "EHLO mail-wy0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755223Ab0HBUZF (ORCPT ); Mon, 2 Aug 2010 16:25:05 -0400 Received: by mail-wy0-f174.google.com with SMTP id 39so3672287wyb.19 for ; Mon, 02 Aug 2010 13:25:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:date :message-id:x-mailer:in-reply-to:references:mime-version :content-type:content-transfer-encoding; bh=55Puk0GE3fGkWBKEhV8oEs020XA4trKCDMUHs97iA/Y=; b=FJLrLea69xycHyqRy7/S5AoMuZCkdB62FZQ1KOj3SI3JhWkrONeFpq/+QNofpuQkKK CHudR1N48y6hfiNUtFb64tbwJWx+zEVmPDIxadeiJcn/3ki8PkWA/fDFT0nD98DzXdAd 5QRhFxuw1JWi6ONvah/TZyjBhRtwu6Q2jRN3s= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references :mime-version:content-type:content-transfer-encoding; b=YSYuHKx7W8pS6yqy4+jgqeh3bx0gVJnhN1Tk35QXLOrNl2bLOYDHdiK3t+Tl9MPpLt STIXQJJOrZ3ofJjuOObkTXc2S3m6O9GCpwjj8Vqvzk9XSlpSBlJK83W4YFalu3Cl77D6 5zq2RpAOtvWdmVF3XiJwDasHMI3xrO1UXAKS0= Received: by 10.227.2.209 with SMTP id 17mr5463748wbk.72.1280780704793; Mon, 02 Aug 2010 13:25:04 -0700 (PDT) Received: from v.nix.is (v.nix.is [109.74.193.250]) by mx.google.com with ESMTPS id 2sm3109811wey.0.2010.08.02.13.25.03 (version=SSLv3 cipher=RC4-MD5); Mon, 02 Aug 2010 13:25:03 -0700 (PDT) X-Mailer: git-send-email 1.7.1 In-Reply-To: <1280780684-26344-1-git-send-email-avarab@gmail.com> Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Archived-At: Git now has a smoke testing service at http://smoke.git.nix.is that anyone can send reports to. Change the t/README file to mention this. Signed-off-by: =C3=86var Arnfj=C3=B6r=C3=B0 Bjarmason --- t/README | 66 ++++++++++++++++++++++++++++++++++++++++++++++++++++++= ++++++++ 1 files changed, 66 insertions(+), 0 deletions(-) diff --git a/t/README b/t/README index e957d4f..69af05f 100644 --- a/t/README +++ b/t/README @@ -574,3 +574,69 @@ Then, at the top-level: That'll generate a detailed cover report in the "cover_db_html" directory, which you can then copy to a webserver, or inspect locally in a browser. + +Smoke testing +------------- + +The Git test suite has support for smoke testing. Smoke testing is +when you submit the results of a test run to a central server for +analysis and aggregation. + +Running a smoke tester is an easy and valuable way of contributing to +Git development, particularly if you have access to an uncommon OS on +obscure hardware. + +After building Git you can generate a smoke report like this in the +"t" directory: + + make clean smoke + +You can also pass arguments via the environment. This should make it +faster: + + GIT_TEST_OPTS=3D'--root=3D/dev/shm' TEST_JOBS=3D10 make clean smok= e + +The "smoke" target will run the Git test suite with Perl's +"TAP::Harness" module, and package up the results in a .tar.gz archive +with "TAP::Harness::Archive". The former is included with Perl v5.10.1 +or later, but you'll need to install the latter from the CPAN. See the +"Test coverage" section above for how you might do that. + +Once the "smoke" target finishes you'll see a message like this: + + TAP Archive created at /t/test-results/git-smoke.tar.= gz + +To upload the smoke report you need to have curl(1) installed, then +do: + + make smoke_report + +To upload the report anonymously. Hopefully that'll return something +like "Reported #7 added.". + +If you're going to be uploading reports frequently please request a +user account by E-Mailing gitsmoke@v.nix.is. Once you have a username +and password you'll be able to do: + + SMOKE_USERNAME=3D SMOKE_PASSWORD=3D make smoke= _report + +Once the report is uploaded it'll be made available at +http://smoke.git.nix.is, here's an overview of Recent Smoke Reports +for Git: + + http://smoke.git.nix.is/app/projects/smoke_reports/1 + +The reports will also be mirrored to GitHub every few hours: + + http://github.com/gitsmoke/smoke-reports + +The Smolder SQLite database is also mirrored and made available for +download: + + http://github.com/gitsmoke/smoke-database + +Note that the database includes hashed (with crypt()) user passwords +and E-Mail addresses. Don't use a valuable password for the smoke +service if you have an account, or an E-Mail address you don't want to +be publicly known. The user accounts are just meant to be convenient +labels, they're not meant to be secure. --=20 1.7.1