1f83f007e8
Currently the .*test files in the source tree root seem to assume you're in that directory when you run them. This change should work exactly the same except for removing that restriction. Change-Id: I9b037016490dd6d5b515cb2c3cad2f99ee40bb6d
16 lines
197 B
Bash
Executable File
16 lines
197 B
Bash
Executable File
#!/bin/bash
|
|
|
|
SRC_DIR=$(dirname $0)
|
|
|
|
cd ${SRC_DIR}/test/functional
|
|
nosetests --exe $@
|
|
func1=$?
|
|
cd -
|
|
|
|
cd ${SRC_DIR}/test/functionalnosetests
|
|
nosetests --exe $@
|
|
func2=$?
|
|
cd -
|
|
|
|
exit $((func1 + func2))
|