summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2012-02-29 22:13:07 -0600
committerJohn Wiegley <johnw@newartisans.com>2012-02-29 22:13:07 -0600
commitf29fc1eb12376f1bb447f8e397fb98daa7ac3327 (patch)
treebc6aaca20ceff55b71273d698d7b47db8c0c5267 /tools
parent8021955292d22ed0df5d7b018bf4238966d9c1e7 (diff)
downloadfork-ledger-f29fc1eb12376f1bb447f8e397fb98daa7ac3327.tar.gz
fork-ledger-f29fc1eb12376f1bb447f8e397fb98daa7ac3327.tar.bz2
fork-ledger-f29fc1eb12376f1bb447f8e397fb98daa7ac3327.zip
Added skeletons for Python unit tests
Diffstat (limited to 'tools')
-rw-r--r--tools/Makefile.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/Makefile.am b/tools/Makefile.am
index 5bb41cc0..fe0681e5 100644
--- a/tools/Makefile.am
+++ b/tools/Makefile.am
@@ -321,7 +321,7 @@ all_py_tests_sources = \
test/python/%.py: test/unit/%.cc test/convert.py
$(PYTHON) $(srcdir)/test/convert.py $< $@
-test/python/UnitTests.py: $(all_py_tests_sources)
+test/python/ConvertedTests.py: $(all_py_tests_sources)
@echo "from unittest import TextTestRunner, TestSuite" > $@
@for file in $$(ls $(srcdir)/test/unit/*.cc); do \
base=$$(basename $$file); \
@@ -346,7 +346,7 @@ ESC_distdir=`echo "$(distdir)" | sed 's/\//\\\\\//g'`
# jww (2007-05-10): This rule will not be triggered on systems that
# define an EXEEXT.
-PyUnitTests: test/PyUnitTests.py test/python/UnitTests.py
+PyUnitTests: test/PyUnitTests.py test/python/ConvertedTests.py
@cat $(srcdir)/test/PyUnitTests.py \
| sed "s/%python%/$(ESC_python)/" \
| sed "s/%srcdir%/$(ESC_srcdir)/g" \