浏览代码

Fix cpantesters execution problems

George S. Baugh 9 年之前
父节点
当前提交
35123dc7aa
共有 7 个文件被更改,包括 10 次插入7 次删除
  1. 4 1
      Changes
  2. 1 1
      t/testrail-bulk-mark-results.t
  3. 1 1
      t/testrail-cases.t
  4. 1 1
      t/testrail-lock.t
  5. 1 1
      t/testrail-report.t
  6. 1 1
      t/testrail-runs.t
  7. 1 1
      t/testrail-tests.t

+ 4 - 1
Changes

@@ -1,6 +1,9 @@
 Revision history for Perl module TestRail::API
 
-0.035 2016-04-17 TEODESIAN
+0.036 2016-04-25 TEODESIAN
+    - Fix using wrong perl during testsuite when running binaries
+
+0.035 2016-04-23 TEODESIAN
     - Fix testrail-report and testrail-cases broken binary arg passing
     - Fix issue where TODO PASS was reported in tests with TODO FAILs.
     - Fix issue where TODO FAILED steps were reported as TODO PASS.

+ 1 - 1
t/testrail-bulk-mark-results.t

@@ -25,7 +25,7 @@ is($code, 0, "Exit code OK asking for help");
 like($out,qr/encoding of arguments/i,"Help output OK");
 
 #Make sure that the binary itself processes args correctly
-$out = `$0 --help`;
+$out = `$^X $0 --help`;
 like($out,qr/encoding of arguments/i,"Appears we can run binary successfully");
 
 #TODO more thorough testing

+ 1 - 1
t/testrail-cases.t

@@ -37,5 +37,5 @@ is($code, 0, "Exit code OK asking for help");
 like($out,qr/encoding of arguments/i,"Help output OK");
 
 #Make sure that the binary itself processes args correctly
-$out = `$0 --help`;
+$out = `$^X $0 --help`;
 like($out,qr/encoding of arguments/i,"Appears we can run binary successfully");

+ 1 - 1
t/testrail-lock.t

@@ -24,5 +24,5 @@ chomp $out;
 like($out,qr/could not lock case/i,"Output is as expected");
 
 #Make sure that the binary itself processes args correctly
-$out = `$0 --help`;
+$out = `$^X $0 --help`;
 like($out,qr/encoding of arguments/i,"Appears we can run binary successfully");

+ 1 - 1
t/testrail-report.t

@@ -59,5 +59,5 @@ is($code, 0, "Exit code OK asking for help");
 like($out,qr/encoding of arguments/i,"Help output OK");
 
 #Make sure that the binary itself processes args correctly
-$out = `$0 --help`;
+$out = `$^X $0 --help`;
 like($out,qr/encoding of arguments/i,"Appears we can run binary successfully");

+ 1 - 1
t/testrail-runs.t

@@ -55,5 +55,5 @@ is($code, 0, "Exit code OK asking for help");
 like($out,qr/encoding of arguments/i,"Help output OK");
 
 #Make sure that the binary itself processes args correctly
-$out = `$0 --help`;
+$out = `$^X $0 --help`;
 like($out,qr/encoding of arguments/i,"Appears we can run binary successfully");

+ 1 - 1
t/testrail-tests.t

@@ -106,5 +106,5 @@ is($code, 0, "Exit code OK asking for help");
 like($out,qr/encoding of arguments/i,"Help output OK");
 
 #Make sure that the binary itself processes args correctly
-$out = `$0 --help`;
+$out = `$^X $0 --help`;
 like($out,qr/encoding of arguments/i,"Appears we can run binary successfully");