com phpruntests: Changed the name of the group skip file so it's easier to compare with old version: phpt-tests/group_of_tests/skip_ group_if.inc
phpt-tests/group_of_tests/skipif.inc src/testgroup/rtGroupConfiguration.php
| From: | Zoe Slattery | Date: | Thu, 28 Feb 2013 08:56:47 +0000 |
| Subject: | com phpruntests: Changed the name of the group skip file so it's easier to compare with old version: phpt-tests/group_of_tests/skip_ group_if.inc phpt-tests/group_of_tests/skipif.inc src/testgroup/rtGroupConfiguration.php |
||
| Groups: | php.qa | ||
| Request: | Send a blank email to php-qa+get-66817@lists.php.net to get a copy of this message | ||
Commit: 88dfb30b0348aff3a7989c11d4e64125d6d67deb
Author: zoe slattery <zoe@php.net> Thu, 28 Feb 2013 08:56:47 +0000
Parents: 68730ea02f1d723b6bfa75055365add8fad7ebc0
Branches: master
Link: http://git.php.net/?p=phpruntests.git;a=commitdiff;h=88dfb30b0348aff3a7989c11d4e64125d6d67deb
Log:
Changed the name of the group skip file so it's easier to compare with old version
Changed paths:
A phpt-tests/group_of_tests/skip_group_if.inc
D phpt-tests/group_of_tests/skipif.inc
M src/testgroup/rtGroupConfiguration.php
Diff:
diff --git a/phpt-tests/group_of_tests/skip_group_if.inc
b/phpt-tests/group_of_tests/skip_group_if.inc
new file mode 100644
index 0000000..67c8d2b
--- /dev/null
+++ b/phpt-tests/group_of_tests/skip_group_if.inc
@@ -0,0 +1,3 @@
+<?php
+ echo "skip me please \n";
+?>
diff --git a/phpt-tests/group_of_tests/skipif.inc b/phpt-tests/group_of_tests/skipif.inc
deleted file mode 100644
index 67c8d2b..0000000
--- a/phpt-tests/group_of_tests/skipif.inc
+++ /dev/null
@@ -1,3 +0,0 @@
-<?php
- echo "skip me please \n";
-?>
diff --git a/src/testgroup/rtGroupConfiguration.php b/src/testgroup/rtGroupConfiguration.php
index c99f34f..95a61cb 100644
--- a/src/testgroup/rtGroupConfiguration.php
+++ b/src/testgroup/rtGroupConfiguration.php
@@ -102,9 +102,9 @@ class rtGroupConfiguration
//Code to read the directory skipif, run it and skip the directory
- if(file_exists($this->testDirectory. "/skipif..inc")) {
+ if(file_exists($this->testDirectory. "/skip_group_if.inc")) {
$this->hasSkipCode = true;
- $this->skipFile = $this->testDirectory."/skipif.inc";
+ $this->skipFile = $this->testDirectory."/skip_group_if.inc";
}
return;
@@ -130,6 +130,7 @@ class rtGroupConfiguration
return $this->hasSkipCode;
}
public function getSkipFile() {
+
return $this->skipFile;
}
}