Commit 7928832e authored by Morten Welinder's avatar Morten Welinder Committed by Morten Welinder

Skip if checker is not available, such as in distcheck tree.

2009-02-22  Morten Welinder  <terra@gnome.org>

	* t81*.pl: Skip if checker is not available, such as in distcheck
	tree.


svn path=/trunk/; revision=17156
parent 50cb3d62
2009-02-22 Morten Welinder <terra@gnome.org>
* t81*.pl: Skip if checker is not available, such as in distcheck
tree.
2009-01-06 Morten Welinder <terra@gnome.org>
* t8003-valgrind-pdf.pl: Skip if Cairo is 1.8.0.
......
......@@ -6,5 +6,6 @@ use lib ($0 =~ m|^(.*/)| ? $1 : ".");
use GnumericTest;
&message ("Check that code does not mix NULL and FALSE.");
&test_command ("cd $topsrc && $PERL tools/check-null-false-returns",
sub { /^$/ });
my $checker = "tools/check-null-false-returns";
&GnumericTest::report_skip ("Missing tester") unless -r "$topsrc/$checker";
&test_command ("cd $topsrc && $PERL $checker", sub { /^$/ });
......@@ -6,4 +6,6 @@ use lib ($0 =~ m|^(.*/)| ? $1 : ".");
use GnumericTest;
&message ("Check that code uses g_free and g_strdup right.");
my $checker = "tools/check-gfrees";
&GnumericTest::report_skip ("Missing tester") unless -r "$topsrc/$checker";
&test_command ("cd $topsrc && $PERL tools/check-gfrees", sub { /^$/ });
......@@ -6,4 +6,6 @@ use lib ($0 =~ m|^(.*/)| ? $1 : ".");
use GnumericTest;
&message ("Check that glade files start out not visible.");
&test_command ("cd $topsrc && $PERL tools/check-glade-visible", sub { /^$/ });
my $checker = "tools/check-glade-visible";
&GnumericTest::report_skip ("Missing tester") unless -r "$topsrc/$checker";
&test_command ("cd $topsrc && $PERL $checker", sub { /^$/ });
......@@ -6,4 +6,6 @@ use lib ($0 =~ m|^(.*/)| ? $1 : ".");
use GnumericTest;
&message ("Check that code includes gtk toplevel only.");
&test_command ("cd $topsrc && $PERL tools/check-gtk-includes", sub { /^$/ });
my $checker = "tools/check-gtk-includes";
&GnumericTest::report_skip ("Missing tester") unless -r "$topsrc/$checker";
&test_command ("cd $topsrc && $PERL $checker", sub { /^$/ });
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment