diff options
author | 2017-02-05 15:45:26 +0100 | |
---|---|---|
committer | 2017-02-05 15:46:07 +0100 | |
commit | 02c97cd0f7c4d630f1a90f9f2626746e47a28c09 (patch) | |
tree | 2b48d051a55f2b65525824546cd9fcf9e05907cf /3rdparty/catch/scripts/scriptCommon.py | |
parent | d20b4ba6864b45d0c068d98d43e63c8bc5014a3b (diff) |
Updated Catch to latest (nw)
Diffstat (limited to '3rdparty/catch/scripts/scriptCommon.py')
-rw-r--r-- | 3rdparty/catch/scripts/scriptCommon.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/3rdparty/catch/scripts/scriptCommon.py b/3rdparty/catch/scripts/scriptCommon.py index 6ac381adcb6..9adadb6ddcf 100644 --- a/3rdparty/catch/scripts/scriptCommon.py +++ b/3rdparty/catch/scripts/scriptCommon.py @@ -2,8 +2,13 @@ import os import sys import subprocess + catchPath = os.path.dirname(os.path.realpath( os.path.dirname(sys.argv[0]))) +def getBuildExecutable(): + dir = os.environ.get('CATCH_DEV_OUT_DIR', "cmake-build-debug/SelfTest") + return dir + def runAndCapture( args ): child = subprocess.Popen(" ".join( args ), shell=True, stdout=subprocess.PIPE) lines = [] @@ -18,4 +23,4 @@ def runAndCapture( args ): line = "" else: line = line + out - return lines
\ No newline at end of file + return lines |