Am Montag, 5. August 2013 um 08:01:08, schrieb Scott Kostyshak 
<skost...@lyx.org>
> On Mon, Aug 5, 2013 at 5:56 AM, Pavel Sanda <sa...@lyx.org> wrote:
> > Scott Kostyshak wrote:
> >> > Sorry, I meant "This is also a test for lyx2lyx, isn't it?"
> >>
> >> My opinion is that we should update those documents. I agree that it
> >
> > attic is just garbage and it is somewhat absurd that test should fail
> > because of some contents in there. Please create proper tests for
> > things you want to test and do not impose some future maintenance
> > burden like "we should keep stuff in attic up-to-date".
> 
> OK. Attached is a patch.
> 
> Scott

Why not check earlier?

        Kornel
diff --git a/development/autotests/CMakeLists.txt b/development/autotests/CMakeLists.txt
index e4720f4..3275bf0 100644
--- a/development/autotests/CMakeLists.txt
+++ b/development/autotests/CMakeLists.txt
@@ -133,11 +133,13 @@ foreach(libsubfolder doc examples templates)
   set(lang_lyx_files)
   set(nolang_lyx_files)
   foreach(f ${lyx_files})
-    string(REGEX MATCHALL "^[a-z][a-z](_[A-Z][A-Z])?\\/" _v ${f})
-    if(_v)
-      list(APPEND lang_lyx_files ${f})
-    else()
-      list(APPEND nolang_lyx_files ${f})
+    if((NOT f MATCHES "attic/")
+      string(REGEX MATCHALL "^[a-z][a-z](_[A-Z][A-Z])?\\/" _v ${f})
+      if(_v)
+        list(APPEND lang_lyx_files ${f})
+      else()
+        list(APPEND nolang_lyx_files ${f})
+      endif()
     endif()
   endforeach()
   file(STRINGS "${CMAKE_CURRENT_SOURCE_DIR}/revertedTests" revertedTests)

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to