Index: tools/dev/gm.py |
diff --git a/tools/dev/gm.py b/tools/dev/gm.py |
index 758a8ce34094b665e0fcd9cf16bd5ff775d1d600..ddf71fbe8f607e0fa9c8b167ded729c83a745858 100755 |
--- a/tools/dev/gm.py |
+++ b/tools/dev/gm.py |
@@ -240,7 +240,11 @@ class ArgumentParser(object): |
targets = [] |
actions = [] |
tests = [] |
- words = argstring.split('.') |
+ # Specifying a single unit test looks like "unittests/Foo.Bar". |
+ if argstring.startswith("unittests/"): |
+ words = [argstring] |
+ else: |
+ words = argstring.split('.') |
if len(words) == 1: |
word = words[0] |
if word in ACTIONS: |