Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cython
Commits
ea970763
Commit
ea970763
authored
May 31, 2015
by
Stefan Behnel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
use relative file path in test runner output
parent
00c8bbf0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
6 deletions
+5
-6
runtests.py
runtests.py
+5
-6
No files found.
runtests.py
View file @
ea970763
...
...
@@ -1486,20 +1486,18 @@ class VersionDependencyExcluder:
return True
return False
class FileListExcluder:
def __init__(self, list_file, verbose=False):
self.verbose = verbose
self.excludes = {}
self._list_file = list_file
f = open(list_file)
try:
for line in f.readlines():
self._list_file = os.path.relpath(list_file)
with open(list_file) as f:
for line in f:
line = line.strip()
if line and line[0] != '#':
self.excludes[line.split()[0]] = True
finally:
f.close()
def __call__(self, testname, tags=None):
exclude = (testname in self.excludes
...
...
@@ -1509,6 +1507,7 @@ class FileListExcluder:
% (testname, self._list_file))
return exclude
class TagsSelector:
def __init__(self, tag, value):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment