Skip to content

Commit

Permalink
[dist] cat the log for single failed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
coolo committed Nov 29, 2012
1 parent 26ccd6d commit 107783b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Expand Up @@ -5,10 +5,10 @@ before_script: bash -x dist/ci/obs_testsuite_travis_before.sh
script: bash -x dist/ci/obs_testsuite_travis.sh
env:
# just one special test
#- SUBTEST=webui-testsuite:add_all_permited_package_attributes_for_second_user
- SUBTEST=webui:functional/users_test.rb:test_add_and_edit_package_people
#- SUBTEST=api:functional/source_controller_test.rb:test_read_file REMOVEGEMLOCK=true
# full api test suite
- SUBTEST=api
#- SUBTEST=api
# full webrat test suite
- SUBTEST=webui
# selenium without spider
Expand Down
4 changes: 3 additions & 1 deletion dist/ci/obs_testsuite_travis.sh
Expand Up @@ -52,7 +52,9 @@ case $SUBTEST in
SUBTEST=${SUBTEST/webui:/}
thetest=${SUBTEST/:*/}
thename=${SUBTEST/*:/}
bundle exec ruby test/$thetest --name=$thename || ret=1
if ! bundle exec ruby test/$thetest --name=$thename ; then
cat log/test.log
fi
;;
api:*)
cd src/api
Expand Down

0 comments on commit 107783b

Please sign in to comment.