summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorscoder <none@none>2008-02-21 17:19:44 +0100
committerscoder <none@none>2008-02-21 17:19:44 +0100
commit63c43a2e3f7abde5b0ac9d7e1582da4ff2e29cc0 (patch)
treebfb062905957b295050bef3cb8d7bcbd973accd9 /Makefile
parentc20e9847552a62e2ec8af793d28f0e8ba1c6bbae (diff)
downloadpython-lxml-63c43a2e3f7abde5b0ac9d7e1582da4ff2e29cc0.tar.gz
[svn r3320] r3551@delle: sbehnel | 2008-02-19 21:51:25 +0100
gdb make target --HG-- branch : trunk
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 5fd446fa..47f7a991 100644
--- a/Makefile
+++ b/Makefile
@@ -24,6 +24,10 @@ valgrind_test_inplace: inplace
valgrind --tool=memcheck --leak-check=full --num-callers=30 --suppressions=valgrind-python.supp \
$(PYTHON) test.py
+gdb_test_inplace: inplace
+ @echo -e "file $(PYTHON)\nrun test.py" > .gdb.command
+ gdb -x .gdb.command -d src -d src/lxml
+
bench_inplace: inplace
$(PYTHON) benchmark/bench_etree.py -i
$(PYTHON) benchmark/bench_xpath.py -i
@@ -51,6 +55,8 @@ test: test_inplace
valtest: valgrind_test_inplace
+gdbtest: gdb_test_inplace
+
bench: bench_inplace
ftest: ftest_inplace