mirror of https://git.wownero.com/dsc/mxe.git
openmp-validation: add current directory to @INC for newer Perl
Perl v5.26.0 has removed the current directory from the include path. This breaks the `run_test.pl` script which tries to load modules from the build directory and fails if the system Perl is 5.26.0 or newer. Error message: `Can't locate ompts_parserFunctions.pm in @INC`
This commit is contained in:
parent
e2ecdb2d15
commit
16aa4d0347
|
@ -0,0 +1,14 @@
|
|||
diff --git a/runtest.pl b/runtest.pl
|
||||
index 3472351..e84595b 100755
|
||||
--- a/runtest.pl
|
||||
+++ b/runtest.pl
|
||||
@@ -1,5 +1,9 @@
|
||||
#!/usr/bin/env perl
|
||||
|
||||
+BEGIN {
|
||||
+ unshift @INC, '.';
|
||||
+}
|
||||
+
|
||||
# runtest [options] FILENAME
|
||||
#
|
||||
# Read the file FILENAME. Each line contains a test.
|
Loading…
Reference in New Issue