#!/bin/bash cd test/functional nosetests --exe $@ func1=$? cd - cd test/functionalnosetests nosetests --exe $@ func2=$? cd - exit $((func1 + func2))