summaryrefslogtreecommitdiffstats
path: root/pywrap/test_pcipywrap.py
diff options
context:
space:
mode:
authorVasilii Chernov <vchernov@inr.ru>2016-02-25 09:22:31 +0100
committerVasilii Chernov <vchernov@inr.ru>2016-02-25 09:22:31 +0100
commited7a7ff66c64cc2e164070865306e7d79652063a (patch)
tree748bbb139a3cfe542a2662fe293f9edf3e4ebc00 /pywrap/test_pcipywrap.py
parentb0a034e6ef4a958235a56ebde0831c0f30a84d30 (diff)
downloadpcitool-ed7a7ff66c64cc2e164070865306e7d79652063a.tar.gz
pcitool-ed7a7ff66c64cc2e164070865306e7d79652063a.tar.bz2
pcitool-ed7a7ff66c64cc2e164070865306e7d79652063a.tar.xz
pcitool-ed7a7ff66c64cc2e164070865306e7d79652063a.zip
Set value description content to NULL in pcilib_xml_parse_value_name
Diffstat (limited to 'pywrap/test_pcipywrap.py')
-rw-r--r--pywrap/test_pcipywrap.py14
1 files changed, 7 insertions, 7 deletions
diff --git a/pywrap/test_pcipywrap.py b/pywrap/test_pcipywrap.py
index d736639..91780ec 100644
--- a/pywrap/test_pcipywrap.py
+++ b/pywrap/test_pcipywrap.py
@@ -84,13 +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