Use correct gate hook for swift functional tests

And copy the logs.

Change-Id: I59a82a2fb0d0b3bc3ffa4c58c0a8c4ad9892bc26
This commit is contained in:
James E. Blair
2013-09-10 11:04:58 -07:00
parent b5536dbe16
commit 257b10d374

View File

@@ -16,17 +16,18 @@
export DEVSTACK_GATE_TEMPEST=0
export DEVSTACK_GATE_EXERCISES=0
function post_test_hook {
function gate_hook {
cd /opt/stack/new/swift
# Launch V2 auth tests and v1 tests after.
bash .functests && \
SWIFT_TEST_CONFIG_FILE=/opt/stack/new/swift/test/sample.conf \
bash .functests
}
export -f post_test_hook
export -f gate_hook
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
- link-logs
publishers:
- devstack-logs
- console-log