diff --git a/src/tex2lyx/test/CMakeLists.txt b/src/tex2lyx/test/CMakeLists.txt index ae2037aced..2b3ddb4dc0 100644 --- a/src/tex2lyx/test/CMakeLists.txt +++ b/src/tex2lyx/test/CMakeLists.txt @@ -6,9 +6,13 @@ project(test) -file(GLOB _tex_tests RELATIVE "${CMAKE_CURRENT_SOURCE_DIR}" "${CMAKE_CURRENT_SOURCE_DIR}/*.ltx" "${CMAKE_CURRENT_SOURCE_DIR}/*.tex") +#file(GLOB _tex_tests RELATIVE "${CMAKE_CURRENT_SOURCE_DIR}" "${CMAKE_CURRENT_SOURCE_DIR}/*.ltx" "${CMAKE_CURRENT_SOURCE_DIR}/*.tex") +# +#list(REMOVE_ITEM _tex_tests DummyDocument.tex) -list(REMOVE_ITEM _tex_tests DummyDocument.tex) +set(_tex_tests test.ltx test-structure.tex test-insets.tex + test-modules.tex box-color-size-space-align.tex + CJK.tex XeTeX-polyglossia.tex) foreach(_fl ${_tex_tests}) set(fl ${_fl}) diff --git a/src/tex2lyx/test/runtests.py b/src/tex2lyx/test/runtests.py index 94132a0d10..358aa4ecc5 100755 --- a/src/tex2lyx/test/runtests.py +++ b/src/tex2lyx/test/runtests.py @@ -68,10 +68,6 @@ def main(argv): errorstring = proc.stderr.read() if not errorstring is None: print errorstring - if err == 0: - matchObj = re.match(r'.*: +Error +in +.*', errorstring, re.M|re.S) - if matchObj: - err = 9999 if err != 0: errors.append(f) elif not overwrite: