From c4b50570948f80860b2a52011e3d1f360df12319 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Ho=C5=99e=C5=88ovsk=C3=BD?= Date: Thu, 19 Jan 2017 22:08:51 +0100 Subject: [PATCH] Approval tests now uses path relative to cwd, not the catch folder. This means that bash's autocompletion is actually helpful. --- scripts/approvalTests.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/scripts/approvalTests.py b/scripts/approvalTests.py index 1ac05d15..4a77a510 100644 --- a/scripts/approvalTests.py +++ b/scripts/approvalTests.py @@ -22,10 +22,7 @@ exeNameParser = re.compile(r'\b(CatchSelfTest|SelfTest)\b') if len(sys.argv) == 2: cmdPath = sys.argv[1] else: - cmdPath = scriptCommon.getBuildExecutable() - -if not cmdPath.startswith("/"): - cmdPath = os.path.join(catchPath, cmdPath) + cmdPath = os.path.join(catchPath, scriptCommon.getBuildExecutable()) overallResult = 0