Progmasoft Git

catch3

Progmasoft Catch3: an independently maintained C++17 test framework with a parallel runner, property checks, snapshots and structured results.

Clonegit clone https://git.progmasoft.com/catch3

Approval tests now uses path relative to cwd, not the catch folder.

This means that bash's autocompletion is actually helpful.
Commit
c4b50570948f80860b2a52011e3d1f360df12319
Author
Martin Hořeňovský ·
Parents
d38b9266e70d

Files · Download .tar.gz

Changes

 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