Am Dienstag, 19. Januar 2016 um 08:10:59, schrieb Stephan Witt <st.w...@gmx.net> > Am 19.01.2016 um 05:13 schrieb Scott Kostyshak <skost...@lyx.org>: > > > > On Mon, Jan 18, 2016 at 09:53:26PM +0100, Stephan Witt wrote: > >> Am 18.01.2016 um 21:48 schrieb Kornel Benko <kor...@lyx.org>: > >>> > >>> Am Montag, 18. Januar 2016 um 15:26:06, schrieb Scott Kostyshak > >>> <skost...@lyx.org> > >>>> On Mon, Jan 18, 2016 at 09:23:47PM +0100, Stephan Witt wrote: > >>>>> Running ctest there are 16 failed tests in tex2lyx. > >>>>> Is this to be expected? > >>>> > >>>> I don't think so. All of the tex2lyx tests pass for me. > >>> > >>> Here too. > >>> > >>>>> Where are the details to analyze it further? > >>>> > >>>> In the CMake build directory, look at > >>>> > >>>> Testing/Temporary/LastTest.log > >>> > >>> To compare with my results, please try (in the build directory) > >>> # ctest -R tex2lyx > >>> too. > >> > >> Ok, I did it. Here you are. > > > > Interesting, I just looked at once test. My entry in the log for it is > > below. I > > think the main difference is that I have the output "Ignoring options > > 'boxed' > > of package algorithm2e." > > > > 8/4947 Testing: tex2lyx/roundtrip/algo2e.tex > > 8/4947 Test: tex2lyx/roundtrip/algo2e.tex > > Command: "/usr/bin/cmake" > > "-DLYX_TESTS_USERDIR=/home/scott/lyxbuilds/master/CMakeBuild/Testing/.lyx" > > "-DLYX_USERDIR_VER=LYX_USERDIR_22x" > > "-DLYX_PYTHON_EXECUTABLE=/usr/bin/python2.7" > > "-DPY_SCRIPT=/home/scott/lyxbuilds/master/repo/src/tex2lyx/test/runtests.py" > > "-DTEX2LYX_EXE=/home/scott/lyxbuilds/master/CMakeBuild/bin/tex2lyx2.2" > > "-DSCRIPT_DIR=/home/scott/lyxbuilds/master/repo/lib/scripts" > > "-DWORKDIR=/home/scott/lyxbuilds/master/CMakeBuild/src/tex2lyx/test" > > "-DTESTFILE=algo2e.tex" "-P" > > "/home/scott/lyxbuilds/master/repo/src/tex2lyx/test/runtests.cmake" > > Directory: /home/scott/lyxbuilds/master/CMakeBuild/src/tex2lyx/test > > "tex2lyx/roundtrip/algo2e.tex" start time: Jan 18 15:24 EST > > Output: > > ---------------------------------------------------------- > > -- SCRIPT_DIR = /home/scott/lyxbuilds/master/repo/lib/scripts > > -- Executing: /home/scott/lyxbuilds/master/CMakeBuild/bin/tex2lyx2.2 > > -roundtrip -copyfiles -f > > /home/scott/lyxbuilds/master/repo/src/tex2lyx/test/algo2e.tex > > /home/scott/lyxbuilds/master/CMakeBuild/src/tex2lyx/test/algo2e.lyx > > > > Creating file > > /home/scott/lyxbuilds/master/CMakeBuild/src/tex2lyx/test/algo2e.lyx > > Ignoring options 'boxed' of package algorithm2e. > > > > > > -- Error output of > > /home/scott/lyxbuilds/master/repo/src/tex2lyx/test/runtests.py = 0 > > <end of output> > > Test time = 0.39 sec > > ---------------------------------------------------------- > > Test Passed. > > "tex2lyx/roundtrip/algo2e.tex" end time: Jan 18 15:25 EST > > "tex2lyx/roundtrip/algo2e.tex" time elapsed: 00:00:00 > > I have this: > > $ cat > /Users/stephan/git/lyx-build/cmake/2.2.0dev/Testing/.lyx/layouts/testalgorithm2e.layout > > #% Do not delete the line below; configure depends on this > # \DeclareLaTeXClass{testalgorithm2e} > Format 55 > Input algorithm2e.module > > Do you have the same in /home/scott/lyxbuilds/master/CMakeBuild/Testing/.lyx? > > BTW, when debugging tex2lyx it complains about missing USERDIR and I have to > add > -userdir /Users/stephan/git/lyx-build/cmake/2.2.0dev/Testing/.lyx explicitly. > Is it passed via environment in ctest runs? Or is it simply not printed? > Shouldn't these options passed via command line when calling tex2lyx?
It is set as environment, see runtests.cmake:20 > Other possible differences except the OS? :) > - version or availability of algorithm2e.sty? > - remnants of previous runs somewhere? > - mismatch of config files somewhere? > > Stephan Kornel
signature.asc
Description: This is a digitally signed message part.