]> git.lyx.org Git - lyx.git/commitdiff
make tests: Disable sessions handling
authorKornel Benko <kornel@lyx.org>
Thu, 1 Jun 2017 07:19:29 +0000 (09:19 +0200)
committerKornel Benko <kornel@lyx.org>
Thu, 1 Jun 2017 07:19:29 +0000 (09:19 +0200)
We use prefTest.pl to allow use of external programs
while testing exports.
The change here affects only the keytests though.

lib/scripts/prefTest.pl.in

index 3e002d9f84307921b1a19a2c9769ba82bc7f1e0e..3a4829c55caeadddf3f5d1819b2106c61bbb6f13 100755 (executable)
@@ -13,6 +13,7 @@ my $userdir = "$bindir/Testing/.lyx";
 my %allowedKeys = (
   "use_converter_needauth_forbidden" => ["true", "false"],
   "use_converter_needauth" => ["true", "false"],
+  "allow_geometry_session" => ["false"],
     );
 
 chdir($bindir);
@@ -23,7 +24,7 @@ my %Subst = ();
 
 my $ctestparams = 0;
 my @ctestpars = ();
-for my $arg (@ARGV) {
+for my $arg ("allow_geometry_session=false", @ARGV) {
   if ($ctestparams) {
     push(@ctestpars, $arg);
   }