Skip to content

Commit

Permalink
[ci] print called commands in when running api testsuite in the packa…
Browse files Browse the repository at this point in the history
…ge build
  • Loading branch information
mmohring committed Dec 12, 2017
1 parent 89e6d68 commit 6fb04f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/script/api_test_in_spec.sh
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ for suite in "rake.ruby2.4 test:api" "rake.ruby2.4 test:spider" "rspec"; do
perl -pi -e 's/source_host: backend/source_host: localhost/' config/options.yml
perl -pi -e 's/source_port: 5352/source_port: 3200/' config/options.yml
fi
if ! bundle.ruby2.4 exec $suite; then
if ! (set -x; bundle.ruby2.4 exec $suite); then
# dump log only in package builds
[[ -n "$RPM_BUILD_ROOT" ]] && cat log/test.log
kill_memcached
Expand Down

0 comments on commit 6fb04f1

Please sign in to comment.