Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gevent
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
gevent
Commits
cca816e2
Commit
cca816e2
authored
Sep 15, 2010
by
Denis Bilenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
testrunner.py: always use database in the current directory by default instead of /tmp/
parent
d486df1d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
6 deletions
+1
-6
greentest/testrunner.py
greentest/testrunner.py
+1
-6
No files found.
greentest/testrunner.py
View file @
cca816e2
...
...
@@ -11,8 +11,6 @@ in the database logged with the result 'TIMEOUT'.
The --db option, when provided, specifies sqlite3 database that holds the test results.
By default 'testresults.sqlite3' is used in the current directory.
If the a mercurial repository is detected and the current working copy is "dirty", that is,
has uncommited changes, then '/tmp/testresults.sqlite3' is used.
The results are stored in the following 2 tables:
...
...
@@ -505,10 +503,7 @@ def main():
options.verbosity += options.verbose - options.quiet
if not options.db and sqlite3:
if get_changeset().endswith('
+
'):
options.db = get_tempnam()
else:
options.db = '
testresults
.
sqlite3
'
options.db = '
testresults
.
sqlite3
'
print '
Using
the
database
:
%
s
' % options.db
elif options.db and not sqlite3:
sys.exit('
Cannot
access
the
database
%
r
:
no
sqlite3
module
found
.
' % (options.db, ))
...
...
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