projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
96548d8
)
python/tests: Read the number of tests to execute from command line.
author
José Fonseca
<jfonseca@vmware.com>
Wed, 31 Mar 2010 19:05:10 +0000
(20:05 +0100)
committer
José Fonseca
<jfonseca@vmware.com>
Wed, 31 Mar 2010 19:05:10 +0000
(20:05 +0100)
progs/gallium/python/tests/texture_blit.py
patch
|
blob
|
history
diff --git
a/progs/gallium/python/tests/texture_blit.py
b/progs/gallium/python/tests/texture_blit.py
index a2e62c89ee3bfe5a89e4289b2c35ebf410eebd1c..5ae0a7398d78bbc87ca0aa124d6e704fa6559848 100755
(executable)
--- a/
progs/gallium/python/tests/texture_blit.py
+++ b/
progs/gallium/python/tests/texture_blit.py
@@
-579,7
+579,10
@@
def main():
ctx = dev.context_create()
- n = 10000
+ try:
+ n = int(sys.argv[1])
+ except:
+ n = 10000
for i in range(n):
format = random.choice(formats.keys())