1. 23 Feb, 2015 2 commits
  2. 19 Dec, 2014 1 commit
  3. 13 Dec, 2014 1 commit
    • Dylan Baker's avatar
      generated_tests: Except error for os.makedirs · b59ff71e
      Dylan Baker authored
      Currently we check for the existence of a directory, and if it doesn't
      exist we create it. This would be fine, except that multiple generators
      can create the same directory trees. When os.makedirs tries to create a
      tree that already exists it raises and OSError exception, with the errno
      set to 17 (the File Exists Error). Since between the time that a check
      is made and the time the os.makedirs completes a second generator can
      create the directory tree we can have exceptions raised sporadically,
      especially as the number of threads being used to generate goes up.
      
      We maintain the check for existence before trying to create the
      directories because os.makedirs is slow, so not even trying is better
      than trying in vain.
      Signed-off-by: default avatarDylan Baker <dylanx.c.baker@intel.com>
      b59ff71e
  4. 24 Nov, 2014 2 commits
  5. 20 May, 2014 4 commits
  6. 19 May, 2014 3 commits
  7. 28 Aug, 2013 1 commit
  8. 18 Oct, 2011 1 commit
  9. 23 Aug, 2010 1 commit