summaryrefslogtreecommitdiff
path: root/tests/tools/flex-diff.pl
diff options
context:
space:
mode:
Diffstat (limited to 'tests/tools/flex-diff.pl')
-rwxr-xr-xtests/tools/flex-diff.pl3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/tools/flex-diff.pl b/tests/tools/flex-diff.pl
index 245e9a1b..30f73c4d 100755
--- a/tests/tools/flex-diff.pl
+++ b/tests/tools/flex-diff.pl
@@ -1,5 +1,8 @@
#!/usr/bin/perl -w
use strict;
+
+my $script_dir; BEGIN { use Cwd qw/ abs_path cwd /; use File::Basename; $script_dir = dirname(abs_path($0)); push @INC, "$script_dir/.."; }
+
use IPC::Run3;
# this file abstracts away from differences due to different hash