summaryrefslogtreecommitdiff
path: root/framework/profile.py
diff options
context:
space:
mode:
authorFabian Bieler <fabianbieler@fastmail.fm>2017-12-05 22:51:11 +0100
committerFabian Bieler <fabianbieler@fastmail.fm>2017-12-16 19:03:18 +0100
commitbe978f93b2df723e26cc0d8fc00f2749fef19751 (patch)
tree0618432a5c5cbc31774e4a7f006c09ccdd17f449 /framework/profile.py
parent5d9963a13cc225c40bddec0daf2b089fc17c3fc0 (diff)
Remove GleanTest framework.
Diffstat (limited to 'framework/profile.py')
-rw-r--r--framework/profile.py14
1 files changed, 4 insertions, 10 deletions
diff --git a/framework/profile.py b/framework/profile.py
index a19b4d2d2..d77ac097f 100644
--- a/framework/profile.py
+++ b/framework/profile.py
@@ -219,17 +219,11 @@ class TestDict(collections.MutableMapping):
kwargs -- Any additional args will be passed directly to the test
constructor as keyword args.
"""
- # If there is no name, then either
- # a) join the arguments list together to make the name
- # b) use the argument string as the name
- # The former is used by the Piglit{G,C}LTest classes, the latter by
- # GleanTest
+ # If there is no name, join the arguments list together to make
+ # the name
if not name:
- if isinstance(args, list):
- name = ' '.join(args)
- else:
- assert isinstance(args, six.string_types)
- name = args
+ assert isinstance(args, list) # //
+ name = ' '.join(args)
assert isinstance(name, six.string_types)
lgroup = grouptools.join(group, name)