From owner-soc-status@FreeBSD.ORG Sun Sep 1 22:57:02 2013 Return-Path: Delivered-To: soc-status@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id DAD11256 for ; Sun, 1 Sep 2013 22:57:02 +0000 (UTC) (envelope-from mbw500@york.ac.uk) Received: from mail-ie0-f182.google.com (mail-ie0-f182.google.com [209.85.223.182]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id AF56C2A9F for ; Sun, 1 Sep 2013 22:57:02 +0000 (UTC) Received: by mail-ie0-f182.google.com with SMTP id aq17so6932748iec.41 for ; Sun, 01 Sep 2013 15:56:56 -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:date:message-id:subject:from:to:cc :content-type; bh=in4g2/gJ88z+8baApvI2h+wFQPITd9VbdbMpaIWvfEM=; b=YymhyRGGLOWttR4IzPKJro+yJvtikpQKvzZDH0oubI29Iz5QnkVBtpA+i26HpXPaXD r50icK5dAMMhdkg1jDY2OJ77iCblvtfwt4xrXt3654gTFvX3aRkC+EON4MTcEaJGHgdR WRGlDWTvlr7v1tCt26sWFfyP7LS4A7AwMBvaiGto/k48bJdqtWBzj+6uwVDetrWQkFmp 74WNZPJ+ZypGwn3VTCkH3xv/9ChfKR990IBlg+khKCd0BU7bRLBueMp1TD2bvzoSQGiq ffwjdT4rvGKuZpaEZsYm/Q+zfLhu3tkQaM6DgQPjGd6P6mxQoXnc8EanKBF+AXPQyVr+ 28Lw== X-Gm-Message-State: ALoCoQmbFyUTTL8KznuhZdGKXWgV8RiOMG8iSzj2jLJfznkfipDBhjbMoeHzB0xAHYVAd5hyeOxa MIME-Version: 1.0 X-Received: by 10.50.110.74 with SMTP id hy10mr13788614igb.0.1378076216455; Sun, 01 Sep 2013 15:56:56 -0700 (PDT) Received: by 10.43.102.193 with HTTP; Sun, 1 Sep 2013 15:56:56 -0700 (PDT) Date: Sun, 1 Sep 2013 22:56:56 +0000 Message-ID: Subject: GSoC Status: Week 11 From: Matthew Windsor To: soc-status@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Cc: Justin Edward Muniz , Eitan Adler X-BeenThere: soc-status@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Summer of Code Status Reports and Discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Sep 2013 22:57:02 -0000 Hi there, I haven't got around to making the functional tests I was planning for this week. Most of the work I *have* managed to get out has been in the form of more unit tests, with a hope of covering as much of the code that doesn't touch the backend as possible. (It seems that I can't get any code that does to compile, as it wants to link against the backend, and the backend is what the shared object slots into.) The Makefile directives for the tests are really sloppy, so I'd like some direction on how to make the tests in a way compatible with the BSD makefile system (I'll probably roll off another email to this effect), but for the moment they're building adequately-ish and proving to be a useful aid in testing. Most of the unit tests cover small utility functions at the moment; I'm hoping to extend this. Something the unit test angle has caused me to do a lot of in the code is deliberately structure things more and more so the backend-touching aspects are factored out as much as possible, and as much code as possible is left without access to the backend. This is a big change from the way I was originally writing the code (touch backend as soon as possible) and will likely influence the way I reimplement error reporting. This does unfortunately mean I'm cutting it fine with calling the backend code-complete and ready for proper QA... One known outstanding issue that I want to fix ASAP next week is that listing repos will show idents and names in the wrong place. Indeed, the query system now uses repo names (repo-packagesite) instead of idents (packagesite) as this is much simpler to implement (I can just pull the repo name from the package). This could be done as a functional test, too. As a minor note, I've pushed the C standard back down to C99. This should allow FreeBSD stock gcc to compile the backend. In summary: I did unit tests instead of functionals this week; code is still in flux which might make testing harder; C99, not C11. ~Matt