Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tests fail under windows (Trac #1215) #578

Closed
phing-issues-importer opened this issue Oct 9, 2016 · 3 comments
Closed

Tests fail under windows (Trac #1215) #578

phing-issues-importer opened this issue Oct 9, 2016 · 3 comments

Comments

@phing-issues-importer
Copy link

phing-issues-importer commented Oct 9, 2016

I ran composer install / update and phing.bat on the test directory. Tests fail, I'll attach the test-results.xml.

Windows 7 64 bit, PHP 5.5.11 (xampp)
Phing 2.12.0-13-g2a20a17

Some console output:

  [phpunit] Failed asserting that false is true.
  [phpunit] Testsuite: SelectorUtilsTest
  [phpunit] Tests run: 1, Failures: 0, Errors: 0, Incomplete: 0, Skipped: 0, Time elapsed: 0.00000 s
  [phpunit] Testsuite: DirectoryScannerTest
  [phpunit] Tests run: 16, Failures: 0, Errors: 0, Incomplete: 0, Skipped: 0, Time elapsed: 0.44000 s
  [phpunit] Testsuite: PearPackageScannerTest
  [phpunit] Tests run: 12, Failures: 2, Errors: 1, Incomplete: 4, Skipped: 0, Time elapsed: 0.02000 s
  [phpunit] testScanRoleDocCorrectDirectory FAILED
  [phpunit] Failed asserting that an array contains 'docs/Archive_Tar.txt'.
  [phpunit] testGetIncludedFiles INCOMPLETE
  [phpunit] testGetIncludedDirectories INCOMPLETE
  [phpunit] testGetBaseDir INCOMPLETE
  [phpunit] testScan INCOMPLETE
  [phpunit] testScanBaseInstallDir FAILED
  [phpunit] Failed asserting that two arrays are equal.
  [phpunit] testScanInstallAs ERROR
  [phpunit] PEAR package pear.php.net/ does not exist
  [phpunit] Testsuite: PregEngineTest
  [phpunit] Tests run: 17, Failures: 0, Errors: 0, Incomplete: 0, Skipped: 0, Time elapsed: 0.00000 s
  [phpunit] Total tests run: 616, Failures: 12, Errors: 18, Incomplete: 4, Skipped: 143, Time elapsed: 22.2200
3 s

BUILD FAILED
D:\_user\localhost_root\phing\test\build.xml:73:25: Test FAILURE (testScanBaseInstallDir in class PearPackageS
cannerTest): Failed asserting that two arrays are equal.

--- Expected
+++ Actual
@@ @@
 Array (
-    0 => 'Console\Table.php'
+    0 => 'Console/Table.php'
 )

Migrated from https://www.phing.info/trac/ticket/1215

{
    "status": "new", 
    "changetime": "2016-09-29T08:16:14", 
    "description": "I ran composer install / update and phing.bat on the test directory. Tests fail, I'll attach the test-results.xml.\n\nWindows 7 64 bit, PHP 5.5.11 (xampp)\nPhing 2.12.0-13-g2a20a17\n\nSome console output:\n\n\n{{{\n  [phpunit] Failed asserting that false is true.\n  [phpunit] Testsuite: SelectorUtilsTest\n  [phpunit] Tests run: 1, Failures: 0, Errors: 0, Incomplete: 0, Skipped: 0, Time elapsed: 0.00000 s\n  [phpunit] Testsuite: DirectoryScannerTest\n  [phpunit] Tests run: 16, Failures: 0, Errors: 0, Incomplete: 0, Skipped: 0, Time elapsed: 0.44000 s\n  [phpunit] Testsuite: PearPackageScannerTest\n  [phpunit] Tests run: 12, Failures: 2, Errors: 1, Incomplete: 4, Skipped: 0, Time elapsed: 0.02000 s\n  [phpunit] testScanRoleDocCorrectDirectory FAILED\n  [phpunit] Failed asserting that an array contains 'docs/Archive_Tar.txt'.\n  [phpunit] testGetIncludedFiles INCOMPLETE\n  [phpunit] testGetIncludedDirectories INCOMPLETE\n  [phpunit] testGetBaseDir INCOMPLETE\n  [phpunit] testScan INCOMPLETE\n  [phpunit] testScanBaseInstallDir FAILED\n  [phpunit] Failed asserting that two arrays are equal.\n  [phpunit] testScanInstallAs ERROR\n  [phpunit] PEAR package pear.php.net/ does not exist\n  [phpunit] Testsuite: PregEngineTest\n  [phpunit] Tests run: 17, Failures: 0, Errors: 0, Incomplete: 0, Skipped: 0, Time elapsed: 0.00000 s\n  [phpunit] Total tests run: 616, Failures: 12, Errors: 18, Incomplete: 4, Skipped: 143, Time elapsed: 22.2200\n3 s\n\nBUILD FAILED\nD:\\_user\\localhost_root\\phing\\test\\build.xml:73:25: Test FAILURE (testScanBaseInstallDir in class PearPackageS\ncannerTest): Failed asserting that two arrays are equal.\n\n--- Expected\n+++ Actual\n@@ @@\n Array (\n-    0 => 'Console\\Table.php'\n+    0 => 'Console/Table.php'\n )\n}}}\n", 
    "reporter": "[email protected]", 
    "cc": "", 
    "resolution": "", 
    "_ts": "1475136974713248", 
    "component": "phing-core", 
    "summary": "Tests fail under windows", 
    "priority": "tbd", 
    "keywords": "phpunit test windows", 
    "version": "2.12.0", 
    "time": "2015-08-26T10:19:41", 
    "milestone": "2.16.0", 
    "owner": "mrook", 
    "type": "defect"
}
@phing-issues-importer
Copy link
Author

phing-issues-importer commented Oct 9, 2016

Trac update at 20150826T10:20:09: [email protected] changed attachment from "" to "test-results.xml"

@phing-issues-importer
Copy link
Author

phing-issues-importer commented Oct 9, 2016

Trac update at 20160929T08:16:14: mrook changed milestone from "Backlog" to "2.16.0"

@mrook
Copy link
Member

mrook commented Dec 22, 2016

Looks to be fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants