summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNima Talebi <nima@autonomy.net.au>2009-05-24 04:09:43 +1000
committerNima Talebi <nima@autonomy.net.au>2009-05-24 04:09:43 +1000
commit6ff73a634b11dacfd246ea8bdb6df3e51cda5118 (patch)
treeeca421e390b2fca11215df884f7a1e3ba53970b5
parenta9426516a87d0eca3451e348dde22287935d9d5a (diff)
downloadpython-dmidecode-6ff73a634b11dacfd246ea8bdb6df3e51cda5118.tar.gz
python-dmidecode-6ff73a634b11dacfd246ea8bdb6df3e51cda5118.tar.xz
python-dmidecode-6ff73a634b11dacfd246ea8bdb6df3e51cda5118.zip
Cleanup
-rw-r--r--unit-tests/Makefile5
-rw-r--r--unit-tests/libxml2mod.sobin380000 -> 0 bytes
-rwxr-xr-xunit-tests/unit6
3 files changed, 7 insertions, 4 deletions
diff --git a/unit-tests/Makefile b/unit-tests/Makefile
index 24fbfa9..01706a3 100644
--- a/unit-tests/Makefile
+++ b/unit-tests/Makefile
@@ -21,7 +21,8 @@ demomodule.so : demo.o dmixml.o
@echo "Compiling $<"
@gcc -fPIC -c $< $(CFLAGS)
-test : demomodule.so
+#test : demomodule.so
+test :
@echo "=========================================="
@echo " Running proof-of-concept code"
@echo "=========================================="
@@ -29,5 +30,5 @@ test : demomodule.so
@python unit
clean :
- rm -f demomodule.so *.{py[oc],o} *~
+ rm -f *.{py[oc],o,so} *~
diff --git a/unit-tests/libxml2mod.so b/unit-tests/libxml2mod.so
deleted file mode 100644
index 4043179..0000000
--- a/unit-tests/libxml2mod.so
+++ /dev/null
Binary files differ
diff --git a/unit-tests/unit b/unit-tests/unit
index 61a194c..0f8a51b 100755
--- a/unit-tests/unit
+++ b/unit-tests/unit
@@ -4,8 +4,6 @@
from pprint import pprint
import os, sys, random, tempfile, time
import commands
-import libxml2
-from POCDemo import POCDemo
DUMPS_D = "private"
@@ -170,6 +168,9 @@ except ImportError:
failed()
+"""
+import libxml2
+from POCDemo import POCDemo
test = POCDemo()
print "Please note the dmixml_demo/@entrypoint attribute in the root node"
@@ -184,6 +185,7 @@ xmldoc2 = libxml2.newDoc("1.0")
xmlnode = test.GetXMLnode()
xmldoc2.setRootElement(xmlnode)
xmldoc2.saveFormatFileEnc("-", "UTF-8", 1)
+"""