Skip to content

Commit

Permalink
Merge pull request #21 from jpwhite4/unit_tests
Browse files Browse the repository at this point in the history
Added existing unit tests to the travis build.
  • Loading branch information
jpwhite4 authored Jan 10, 2017
2 parents 602505d + d53de8a commit 2ac5ce1
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 55 deletions.
2 changes: 1 addition & 1 deletion .travis.build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ elif [ "$TEST_SUITE" = "style" ]; then
fi
done
elif [ "$TEST_SUITE" = "unit" ]; then
open_xdmod/modules/xdmod/tests/runtests.sh
open_xdmod/modules/xdmod/tests/runtests.sh && classes/UnitTesting/RunTests.sh
if [ $? != 0 ]; then
build_exit_value=2
fi
Expand Down
54 changes: 0 additions & 54 deletions classes/UnitTesting/Regression/NumberOfJobsByResourceTest.php

This file was deleted.

1 change: 1 addition & 0 deletions classes/UnitTesting/RunTests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,5 @@ then
PHPUNITARGS="${PHPUNITARGS} --coverage-html ../../html/phpunit"
fi

cd $(dirname $0)
phpunit ${PHPUNITARGS} .

0 comments on commit 2ac5ce1

Please sign in to comment.