From owner-freebsd-testing@FreeBSD.ORG Thu Oct 16 00:46:59 2014 Return-Path: Delivered-To: freebsd-testing@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 42892958 for ; Thu, 16 Oct 2014 00:46:59 +0000 (UTC) Received: from mail-ie0-x22a.google.com (mail-ie0-x22a.google.com [IPv6:2607:f8b0:4001:c03::22a]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 134E8B15 for ; Thu, 16 Oct 2014 00:46:59 +0000 (UTC) Received: by mail-ie0-f170.google.com with SMTP id rd18so2464692iec.1 for ; Wed, 15 Oct 2014 17:46:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=D247p9QPNqSz/hDNY3lhYq2mpEaFSqc6OU0EXcc5GvA=; b=E6eSjKZTbQw6yny8wgad7ccTzx3p8lGq4txRMYPMkuvGeKuxOCEN3c4s9mf+ZN5r5L m6ZqX1gdS3VtxqCeGo0zCF1P81ppb+kN0zEMzPCoQaWwaaeYPh22Rvnf99Y+iWftQfe8 1rxK0ECQcKHFjE52bG7ZKaF0ElR0iYqJK5XnWFLm+7dmBA/i0CgqGvrsAX9Z+t1ZuiI9 7eMLHe2F6USICRg+sCSFhS7MzuEvV/BvQvUr+spqb0sVt6TQAYrLAP5gyXu7cBuJL2Vt QeLD8pBQuXVVJzGHcJkLjVT+hbBt3R8l90bTAckfmsqwVwtWIUEgiV9BVxCETFzFFI73 I2ZA== MIME-Version: 1.0 X-Received: by 10.107.13.80 with SMTP id 77mr6903650ion.2.1413420418477; Wed, 15 Oct 2014 17:46:58 -0700 (PDT) Received: by 10.50.227.42 with HTTP; Wed, 15 Oct 2014 17:46:58 -0700 (PDT) In-Reply-To: <20141016003822.GE1852@funkthat.com> References: <20141016001543.GD1852@funkthat.com> <69C71414-AE05-4AC2-B07D-23F5569C9FCA@gmail.com> <20141016003822.GE1852@funkthat.com> Date: Wed, 15 Oct 2014 17:46:58 -0700 Message-ID: Subject: Re: help on testing for FreeBSD... From: NGie Cooper To: John-Mark Gurney Content-Type: text/plain; charset=UTF-8 Cc: "freebsd-testing@freebsd.org" X-BeenThere: freebsd-testing@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Testing on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Oct 2014 00:46:59 -0000 On Wed, Oct 15, 2014 at 5:38 PM, John-Mark Gurney wrote: > Garrett Cooper wrote this message on Wed, Oct 15, 2014 at 17:25 -0700: >> Hey jmg@ (-testing CCed)! > > Sure, np... > >> On Oct 15, 2014, at 17:15, John-Mark Gurney wrote: >> >> > Hello, >> > >> > I'm working on testing parts of OpenCrypto. I have committed some work >> > to p4 at: >> > https://p4db.freebsd.org/depotTreeBrowser.cgi?FSPC=//depot/projects/opencrypto/tests/sys/opencrypto&HIDEDEL=NO >> > >> > But it requires a few files to be installed... I'm not sure where the >> > best location to install these are and now best to install them? >> >> I have a couple questions: >> - Where would the source live in the tree? > > Which source are you talking about? The python source? or the source > for the input data files? If you mean the later, it's where they will > be committed... They are taken from NIST's CAVP program unchanged... > I COULD possibly write a complicated rules to fetch and extract the > files, but decided not to... The bulk majority of the driver source (.c, .h, etc). >> - Why are they written in python? > > Because I'm too lazy to write code in C... I had already written > framework code in Python, and C doesn't have a standard function to > decode hex.. :) And error handling it much easier in python... I ask because we don't have a means for doing unittest level execution right now and not being written in something that's in base or installed automatically (perl for instance) would mean that your test code wouldn't be run by default on jenkins runs. >> Also, the .pyc files shouldn?t be committed to head (saw that they were checked in to p4). > > Thanks for pointing that out... problems of p4 add *... I've removed > them... Np!