Commit a6d48be4 authored by Nico Schottelius's avatar Nico Schottelius

Merge pull request #14 from darko-poljak/report-globbing

Add report project name globbing.
parents ac15255a ff1ccba2
......@@ -30,6 +30,7 @@ import os
import os.path
import re
import sys
import glob
import ctt
import ctt.listprojects
......@@ -63,7 +64,10 @@ class Report(object):
projects=ctt.listprojects.ListProjects.list_projects()
else:
projects=args.project
projects = []
for x in args.project:
fnames = glob.glob(os.path.join(ctt.ctt_dir(), x))
projects.extend(fnames)
total_time = 0
for project in projects:
......
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