Feature #1250
- #1250 Support out-of-tree test runs (thanks to Jakub Wilk).
This commit is contained in:
@@ -30,7 +30,10 @@ use strict;
|
||||
use warnings;
|
||||
use Test::More;
|
||||
|
||||
my @files = glob "./json/*.json";
|
||||
my $source_dir = $0;
|
||||
$source_dir =~ s{[^/]+$}{..};
|
||||
|
||||
my @files = glob "$source_dir/test/json/*.json";
|
||||
plan tests => scalar @files;
|
||||
|
||||
my $output;
|
||||
|
||||
Reference in New Issue
Block a user