From owner-freebsd-testing@FreeBSD.ORG Sat Oct 19 15:49:43 2013 Return-Path: Delivered-To: freebsd-testing@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 5694BD8F for ; Sat, 19 Oct 2013 15:49:43 +0000 (UTC) (envelope-from julio@meroh.net) Received: from mail-la0-f51.google.com (mail-la0-f51.google.com [209.85.215.51]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id DA71820E6 for ; Sat, 19 Oct 2013 15:49:42 +0000 (UTC) Received: by mail-la0-f51.google.com with SMTP id ea20so294785lab.38 for ; Sat, 19 Oct 2013 08:49:35 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc :content-type; bh=22Nl+oX7EiyM9ebe9/pOPZ62pYSfCqT9lYOzp2hTHUI=; b=dMmqYUITNbjhYfuQ8TC111nwOMJbw2FVZmHhMoR1aZ/BLa/aEdrf6d2MaXS0PYhOm1 ppiY5BcaCki0gCaCPgZSVK4p1qs4cJgTc3ShN1WLH4F2MfMEmPAZg75oHvrRRDgyOJkM X1pm8CW+e739P7J65E2h5wbXICU4EvIMLl8gSXhwlM9EqRO5JI2uHhAnt01+zJuZXXHy QgmqW/Tub48LXrO7q1v13G7ulNVnkFl0n/Iodi6vm+A1MeUgG1hmLOtpSFhNZh86JSRu Kdg1Q4liMka/7ypIqRvg1LkrowLwH+RLPLko8GV7Qsf+QxPtl2OxtSk2mFJ1XhwrqRj/ h3vg== X-Gm-Message-State: ALoCoQn4myIuq3mJfZm+2EVzdRqQEedZwucEgLZc+hsl0def1gHxK2sHzr4/oLst14CUyG40h+W3 X-Received: by 10.152.28.7 with SMTP id x7mr5936984lag.26.1382197775448; Sat, 19 Oct 2013 08:49:35 -0700 (PDT) MIME-Version: 1.0 Received: by 10.112.132.135 with HTTP; Sat, 19 Oct 2013 08:49:15 -0700 (PDT) X-Originating-IP: [172.26.105.74] From: Julio Merino Date: Sat, 19 Oct 2013 11:49:15 -0400 Message-ID: Subject: Populating /usr/tests To: freebsd-testing@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Cc: Rui Paulo , "yaneurabeya ." , Simon Gerraty X-BeenThere: freebsd-testing@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Testing on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Oct 2013 15:49:43 -0000 Hello, [ CCing same interested parties as before ] Here comes the next round of patches. This time the goal is to start populating /usr/tests (which already exists) with the only test program currently available in the tree: src/lib/libcrypt/tests/*. With this boilerplate in place, adding new test programs to the base system should be straightforward (which is the goal here!). I'll be happy to provide a tutorial later if we agree to this scheme, similar to the one we have for NetBSD (http://wiki.netbsd.org/tutorials/atf/), detailing the procedure to add both atf-based and "old-style" test programs. The README file added in add-tests-hierarchy.diff and the tests.7 page added in add-tests-7.diff might answer some of the questions you might have. Not repasting their contents here. As before, the new set of patches is in http://portal.meroh.net/~jmmv/freebsd-testing/ . The series file in it lists the order in which they need to be read/applied and each patch has a header usable as the commit log. I have successfully tested this both in amd64 and powerpc with update and clean builds/installs. However, please review carefully. Thoughts? Thanks, -- Julio Merino / @jmmv