mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-26 07:16:10 +01:00
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
@ -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…
Reference in New Issue
Block a user