]> git.sur5r.net Git - i3/i3/commitdiff
complete-run.pl: accept the xvfb option from command line 3066/head
authorOrestis Floros <orestisf1993@gmail.com>
Mon, 4 Dec 2017 22:22:14 +0000 (00:22 +0200)
committerOrestis Floros <orestisf1993@gmail.com>
Mon, 4 Dec 2017 22:22:14 +0000 (00:22 +0200)
testcases/complete-run.pl.in

index b7b398720e283a150dfd47fdd4ab82192e2267e6..96b93bed085a07fd4d4d49832d00ab26daee10f3 100755 (executable)
@@ -67,7 +67,7 @@ my $result = GetOptions(
     "valgrind" => \$options{valgrind},
     "strace" => \$options{strace},
     "xtrace" => \$options{xtrace},
-    "xvfb" => \$options{xvfb},
+    "xvfb!" => \$options{xvfb},
     "display=s" => \@displays,
     "parallel=i" => \$parallel,
     "help|?" => \$help,
@@ -485,6 +485,12 @@ C<latest/strace-for-$test.log>.
 Runs i3 under xtrace to trace X11 requests/replies. The output will be
 available in C<latest/xtrace-for-$test.log>.
 
+=item B<--xvfb>
+
+=item B<--no-xvfb>
+
+Enable or disable running tests under Xvfb. Enabled by default.
+
 =item B<--coverage-testing>
 
 Generates a test coverage report at C<latest/i3-coverage>. Exits i3 cleanly