mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-25 10:58:52 +00:00
Add a testcase for buffer-write-as
This commit is contained in:
parent
b3db2325ed
commit
48a5b16885
@ -13,4 +13,5 @@ add_batch_test(outline-beamer beamer_test "export")
|
|||||||
# see also bug #10835
|
# see also bug #10835
|
||||||
add_batch_test(vcs-info vcs_info_export)
|
add_batch_test(vcs-info vcs_info_export)
|
||||||
add_batch_test(AMS-import ams-import "tex2lyx")
|
add_batch_test(AMS-import ams-import "tex2lyx")
|
||||||
|
add_batch_test(SAVE-as save_as_test "export")
|
||||||
|
|
||||||
|
4606
development/batchtests/save_as.lyx
Normal file
4606
development/batchtests/save_as.lyx
Normal file
File diff suppressed because it is too large
Load Diff
@ -35,6 +35,16 @@ my $comparepdf = "@COMPAREPDF_EXECUTABLE@";
|
|||||||
# precondition: system commands to be executed prior to the test
|
# precondition: system commands to be executed prior to the test
|
||||||
# command_line: List of parameters to be used on the lyx-command-line
|
# command_line: List of parameters to be used on the lyx-command-line
|
||||||
my %Tests = (
|
my %Tests = (
|
||||||
|
save_as_test => {
|
||||||
|
src_files => ["save_as.lyx"],
|
||||||
|
check => [["save_as_saved.lyx"],
|
||||||
|
["save_as_saved2.lyx"]],
|
||||||
|
commands => ["file-open beamer_test.lyx",
|
||||||
|
"buffer-write-as save_as_saved.lyx",
|
||||||
|
"buffer-reload dump",
|
||||||
|
"buffer-write-as save_as_saved2.lyx",
|
||||||
|
"lyx-quit"],
|
||||||
|
},
|
||||||
beamer_test => {
|
beamer_test => {
|
||||||
src_files => ["beamer_test.lyx"],
|
src_files => ["beamer_test.lyx"],
|
||||||
check => [["beamer_test.tex", "beamer_test.tex.orig"]],
|
check => [["beamer_test.tex", "beamer_test.tex.orig"]],
|
||||||
|
Loading…
Reference in New Issue
Block a user