Submitter | Siddharth Agarwal |
---|---|
Date | June 10, 2017, 9:10 p.m. |
Message ID | <a69ae05fa66239c2aecb.1497129020@devvm31800.prn1.facebook.com> |
Download | mbox | patch |
Permalink | /patch/21320/ |
State | Accepted |
Headers | show
Return-Path: <mercurial-devel-bounces@mercurial-scm.org> X-Original-To: patchwork@mercurial-scm.org Delivered-To: patchwork@mercurial-scm.org Received: from localhost (localhost [127.0.0.1]) by mercurial-scm.org (Postfix) with ESMTP id 0826D2C2C1; Sat, 10 Jun 2017 17:10:32 -0400 (EDT) X-Virus-Scanned: Debian amavisd-new at mercurial-scm.org Received: from mercurial-scm.org ([127.0.0.1]) by localhost (mercurial-scm.org [127.0.0.1]) (amavisd-new, port 10024) with LMTP id OQiqUtcTqAsl; Sat, 10 Jun 2017 17:10:31 -0400 (EDT) Received: from mercurial-scm.org (localhost [IPv6:::1]) by mercurial-scm.org (Postfix) with ESMTP id 6DD5E2C348; Sat, 10 Jun 2017 17:10:28 -0400 (EDT) X-Original-To: mercurial-devel@mercurial-scm.org Delivered-To: mercurial-devel@mercurial-scm.org Received: from localhost (localhost [127.0.0.1]) by mercurial-scm.org (Postfix) with ESMTP id D32F22C2A0 for <mercurial-devel@mercurial-scm.org>; Sat, 10 Jun 2017 17:10:26 -0400 (EDT) X-Virus-Scanned: Debian amavisd-new at mercurial-scm.org Received: from mercurial-scm.org ([127.0.0.1]) by localhost (mercurial-scm.org [127.0.0.1]) (amavisd-new, port 10024) with LMTP id sOaaVLQxtNBz for <mercurial-devel@mercurial-scm.org>; Sat, 10 Jun 2017 17:10:25 -0400 (EDT) Received: from mx0a-00082601.pphosted.com (mx0a-00082601.pphosted.com [67.231.145.42]) by mercurial-scm.org (Postfix) with ESMTPS id F06682C29E for <mercurial-devel@mercurial-scm.org>; Sat, 10 Jun 2017 17:10:24 -0400 (EDT) Received: from pps.filterd (m0044012.ppops.net [127.0.0.1]) by mx0a-00082601.pphosted.com (8.16.0.20/8.16.0.20) with SMTP id v5ALAGDj028068 for <mercurial-devel@mercurial-scm.org>; Sat, 10 Jun 2017 14:10:24 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fb.com; h=content-type : mime-version : content-transfer-encoding : subject : message-id : in-reply-to : references : date : from : to; s=facebook; bh=qJHKOGiZAxXWMvznBkP0Yfqx/y/ycVUAbeENhuXccEI=; b=qQdE7sa8yeva65YLvNXI3d3xehj6AGfCppTlpVqcI3voFBjWUjri9r07w2yJhvfwHhXD 6MWl7nVwwLpvkdgyCk6ME7ca8x7sgdXZ8zjFp9m86aXMjgSaufenbPwz8OmBiw9UjTxL 7qqEew84t2MjKzNTbcEiG1VH7FpDdRFbhaU= Received: from mail.thefacebook.com ([199.201.64.23]) by mx0a-00082601.pphosted.com with ESMTP id 2b0ef710sf-2 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT) for <mercurial-devel@mercurial-scm.org>; Sat, 10 Jun 2017 14:10:24 -0700 Received: from mx-out.facebook.com (192.168.52.123) by PRN-CHUB11.TheFacebook.com (192.168.16.21) with Microsoft SMTP Server (TLS) id 14.3.319.2; Sat, 10 Jun 2017 14:10:23 -0700 Received: from devvm31800.prn1.facebook.com (2401:db00:11:f13b:face:0:4c:0) by mx-out.facebook.com (2401:db00:2050:5102:face:0000:003b:0000) with ESMTP id 3770a8de4e2111e7a98d77a337fa907c-72b348f0 for <mercurial-devel@mercurial-scm.org>; Sat, 10 Jun 2017 14:10:23 -0700 MIME-Version: 1.0 Subject: [PATCH 2 of 4] hghave: add test for whether fsmonitor is enabled X-Mercurial-Node: a69ae05fa66239c2aecb3673115de82105c8e9c6 X-Mercurial-Series-Index: 2 X-Mercurial-Series-Total: 4 Message-ID: <a69ae05fa66239c2aecb.1497129020@devvm31800.prn1.facebook.com> X-Mercurial-Series-Id: <af12ded5040ae8b5becf.1497129019@devvm31800.prn1.facebook.com> In-Reply-To: <af12ded5040ae8b5becf.1497129019@devvm31800.prn1.facebook.com> References: <af12ded5040ae8b5becf.1497129019@devvm31800.prn1.facebook.com> User-Agent: Mercurial-patchbomb/4.2.1+560-9575d9400a39 Date: Sat, 10 Jun 2017 14:10:20 -0700 From: Siddharth Agarwal <sid0@fb.com> To: <mercurial-devel@mercurial-scm.org> X-FB-Internal: Safe X-Proofpoint-Spam-Reason: safe X-FB-Internal: Safe X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2017-06-10_11:, , signatures=0 X-BeenThere: mercurial-devel@mercurial-scm.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <mercurial-devel.mercurial-scm.org> List-Unsubscribe: <https://www.mercurial-scm.org/mailman/options/mercurial-devel>, <mailto:mercurial-devel-request@mercurial-scm.org?subject=unsubscribe> List-Archive: <http://www.mercurial-scm.org/pipermail/mercurial-devel/> List-Post: <mailto:mercurial-devel@mercurial-scm.org> List-Help: <mailto:mercurial-devel-request@mercurial-scm.org?subject=help> List-Subscribe: <https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel>, <mailto:mercurial-devel-request@mercurial-scm.org?subject=subscribe> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: mercurial-devel-bounces@mercurial-scm.org Sender: "Mercurial-devel" <mercurial-devel-bounces@mercurial-scm.org> |
Comments
Siddharth Agarwal - June 10, 2017, 9:10 p.m.
Patch
diff --git a/tests/hghave.py b/tests/hghave.py --- a/tests/hghave.py +++ b/tests/hghave.py @@ -643,3 +643,7 @@ def has_virtualenv(): return True except ImportError: return False + +@check("fsmonitor", "running tests with fsmonitor") +def has_fsmonitor(): + return 'HGFSMONITOR_TESTS' in os.environ