summaryrefslogtreecommitdiff
path: root/tests/run_make_tests.pl
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>2019-10-05 07:43:52 -0400
committerPaul Smith <psmith@gnu.org>2019-10-05 07:43:52 -0400
commita4a173928ff07f87e3ed6cc164d0b5d684f86c64 (patch)
tree2e4517a83999f1a6650165b62f452de5b4c7d745 /tests/run_make_tests.pl
parent0e113897f70a96a7711ae26cd41b534adedd10e3 (diff)
downloadmake-git-a4a173928ff07f87e3ed6cc164d0b5d684f86c64.tar.gz
* tests/run_make_tests.pl (valid_option): Add missing File::Spec
Diffstat (limited to 'tests/run_make_tests.pl')
-rw-r--r--tests/run_make_tests.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/run_make_tests.pl b/tests/run_make_tests.pl
index e2fddac3..a7a55558 100644
--- a/tests/run_make_tests.pl
+++ b/tests/run_make_tests.pl
@@ -173,7 +173,7 @@ sub valid_option
if ($option =~ /^-srcdir$/i) {
$srcdir = shift @argv;
- if (! -f catfile($srcdir, 'src', 'gnumake.h')) {
+ if (! -f File::Spec->catfile($srcdir, 'src', 'gnumake.h')) {
print "$option $srcdir: Not a valid GNU make source directory.\n";
exit 0;
}