Skip to content

Commit

Permalink
Merge pull request #37 from stanislaw/develop
Browse files Browse the repository at this point in the history
Print full path to the FileCheck
  • Loading branch information
stanislaw authored Nov 29, 2019
2 parents 821dfb3 + c287ec8 commit e385216
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/FileCheck
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,11 @@ def dump_check(check):


# FileCheck always prints its first argument.
print(sys.argv[0])
filecheck_path = sys.argv[0]
if os.path.exists(filecheck_path):
filecheck_path = os.path.abspath(filecheck_path)

print(filecheck_path)

if len(sys.argv) == 1:
print("<check-file> not specified")
Expand Down

0 comments on commit e385216

Please sign in to comment.