projects
/
pithos
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
281cc81
)
Fail tests if the user is not 'test' (add message).
author
Antony Chazapis
<chazapis@gmail.com>
Mon, 5 Sep 2011 10:56:02 +0000
(13:56 +0300)
committer
Antony Chazapis
<chazapis@gmail.com>
Mon, 5 Sep 2011 10:56:02 +0000
(13:56 +0300)
tools/test
patch
|
blob
|
history
diff --git
a/tools/test
b/tools/test
index
ff9e89c
..
111dd62
100755
(executable)
--- a/
tools/test
+++ b/
tools/test
@@
-2085,3
+2085,5
@@
o_names = ['kate.jpg',
if __name__ == "__main__":
if get_user() == 'test':
unittest.main()
+ else:
+ print 'Will not run tests as any other user except \'test\' (current user: %s).' % get_user()