summaryrefslogtreecommitdiffstats
path: root/pywrap/test_pcipywrap.py
diff options
context:
space:
mode:
Diffstat (limited to 'pywrap/test_pcipywrap.py')
-rw-r--r--[-rwxr-xr-x]pywrap/test_pcipywrap.py18
1 files changed, 8 insertions, 10 deletions
diff --git a/pywrap/test_pcipywrap.py b/pywrap/test_pcipywrap.py
index 1b6c942..d736639 100755..100644
--- a/pywrap/test_pcipywrap.py
+++ b/pywrap/test_pcipywrap.py
@@ -84,15 +84,13 @@ class test_pcipywrap():
while(1):
val = random.randint(0, 8096)
self.pcilib = pcipywrap.Pcipywrap(self.device, self.model)
- print self.pcilib.get_property_list(self.branch)
- print self.pcilib.get_register_info(self.register)
- print self.pcilib.get_registers_list();
-
- print self.pcilib.read_register(self.register)
- print self.pcilib.write_register(val, self.register)
-
- print self.pcilib.get_property(self.prop)
- print self.pcilib.set_property(val, self.prop)
+ #print self.pcilib.get_property_list(self.branch)
+ #print self.pcilib.get_register_info(self.register)
+ #print self.pcilib.get_registers_list();
+ #print self.pcilib.read_register(self.register)
+ #print self.pcilib.write_register(val, self.register)
+ #print self.pcilib.get_property(self.prop)
+ #print self.pcilib.set_property(val, self.prop)
except KeyboardInterrupt:
print 'testing done'
pass
@@ -263,5 +261,5 @@ if __name__ == '__main__':
if opts.unlock_global:
lib.testLocking(4)
if(opts.get_server_message):
- lib.testLocking(5)
+ lib.testLocking(5)