[Piglit] [PATCH 0/4] Unittests: Don't leave files laying around

Dylan Baker baker.dylan.c at gmail.com
Wed Apr 6 22:46:42 UTC 2016


Currently all of the unitests create a ton of temporary files that they
don't get rid of. That's bad. This series fixes that.

Dylan Baker (4):
  unittests/utils.py: Don't leave a bunch of temp files around
  unittests: Fix tests that leave temporary files laying around
  unittests: move generator tests to unittests
  unittests: clean up after the generator tests

 generated_tests/test_generators.py     | 148 ---------------------------------
 tox.ini                                |   4 +-
 unittests/json_results_update_tests.py |  16 +---
 unittests/test_generators.py           |  95 +++++++++++++++++++++
 unittests/utils.py                     |  22 +++--
 5 files changed, 114 insertions(+), 171 deletions(-)
 delete mode 100644 generated_tests/test_generators.py
 create mode 100644 unittests/test_generators.py

-- 
2.8.0



More information about the Piglit mailing list