Commit Graph

8 Commits

Author SHA1 Message Date
Kornel Benko
d2ec79beac Cmake tests for translators: Added check for required program phantomjs 2016-01-03 13:02:08 +01:00
Kornel Benko
548a7ac364 Cmake tests: Rename label 'reverted' to 'inverted'. 2015-12-03 00:23:07 +01:00
Kornel Benko
f3989f1e3a Cmake url tests: Handle some special chars in urls. 2015-11-26 14:31:15 +01:00
Kornel Benko
c0290039ad Cmake url tests: Added summary files.
The files will be locatet in the build-directory "Testing/Temporary" as
  LastFailedAccessibleURLS.log
  LastFailedInaccessibleURLS.log
  LastFailedKnownInvalidURLS.log
2015-11-23 13:07:53 +01:00
Kornel Benko
b07c8292f6 Cmake test: Cmake tests: Check for consistency between po-files and lyx-trunk translations page.
This time with the correct CMakeLists.txt.
2015-10-25 11:18:30 +01:00
Kornel Benko
f2553ebf6c Cmake build tests: Threadsafety and test-labeling
The tests are now more robust if ctest uses '-j' (number of threads) parameter.
a.) keytests are running in sequence and in one thread only, no other thread running
b.) tex2lyx tests are locking in respect to each other
c.) Test gets one or more labels, so that we can select
        ctest -L url
  to run tests labeled url
d.) New macro settestlabel() to add labels to a test
2013-09-07 09:25:02 +02:00
Kornel Benko
b94d0e35d3 Replaced some invalid urls 2013-08-28 16:50:23 +02:00
Kornel Benko
8286411c81 ctests for broken URLs in URL insets of LyX docs
These tests check for broken URLs in the URL insets of
the manuals, examples, and templates.

The tests are disabled by default because the Perl interpreter
is needed.

Later on they can be activated with a flag, as follows:

  cmake ... -DLYX_ENABLE_URLTESTS=ON

but for now the connection from the TOP-CMakeLists.txt is left out.

Missing part:
        1.) Declaring an setting the option
                LYX_OPTION(ENABLE_URLTESTS  "Enable for URL tests" OFF ALL)
        2.) make the connection
                if(LYX_ENABLE_URLTESTS)
                        add_subdirectory(development/checkurls "${TOP_BINARY_DIR}/checkurls")
                endif()
2013-08-28 12:17:40 +02:00