Commit 05dda9e2 authored by machenbach's avatar machenbach Committed by Commit bot

[test-runner] Make test suite loading more robust.

BUG=

Review URL: https://codereview.chromium.org/1466303005

Cr-Commit-Position: refs/heads/master@{#32267}
parent 0e84cd47
......@@ -95,7 +95,7 @@ class TestSuite(object):
(f, pathname, description) = imp.find_module("testcfg", [root])
module = imp.load_module("testcfg", f, pathname, description)
return module.GetSuite(name, root)
except:
except ImportError:
# Use default if no testcfg is present.
return GoogleTestSuite(name, root)
finally:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment