1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
|
Description: skip tests in installed version
Skip some tests the need relative path when them are executed with installed
version, like autopkgtest.
Forwarded: not-needed
Author: Lucas Kanashiro <kanashiro.duarte@gmail.com>
Reviewed-by: gregor herrmann <gregoa@debian.org>
Last-Update: 2015-10-18
--- a/t/02-oauth_api.t
+++ b/t/02-oauth_api.t
@@ -135,6 +135,8 @@
is_deeply($api2->{oauth}, $api->{oauth}, "Did import_storable_config get back the config we stored");
+SKIP: {
+skip "Run tests with installed version", 4, if $ENV{ADTTMP};
script_compiles('script/flickr_make_stored_config.pl','Does flickr_make_stored_config.pl compile');
script_compiles('script/flickr_dump_stored_config.pl','Does flickr_dump_stored_config.pl compile');
script_compiles('script/flickr_make_test_values.pl','Does flickr_make_test_values.pl compile');
@@ -142,6 +144,7 @@
my @runtime = ('script/flickr_dump_stored_config.pl', '--config_in='.$fname);
script_runs(\@runtime, "Did flickr_dump_stored_config.pl run");
+}
########################################################
|