X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flyx2lyx%2FMakefile.am;h=99132404153dbe3edc2add30a9c4d0818eb0512f;hb=833def44eb9a4440c6546b27e683c434641c27e4;hp=d2ed35608104d827a59f0aa584a4dc91d553b07e;hpb=757def9c5e10196092a10d451101e93af44b4ad8;p=features.git diff --git a/lib/lyx2lyx/Makefile.am b/lib/lyx2lyx/Makefile.am index d2ed356081..9913240415 100644 --- a/lib/lyx2lyx/Makefile.am +++ b/lib/lyx2lyx/Makefile.am @@ -1,8 +1,8 @@ include $(top_srcdir)/config/common.am -CLEANFILES += *.pyc *.pyo +CLEANFILES = *.pyc *.pyo -EXTRA_DIST = lyx2lyx_version.py.in +EXTRA_DIST = lyx2lyx_version.py.in test_parser_tools.py CMakeLists.txt CHMOD = chmod @@ -32,8 +32,22 @@ dist_lyx2lyx_PYTHON = \ lyx_1_6.py \ lyx_2_0.py \ lyx_2_1.py \ + lyx_2_2.py \ + lyx_2_3.py \ + lyx_2_4.py \ profiling.py \ test_parser_tools.py install-data-hook: $(CHMOD) 755 $(DESTDIR)$(lyx2lyxdir)/lyx2lyx + +alltests: check alltests-recursive + +alltests-recursive: + @$(PYTHON) "$(srcdir)/test_parser_tools.py"; \ + if test $$? -eq 0; then \ + echo -e "=====================\nlyx2lyx tests passed.\n====================="; \ + else \ + echo -e "=====================\nlyx2lyx tests failed.\n====================="; \ + fi +