Commit Graph

11 Commits

Author SHA1 Message Date
Kornel Benko
7b4064bbcb Cmake url tests: Add special handling for some ftp-urls 2016-01-05 17:27:49 +01:00
Kornel Benko
689a144824 Cmake url tests: Use more sophiticated check for urls. 2016-01-03 15:25:09 +01:00
Kornel Benko
f3989f1e3a Cmake url tests: Handle some special chars in urls. 2015-11-26 14:31:15 +01:00
Kornel Benko
270df24246 Typo 2015-11-23 13:41:29 +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
30b6c83164 Use prototypes in perl scripts 2014-01-24 11:00:07 +01:00
Kornel Benko
037d474360 Cmake url tests: Use try - catch mechanism while testing urls.
If a perl-submodule exits with 'die()', the process would stop
and the following urls would not be tested.
The bug detection and idea how to solve it: Scott Kostyshak.
2014-01-08 13:36:30 +01:00
Kornel Benko
abe7eef13c Replace the remaining bad urls with accsessible ones
Now all urls we use in our provided lyx-files
(doc, examples, templates)
use urls which really exist.

(If a url was meant merely as an example,
it was not touched, but added to file 'knownInvalidURLS'.)
2013-08-30 17:28:46 +02:00
Kornel Benko
4f043fba4d Cmake build tests: href entries checked
Our lyx-files are referencing urls also with
a href inset. We check now also these.

search_url.pl: Added check for href
*.lyx: Corrected href
2013-08-28 19:51:19 +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