Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ before_script:
- echo "date.timezone=Europe/Berlin" >> xp.ini

script:
- (EXCD=0; for i in `ls -1 src/test/config/unittest/*.ini | grep -v not-on-php-$TRAVIS_PHP_VERSION`; do echo "---> $i"; ./unittest $i; RES=$?; if [ $RES -ne 0 ]; then EXCD=$RES; fi; done; exit $EXCD;)
- (EXCD=0; for i in `ls -1 src/test/config/unittest/*.ini | grep -v not-on-php-$TRAVIS_PHP_VERSION`; do echo "---> $i"; ./xp -cp lib/xp-unittest-6.4.0.xar xp.unittest.Runner $i; RES=$?; if [ $RES -ne 0 ]; then EXCD=$RES; fi; done; exit $EXCD;)
Binary file added lib/xp-unittest-6.4.0.xar
Binary file not shown.
8 changes: 6 additions & 2 deletions src/main/php/lang/Runtime.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,11 @@ public static function parseArguments($arguments) {
}
}
}
if ($main= array_shift($arguments)) {

$main= array_shift($arguments);
if ('' === $main) {
$return['main']= XPClass::forName(array_shift($arguments));
} else if ($main) {
$return['main']= XPClass::forName($main);
}
return $return;
Expand All @@ -206,7 +210,7 @@ protected function startup($selector) {
$this->startup['env']= false;
}
}

return $this->startup[$selector];
}

Expand Down
37 changes: 0 additions & 37 deletions src/main/php/unittest/AssertionFailedError.class.php

This file was deleted.

16 changes: 0 additions & 16 deletions src/main/php/unittest/AssertionFailedMessage.class.php

This file was deleted.

23 changes: 0 additions & 23 deletions src/main/php/unittest/ColorizingListener.class.php

This file was deleted.

100 changes: 0 additions & 100 deletions src/main/php/unittest/ComparisonFailedMessage.class.php

This file was deleted.

32 changes: 0 additions & 32 deletions src/main/php/unittest/FormattedMessage.class.php

This file was deleted.

37 changes: 0 additions & 37 deletions src/main/php/unittest/PrerequisitesNotMetError.class.php

This file was deleted.

28 changes: 0 additions & 28 deletions src/main/php/unittest/TestAction.class.php

This file was deleted.

50 changes: 0 additions & 50 deletions src/main/php/unittest/TestAssertionFailed.class.php

This file was deleted.

Loading