Approval tests now uses path relative to cwd, not the catch folder.
This means that bash's autocompletion is actually helpful.
This commit is contained in:
parent
d38b9266e7
commit
c4b5057094
1 changed files with 1 additions and 4 deletions
|
@ -22,10 +22,7 @@ exeNameParser = re.compile(r'\b(CatchSelfTest|SelfTest)\b')
|
||||||
if len(sys.argv) == 2:
|
if len(sys.argv) == 2:
|
||||||
cmdPath = sys.argv[1]
|
cmdPath = sys.argv[1]
|
||||||
else:
|
else:
|
||||||
cmdPath = scriptCommon.getBuildExecutable()
|
cmdPath = os.path.join(catchPath, scriptCommon.getBuildExecutable())
|
||||||
|
|
||||||
if not cmdPath.startswith("/"):
|
|
||||||
cmdPath = os.path.join(catchPath, cmdPath)
|
|
||||||
|
|
||||||
overallResult = 0
|
overallResult = 0
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue