This is an archive of the discontinued LLVM Phabricator instance.

[AIX] Remove diff -a option on llvm-cov.test
ClosedPublic

Authored by ShuhongL on Jul 13 2020, 12:16 PM.

Details

Summary

llvm-cov.test generates .gcov files and compared with target sample files. Since the files do not contain any binary data (files are plain ASCII texts), remove -a from diff. And this fix will the error on AIX since the default diff tool on AIX does not support -a option.

Diff Detail

Event Timeline

ShuhongL created this revision.Jul 13 2020, 12:16 PM
hubert.reinterpretcast marked 2 inline comments as done.

Yes, none of the .gcov reference files appear to be anything other than plain ASCII text. Change LGTM.

llvm/test/tools/llvm-cov/llvm-cov.test
16

Confirmed:

test_no_options.h.gcov: ascii text
160

Confirmed:

test_no_gcda.cpp.gcov: ascii text
test_no_gcda.h.gcov: ascii text
This revision is now accepted and ready to land.Jul 13 2020, 3:30 PM
ShuhongL edited the summary of this revision. (Show Details)Jul 14 2020, 8:22 AM
This revision was automatically updated to reflect the committed changes.