Re: [LyX/master] Export tests in cmake build: Do not use the default userdir while running lyx.

2013-07-23 Thread Kornel Benko
Am Dienstag, 23. Juli 2013 um 21:58:50, schrieb Vincent van Ravesteijn 

> Op 23-7-2013 21:43, Kornel Benko schreef:
> > commit 33f23ae8e5250b76542877681846bc0125da3548
> > Author: Kornel Benko 
> > Date:   Tue Jul 23 21:42:44 2013 +0200
> >
> >  Export tests in cmake build: Do not use the default userdir while
> >  running lyx.
> >
> > diff --git a/development/autotests/CMakeLists.txt 
> > b/development/autotests/CMakeLists.txt
> > index c5fd05d..1dba37a 100644
> > --- a/development/autotests/CMakeLists.txt
> > +++ b/development/autotests/CMakeLists.txt
> > @@ -59,7 +59,7 @@ if(Q_WS_X11)
> > endif()
> >   
> > if(Missing)
> > -message(STATUS "Missing libraries or programs to create xvkbd: 
> > ${Missing}")
> > +message(STATUS "Missing Libraries or programms to create xvkbd: 
> > ${Missing}")
> >   message(STATUS "cmake build is therefore omiting autotests")
> > endif()
> I guess this is an unwanted change ?
> 
> Vincent

Sorry, slipped in. :(

Kornel

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


Re: [LyX/master] Export tests in cmake build: Do not use the default userdir while running lyx.

2013-07-23 Thread Vincent van Ravesteijn

Op 23-7-2013 21:43, Kornel Benko schreef:

commit 33f23ae8e5250b76542877681846bc0125da3548
Author: Kornel Benko 
Date:   Tue Jul 23 21:42:44 2013 +0200

 Export tests in cmake build: Do not use the default userdir while
 running lyx.

diff --git a/development/autotests/CMakeLists.txt 
b/development/autotests/CMakeLists.txt
index c5fd05d..1dba37a 100644
--- a/development/autotests/CMakeLists.txt
+++ b/development/autotests/CMakeLists.txt
@@ -59,7 +59,7 @@ if(Q_WS_X11)
endif()
  
if(Missing)

-message(STATUS "Missing libraries or programs to create xvkbd: ${Missing}")
+message(STATUS "Missing Libraries or programms to create xvkbd: 
${Missing}")
  message(STATUS "cmake build is therefore omiting autotests")
endif()

I guess this is an unwanted change ?

Vincent



Tests in cmake build

2012-10-21 Thread Kornel Benko
The target `test' should now emit output equivalent to the following:
...
Running tests...
/usr/bin/ctest --force-new-ctest-process 
Test project /usr/BUILD/BuildLyxGit
  Start  1: build_convert
 1/11 Test  #1: build_convert    Passed0.49 sec
  Start  2: data_convert
 2/11 Test  #2: data_convert .   Passed0.00 sec
  Start  3: compare_convert
 3/11 Test  #3: compare_convert ..   Passed0.01 sec
  Start  4: build_filetools
 4/11 Test  #4: build_filetools ..   Passed0.53 sec
  Start  5: data_filetools
 5/11 Test  #5: data_filetools ...   Passed0.01 sec
  Start  6: compare_filetools
 6/11 Test  #6: compare_filetools    Passed0.01 sec
  Start  7: build_lstrings
 7/11 Test  #7: build_lstrings ...   Passed0.49 sec
  Start  8: data_lstrings
 8/11 Test  #8: data_lstrings    Passed0.00 sec
  Start  9: compare_lstrings
 9/11 Test  #9: compare_lstrings .   Passed0.01 sec
  Start 10: build_tex2lyx
10/11 Test #10: build_tex2lyx    Passed0.94 sec
  Start 11: roundtrip_tex2lyx
11/11 Test #11: roundtrip_tex2lyx    Passed5.33 sec

100% tests passed, 0 tests failed out of 11

Total Test time (real) =   7.82 sec
...

build_convert: builds the check_convert executable
data_convert: runs check_convert and creates the data
compare_convert: compare the data from check_convert with revisioned file
...
build_tex2lyx: builds tex2lyx
roundtrip_tex2lyx: runs the script `runtests.py'

The output of tests should be found in the build-dir under
`Testing/Temporary/LastTest.log'

Kornel


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