From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/112 Path: news.gmane.org!not-for-mail From: =?UTF-8?B?THVrYSBNYXLEjWV0acSH?= Newsgroups: gmane.linux.lib.musl.general Subject: Re: Daily reports: Wednesday Date: Wed, 06 Jul 2011 22:28:14 +0200 Message-ID: <4E14C55E.6030808@gmail.com> References: <4E125DBC.9090809@gmail.com> <4E131E8F.9@gmail.com> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1309984187 12283 80.91.229.12 (6 Jul 2011 20:29:47 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 6 Jul 2011 20:29:47 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-196-gllmg-musl=m.gmane.org@lists.openwall.com Wed Jul 06 22:29:43 2011 Return-path: Envelope-to: gllmg-musl@lo.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by lo.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1QeYj7-0001b7-Tr for gllmg-musl@lo.gmane.org; Wed, 06 Jul 2011 22:29:42 +0200 Original-Received: (qmail 17929 invoked by uid 550); 6 Jul 2011 20:29:41 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Original-Received: (qmail 17921 invoked from network); 6 Jul 2011 20:29:41 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=cS85ms2JS9ky0ku0eLfMsphNMeu6Dh3aO6wPs6bz0IY=; b=n34XlfKm8Mnm1jQuQblHh4hjgJqwPK6RAJBdP7uqL7oWZEYtlnKRsgtGWV2OxoA4Hl waVPlmw6mX5xvYuvlGORm7Nl0sPI6wxvdkCWwoOshLwvNXRjM1BHt9YWVBfePQKgpxYV xPoe7h1JwI5ubDqXKkiAEf8OAE1DhSaoqA224= User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.18) Gecko/20110626 Icedove/3.1.11 In-Reply-To: <4E131E8F.9@gmail.com> Xref: news.gmane.org gmane.linux.lib.musl.general:112 Archived-At: Hello. I looked over the rest of the test data in numeric.c and changed quite a bit of other things in the process. It's now ready for usage, and I'd like to ask Rich to please comment on output of the musl-gcc-compiled binary (you may need to comment out wcsto[f|d|ld] if musl doesn't support them yet). Let me know if there are any objections to the tests. I'll try to make a nice make file today. As for the future, I'm planing on making the cluts.c framework, and this is what I intend for it to do: * find 'test collections' using dirent.h (haven't used it yet, but shouldn't be hard to learn I guess) * fork off for each test collection and execl() each one * simple statistics based on the status provided by wait() That much I guarantee to be done tomorrow. When that's done I'm going to implement these additional features: * advanced statistics(via what will be common/ipc.c): shared memory with two integers for each 'test collection' which will indicate: a) number of tests that have begun executing (incremented before each test starts by the child) b) number of successful tests The pointer to shared memory will be passed as an argument to the child (test collection). From a) the framework will be able to know which test number has crashed the collection. If the collection returns, the framework will be able to calculate the success rate by dividing b) with a). * a few features which the user can invoke via some switches (using standard tokenizing functions - need to study them first): -v --verbose without which collections will not print anything themselves -t --test [,,...] specific tests to execute -x --exclude [,,...] exceptionally excluded tests -h --help etc Comments and suggestions are very welcome. Especially any advice about includes and .h files is welcome, I am new to structuring files in C. Thanks. -Luka