From: aurium Date: Mon, 13 Apr 2009 16:37:31 +0000 (+0000) Subject: run-all-extension-tests in make check X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=2ebfcf72203f94f579931a9cfe6658a65ca5027d;p=inkscape.git run-all-extension-tests in make check --- diff --git a/configure.ac b/configure.ac index fa6960bc4..4f42fdbe7 100644 --- a/configure.ac +++ b/configure.ac @@ -971,6 +971,7 @@ share/extensions/Makefile share/extensions/alphabet_soup/Makefile share/extensions/Barcode/Makefile share/extensions/Poly3DObjects/Makefile +share/extensions/test/Makefile share/extensions/xaml2svg/Makefile share/filters/Makefile share/fonts/Makefile diff --git a/share/extensions/Makefile.am b/share/extensions/Makefile.am index d60426c9e..01577acf5 100644 --- a/share/extensions/Makefile.am +++ b/share/extensions/Makefile.am @@ -3,6 +3,7 @@ SUBDIRS = \ alphabet_soup \ Barcode \ Poly3DObjects \ + test \ xaml2svg extensiondir = $(datadir)/inkscape/extensions @@ -54,7 +55,7 @@ extensions = \ ffgeom.py\ fig2dev-ext.py \ flatten.py \ - foldablebox.py \ + foldablebox.py \ fractalize.py \ funcplot.py \ gears.py\ @@ -174,7 +175,7 @@ modules = \ extrude.inx \ fig_input.inx \ flatten.inx \ - foldablebox.inx \ + foldablebox.inx \ fractalize.inx \ funcplot.inx \ gears.inx\ diff --git a/share/extensions/test/Makefile.am b/share/extensions/test/Makefile.am new file mode 100644 index 000000000..64a0b6600 --- /dev/null +++ b/share/extensions/test/Makefile.am @@ -0,0 +1,4 @@ + +# List of all tests to be run. +#TESTS = svgcalendar.test.py +# that is not working :-/ \ No newline at end of file diff --git a/share/extensions/test/run-all-extension-tests b/share/extensions/test/run-all-extension-tests index db3ddd9c2..b1ad95f79 100755 --- a/share/extensions/test/run-all-extension-tests +++ b/share/extensions/test/run-all-extension-tests @@ -1,9 +1,6 @@ #!/bin/bash -echo " - ######################### - Extension Tests - #########################" +echo -e "\n##### Extension Tests #####" cd "$(dirname "$0")" diff --git a/share/extensions/test/svgcalendar.test.py b/share/extensions/test/svgcalendar.test.py index cb2054754..7b93c9b38 100755 --- a/share/extensions/test/svgcalendar.test.py +++ b/share/extensions/test/svgcalendar.test.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python import sys sys.path.append('..') # this line allows to import the extension code diff --git a/src/Makefile.am b/src/Makefile.am index 6c267d0f4..cb6e1b903 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -263,7 +263,7 @@ check_PROGRAMS = cxxtests # "make distcheck". # List of all tests to be run. -TESTS = $(check_PROGRAMS) +TESTS = $(check_PROGRAMS) ../share/extensions/test/run-all-extension-tests # including the the testsuites here ensures that they get distributed cxxtests_SOURCES = cxxtests.cpp $(CXXTEST_TESTSUITES)