This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Writing tests using Python
- From: Joseph Myers <joseph at codesourcery dot com>
- To: <libc-alpha at sourceware dot org>
- Date: Mon, 26 Jun 2017 11:38:11 +0000
- Subject: Writing tests using Python
- Authentication-results: sourceware.org; auth=none
We currently have pretty-printers tests and benchmarks using Python.
Would people consider it reasonable to have other tests using Python
(appropriately conditioned in the Makefiles, of course)? (Specifically,
I'm thinking of writing more thorough tgmath.h tests using a Python script
to generate the C tests, with the output not being checked in, with a view
to then adding _Float128 support to the generator when adding it to
tgmath.h. Let's assume version requirements are no stricter than those
documented for the pretty-printers tests, so the code works with both
Python 2 and 3.)
--
Joseph S. Myers
joseph@codesourcery.com