mirror of
				https://github.com/catchorg/Catch2.git
				synced 2025-10-31 04:07: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:
		| @@ -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 | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Martin Hořeňovský
					Martin Hořeňovský