summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rwxr-xr-xtests/tr/build-script.pl2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/tr/build-script.pl b/tests/tr/build-script.pl
index 0ae14a17a..6a861121c 100755
--- a/tests/tr/build-script.pl
+++ b/tests/tr/build-script.pl
@@ -3,6 +3,8 @@
# @configure_input@
require 5.002;
+
+BEGIN { push @INC, '@srcdir@' if '@srcdir@' ne '.'; }
use strict;
use Trtest;