e611b03b52
Signed-off-by: Tushar Gohad <tushar.gohad@intel.com>
11 lines
293 B
Bash
Executable File
11 lines
293 B
Bash
Executable File
#!/bin/bash
|
|
|
|
TOP_DIR=$(python -c "import os; print os.path.dirname(os.path.realpath('$0'))")
|
|
|
|
python -c 'from distutils.version import LooseVersion as Ver; import nose, sys; sys.exit(0 if Ver(nose.__version__) >= Ver("1.2.0") else 1)'
|
|
cd $TOP_DIR/test
|
|
nosetests $@
|
|
rvalue=$?
|
|
cd -
|
|
exit $rvalue
|