]> git.lyx.org Git - lyx.git/blobdiff - lib/scripts/lyx_batch.pl.in
zh_CN update of layouttranslations
[lyx.git] / lib / scripts / lyx_batch.pl.in
index eb7ed125983e423460a70ca2206d25b96f432495..2d93d27c59ee856b02dfd17de1b234cc19fad14c 100644 (file)
@@ -35,6 +35,16 @@ my $comparepdf = "@COMPAREPDF_EXECUTABLE@";
 # precondition: system commands to be executed prior to the test
 # command_line: List of parameters to be used on the lyx-command-line
 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 => {
     src_files => ["beamer_test.lyx"],
     check => [["beamer_test.tex", "beamer_test.tex.orig"]],
@@ -58,7 +68,7 @@ my %Tests = (
   "ams-import" => {
     src_files => ["ams-import.tex"],
     check => [["ams-import.pdf", "ams-import.pdf", $comparepdf],
-             ["ams-import.lyx"]],
+              ["ams-import.lyx"]],
     commands => ["buffer-new",
                  "buffer-import latex ams-import.tex",
                  "buffer-write",