From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail4-relais-sop.national.inria.fr (mail4-relais-sop.national.inria.fr [192.134.164.105]) by sympa.inria.fr (Postfix) with ESMTPS id 650CC7EE20 for ; Thu, 15 Nov 2012 10:21:47 +0100 (CET) Received-SPF: None (mail4-smtp-sop.national.inria.fr: no sender authenticity information available from domain of rixed@happyleptic.org) identity=pra; client-ip=213.251.171.101; receiver=mail4-smtp-sop.national.inria.fr; envelope-from="rixed@happyleptic.org"; x-sender="rixed@happyleptic.org"; x-conformance=sidf_compatible Received-SPF: None (mail4-smtp-sop.national.inria.fr: no sender authenticity information available from domain of rixed@happyleptic.org) identity=mailfrom; client-ip=213.251.171.101; receiver=mail4-smtp-sop.national.inria.fr; envelope-from="rixed@happyleptic.org"; x-sender="rixed@happyleptic.org"; x-conformance=sidf_compatible Received-SPF: None (mail4-smtp-sop.national.inria.fr: no sender authenticity information available from domain of postmaster@eneide.happyleptic.org) identity=helo; client-ip=213.251.171.101; receiver=mail4-smtp-sop.national.inria.fr; envelope-from="rixed@happyleptic.org"; x-sender="postmaster@eneide.happyleptic.org"; x-conformance=sidf_compatible X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AnkHAMCypFDV+6tl/2dsb2JhbABEhVaGG7dYgQiCHwEFOk8LRhQNGzSHeQMTsjwNiVSLSGkKgnuCRmEDlCeBVIszhRGCcA X-IronPort-AV: E=Sophos;i="4.83,255,1352070000"; d="scan'208";a="162545413" Received: from eneide.happyleptic.org ([213.251.171.101]) by mail4-smtp-sop.national.inria.fr with ESMTP/TLS/AES256-SHA; 15 Nov 2012 10:20:43 +0100 Received: from extranet.securactive.net ([82.240.34.113] helo=ccellier.rd.securactive.lan) by eneide.happyleptic.org with esmtp (Exim 4.72) (envelope-from ) id 1TYvco-0000m0-9i for caml-list@inria.fr; Thu, 15 Nov 2012 10:20:42 +0100 Received: from rixed by ccellier.rd.securactive.lan with local (Exim 4.80) (envelope-from ) id 1TYvcj-0007Ri-75 for caml-list@inria.fr; Thu, 15 Nov 2012 10:20:37 +0100 Date: Thu, 15 Nov 2012 10:20:37 +0100 From: rixed@happyleptic.org To: caml-list@inria.fr Message-ID: <20121115092037.GC26744@securactive.lan> References: <838ab953-d33f-42d5-a363-050217c1b883@googlegroups.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <838ab953-d33f-42d5-a363-050217c1b883@googlegroups.com> User-Agent: Mutt/1.5.21 (2010-09-15) Subject: Re: [Caml-list] Preferred layout for new packages -[ Thu, Nov 15, 2012 at 12:13:58AM -0800, vincent.hugot@gmail.com ]---- > I for one like the (short-)tests-as-comments approach: being near the > function, they serve as short specifications, and being comments, they don't > alter the compilation process in the least. The only drawback I saw is that adding or modifying a test triggers the recompilation of the whole unit when using makefiles (since the file changed). I wonder if there exist a tool that's able to find out that since only comments where changed the module need not be recompiled. Maybe omake can do this ?