+TEST_RESULTS = \
+ test/algo2e.lyx.lyx \
+ test/box-color-size-space-align.lyx.lyx \
+ test/CJK.lyx.lyx \
+ test/CJKutf8.lyx.lyx \
+ test/DummyDocument.lyx.lyx \
+ test/Dummy~Document.lyx.lyx \
+ test/test-insets.lyx.lyx \
+ test/test-insets-basic.lyx.lyx \
+ test/test.lyx.lyx \
+ test/test-memoir.lyx.lyx \
+ test/test-modules.lyx.lyx \
+ test/test-refstyle-theorems.lyx.lyx \
+ test/test-scr.lyx.lyx \
+ test/test-structure.lyx.lyx \
+ test/verbatim.lyx.lyx \
+ test/XeTeX-polyglossia.lyx.lyx
+
+alltests: check alltests-recursive
+
+alltests-recursive: tex2lyx
+ if test "$(srcdir)" = "$(builddir)"; then \
+ echo "tex2lyx tests require a separate build directory"; \
+ exit 1; \
+ fi
+ @$(PYTHON) "$(srcdir)/test/runtests.py"; \
+ if test $$? -eq 0; then \
+ echo -e "=====================\ntex2lyx tests passed.\n====================="; \
+ else \
+ echo -e "=====================\ntex2lyx tests failed.\n====================="; \
+ fi
+