generated_tests: Actually catch exception in os.makedirs
Patch b59ff71e was supposed to fix os.makedirs exceptions, but falls short because of a missing else statement that causes all of the caught exceptions to fall back to raise. This corrects, it also pulls the duplicate functions out into a shared module. v2: - remove accidentally included hunk (Mark) v3: - Actually include the modules directory in the commit (Mark) Signed-off-by:Dylan Baker <dylanx.c.baker@intel.com> Reviewed-by:
Mark Janes <mark.a.janes@intel.com>
Showing
Please register or sign in to comment