+assignLabelDepth(0 "export" "key" "layout" "load" "lyx2lyx" "module" "roundtrip" "url")
+assignLabelDepth(1 "unreliable" "inverted")
+assignLabelDepth(2 "suspended")
+assignLabelDepth(3 "examples" "manuals" "mathmacros" "templates" "autotests")
+
+loadTestList(suspiciousTests suspiciousTests 7)
+loadTestList(ignoredTests ignoredTests 0)
+loadTestList(suspendedTests suspendedTests 6)
+loadTestList(unreliableTests unreliableTests 5)
+
+# preparing to add e.g. development/mathmacros to the foreach() loop
+foreach(libsubfolderx autotests/export lib/doc lib/examples lib/templates development/mathmacros)
+ set(testlabel "export")
+ if (libsubfolderx MATCHES "lib/doc")
+ list(APPEND testlabel "manuals")
+ elseif (libsubfolderx MATCHES "lib/examples")
+ list(APPEND testlabel "examples")
+ elseif (libsubfolderx MATCHES "lib/templates")
+ list(APPEND testlabel "templates")
+ elseif (libsubfolderx MATCHES "development/mathmacros")
+ list(APPEND testlabel "mathmacros")
+ elseif (libsubfolderx MATCHES "autotests/.+")
+ list(APPEND testlabel "autotests")
+ endif()
+ set(LIBSUB_SRC_DIR "${TOP_SRC_DIR}/${libsubfolderx}")
+ string(REGEX REPLACE "^(lib|development|autotests)/" "" libsubfolder "${libsubfolderx}")