Am Donnerstag, 21. Januar 2016 um 22:24:58, schrieb Georg Baum 
<georg.b...@post.rwth-aachen.de>
> Stephan Witt wrote:
> 
> > $ lyx-build/cmake/2.2.0dev/bin/Debug/tex2lyx
> > tex2lyx: Not enough arguments.
> > Usage: tex2lyx [options] infile.tex [outfile.lyx]
> > …
> > -sysdir SYSDIR     Set system directory to SYSDIR.
> > Default: /Users/stephan/git/lyx/lib/
> > -userdir USERDIR   Set user directory to USERDIR.
> > Default: /Users/stephan/Library/Application Support/LyX/tex2lyx/LyX/
> 
> Ah, now we are getting somewhere. The systemdir is fine, the userdir is 
> wrong. It should be
> 
> /Users/stephan/Library/Application Support/LyX/

Wrong. For tests we use _own_ userdir "<build-dir>/Testing.lyx"
We do not want to modify anything outside the build directory.

> if you compiled without version suffix and
> 
> /Users/stephan/Library/Application Support/LyX2.2/
> 
> if you compiled with version suffix.
> 
> > With autotools build I get:
> > $ lyx-build/LyX-2.2.0dev.build/src/tex2lyx/tex2lyx
> > lyx-build/cmake/2.2.0dev/src/tex2lyx/test/test-modules.tex tex2lyx: User
> > directory does not exist. …
> > -sysdir SYSDIR     Set system directory to SYSDIR.
> > Default: /Users/stephan/git/lyx/lib/
> > -userdir USERDIR   Set user directory to USERDIR.
> > Default: /Users/stephan/Library/Application
> > Support/LyX/tex2lyx-2.2/LyX-2.2/
> 
> This is wrong as well. This looks as if you compiled with version suffix 
> "-2.2", so I guess the correct path would be

Not important to tests.

> /Users/stephan/Library/Application Support/LyX-2.2/
> 
> Does LyX itself tell the correct userdir for both cases? I am now pretty 
> sure that support::Package or some related code is broken on OS X, at least 
> for tex2lyx, which means that this is not only a minor test issue, but a 
> beta blocker IMHO. I'll have a closer look at the weekend, still too much 
> other stuff on my desk.
> 
> > Long answer:
> > 
> > 1) The first hurdle is the wrong linker command for the check binaries on
> > Mac.
> > 
> > $ (cd lyx-build/LyX-2.2.0dev.build;make alltests)
> > PASS: tests/test_convert
> > FAIL: tests/test_filetools
> > PASS: tests/test_lstrings
> > PASS: tests/test_trivstring
> 
> This needs to be fixed but it is not urgent, since these test programs are 
> not needed for the tex2lyx tests.
> 
> 
> Georg

        Kornel

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

Reply via email to