compiler/glsl: close fd's in glcpp_test.py
I would have thought falling out of scope would allow the gc to collect these, but apparently it doesn't, and this hits an fd limit on macos. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=106133 Fixes: db8cd8e3 ("glcpp/tests: Convert shell scripts to a python script") Signed-off-by:Dylan Baker <dylan.c.baker@intel.com> Reviewed-by:
Eric Anholt <eric@anholt.net> Tested-by:
Vinson Lee <vlee@freedesktop.org> (cherry picked from commit dbf5b772)