mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-10 20:04:46 +00:00
Add make target to update tex2lyx test references
Now "make check" does not overwrite the test references anymore, use the updatetests target instead. "make check" now also recognizes test failures.
This commit is contained in:
parent
adcd2281af
commit
d56295bcdf
@ -32,6 +32,8 @@ TEST_FILES = \
|
||||
test/XeTeX-polyglossia.tex
|
||||
|
||||
TESTS = test/runtests.py
|
||||
updatetests:
|
||||
$(PYTHON) "$(srcdir)/test/runtests.py" ./tex2lyx ../../../lib/scripts "$(srcdir)/test"
|
||||
|
||||
LINKED_FILES = \
|
||||
../Author.cpp \
|
||||
|
@ -42,8 +42,8 @@ def main(argv):
|
||||
if len(argv) >= 4:
|
||||
outputdir = sys.argv[3]
|
||||
else:
|
||||
outputdir = inputdir
|
||||
# outputdir = os.path.join(os.path.dirname(tex2lyx), "test")
|
||||
# outputdir = inputdir
|
||||
outputdir = os.path.join(os.path.dirname(tex2lyx), "test")
|
||||
|
||||
files = ['test.ltx', 'test-structure.tex', 'test-insets.tex', \
|
||||
'box-color-size-space-align.tex', 'CJK.tex', \
|
||||
|
Loading…
Reference in New Issue
Block a user