Writing tests using Python

Joseph Myers joseph@codesourcery.com
Mon Jun 26 11:38:00 GMT 2017


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



More information about the Libc-alpha mailing list