From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/13081 Path: news.gmane.org!.POSTED!not-for-mail From: Rich Felker Newsgroups: gmane.linux.lib.musl.general Subject: Re: Timeline for 1.1.20? Date: Sat, 28 Jul 2018 15:55:37 -0400 Message-ID: <20180728195537.GZ1392@brightrain.aerifal.cx> References: <20180716172023.GM1392@brightrain.aerifal.cx> <9155e3b7-6bbc-e9cc-331a-9514d18023c0@landley.net> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: blaine.gmane.org 1532807629 14469 195.159.176.226 (28 Jul 2018 19:53:49 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 28 Jul 2018 19:53:49 +0000 (UTC) User-Agent: Mutt/1.5.21 (2010-09-15) To: musl@lists.openwall.com Original-X-From: musl-return-13097-gllmg-musl=m.gmane.org@lists.openwall.com Sat Jul 28 21:53:45 2018 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by blaine.gmane.org with smtp (Exim 4.84_2) (envelope-from ) id 1fjVHb-0003fn-MW for gllmg-musl@m.gmane.org; Sat, 28 Jul 2018 21:53:43 +0200 Original-Received: (qmail 15964 invoked by uid 550); 28 Jul 2018 19:55:51 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Original-Received: (qmail 15941 invoked from network); 28 Jul 2018 19:55:50 -0000 Content-Disposition: inline In-Reply-To: Original-Sender: Rich Felker Xref: news.gmane.org gmane.linux.lib.musl.general:13081 Archived-At: On Sat, Jul 28, 2018 at 01:43:34PM -0400, Christopher Friedt wrote: > Rich, > > have you considered a CI environment of some kind (e.g. Travis, GitLab)? > > GitLab is my favourite, particularly because it can be hosted locally (i.e. > can interact with hardware if you so desire). > > That means you can e.g. run quick unit tests inside of a Docker image for > various arches, and then run integration & system tests natively before a > release. > > I'm particularly a big fan of the TDD approach, where unit tests are > written and passing for new features (and unit tests continue to pass for > old features) before a pull request is merge. Yes, but I don't know how to set it up, and any proper approach to setting it up really shouldn't require the project maintainer to know how, since it should revolve around a separate CI project pulling musl, libc-test, and possibly other sources (e.g. mcm) as either subrepos or part of the build scripts, then evaluating the resutls. As for the immediate need, though, it's *not* fancy CI processes but actual test coverage. I'm really wary of projects that have fancy process frameworks but nothing to show for it. In particular, coverage for changes since 1.1.19 would include: - getrandom/getentropy basic functionality check - setvbuf non-stub inplementation: basic functionality, check for writes outside the buffer, etc. - malloc interposition: check that partial replacement doesn't result in unsafe behavior. - pthread_create: confirm that scheduling and other attributes still work as expected after refactoring work. - getddrinfo AI_ADDRCONFIG (can't really be tested without network namespaces though) Particular bugfixes that call for functionality or regression tests: b123f23 fix getopt wrongly treating colons in optstring as valid option chars 0cf5058 fix nl_langinfo_l(CODESET, loc) reporting wrong locale's value 282b1cd fix fmaf wrong result ae2a01d fix wrong result in casin and many related complex functions 10e4bd3 fix incorrect results for catan with some inputs 4bf0717 fix return value of nice function 3f6dc30 fix out of bounds write for zero length buffer in gethostname 9be4ed5 getopt_long_only: don't prefix-match long-options that match short ones 55a661f fix iconv buffer overflow converting to legacy JIS-based encodings 99f4237 fix iconv conversion to UTF-32 with implicit (big) endianness 165a1e3 fix iconv mapping of big5-hkscs characters that map to two unicode chars 029c622 fix output size handling for multi-unicode-char big5-hkscs characters 5c8e692 inet_ntop: do not compress single zeros in IPv6 8b8fb7f correctly handle non-matching symbols in dladdr 9cad27a fix writes outside buffer by ungetc after setvbuf b3fa0f2 fix regression in alignment of dirent structs produced by readdir Some fixes that would not be confirmed with just libc-test, but that needs more of a framework for covering multiple build configurations: a7c53e0 fix out-of-tree build of crt files with stack protector enabled e3c682a work around arm gcc's rejection of r7 asm constraints in thumb mode For now it will have to suffice that we tested them by hand at the time of fixing. Rich