Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Cloud:OpenStack:Essex
openstack-swift
test_runners.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File test_runners.patch of Package openstack-swift
From d0c067069e22f51e838374b9007ee9550cbe3bca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ionu=C8=9B=20Ar=C8=9B=C4=83ri=C8=99i?= <iartarisi@suse.cz> Date: Wed, 18 Apr 2012 15:12:10 +0300 Subject: [PATCH] make test runner functions return the status of running the tests This makes it a lot easier for CI jobs to be setup and return the true status of the testsuite. Change-Id: I0c2b0d6b17f560a889cd2f22ab98a68361f6d738 --- .functests | 4 ++++ .probetests | 3 +++ .unittests | 2 ++ 3 files changed, 9 insertions(+), 0 deletions(-) diff --git a/.functests b/.functests index a7be2b3..5689829 100755 --- a/.functests +++ b/.functests @@ -2,8 +2,12 @@ cd test/functional nosetests --exe $@ +func1=$? cd - cd test/functionalnosetests nosetests --exe $@ +func2=$? cd - + +exit $((func1 + func2)) diff --git a/.probetests b/.probetests index 38d8520..67d25aa 100755 --- a/.probetests +++ b/.probetests @@ -2,4 +2,7 @@ cd test/probe nosetests --exe +rvalue=$? cd - + +exit $rvalue diff --git a/.unittests b/.unittests index 6f99aec..773c2cb 100755 --- a/.unittests +++ b/.unittests @@ -2,5 +2,7 @@ cd test/unit nosetests --exe --with-coverage --cover-package swift --cover-erase $@ +rvalue=$? rm -f .coverage cd - +exit $rvalue \ No newline at end of file -- 1.7.3.4
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor