[llvm] r271695 - [sancov] Run sancov tests on more platforms

Chandler Carruth via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 3 20:52:46 PDT 2016


It's obvious in retrospect, but this is almost certainly a little-endian
vs. big-endian issue. For example, MIPS also broke:
http://lab.llvm.org:8011/builders/llvm-mips-linux/builds/16801

On Fri, Jun 3, 2016 at 8:35 PM Chandler Carruth <chandlerc at google.com>
wrote:

> Reverted in r271763. Sorry if that causes you any trouble.
>
> On Fri, Jun 3, 2016 at 8:30 PM Chandler Carruth <chandlerc at google.com>
> wrote:
>
>> This broke most of the PPC build bots. Going to revert until you or
>> someone else have time to investigate.
>>
>>
>> http://lab.llvm.org:8011/builders/clang-ppc64be-linux-multistage/builds/2693
>> http://lab.llvm.org:8011/builders/clang-ppc64be-linux/builds/5965
>>
>> etc...
>>
>> On Fri, Jun 3, 2016 at 10:58 AM Reid Kleckner via llvm-commits <
>> llvm-commits at lists.llvm.org> wrote:
>>
>>> Author: rnk
>>> Date: Fri Jun  3 12:51:42 2016
>>> New Revision: 271695
>>>
>>> URL: http://llvm.org/viewvc/llvm-project?rev=271695&view=rev
>>> Log:
>>> [sancov] Run sancov tests on more platforms
>>>
>>> The only tests that need to be run on Linux are the ones that use C++
>>> demangling. I'm assuming they will fail on Mac, since __cxa_demangle
>>> there won't handle the non-double-underscore prefixed mangled names.
>>>
>>> Modified:
>>>     llvm/trunk/test/tools/sancov/blacklist.test
>>>     llvm/trunk/test/tools/sancov/covered_functions.test
>>>     llvm/trunk/test/tools/sancov/html-report.test
>>>     llvm/trunk/test/tools/sancov/not_covered_functions.test
>>>     llvm/trunk/test/tools/sancov/print.test
>>>     llvm/trunk/test/tools/sancov/print_coverage_pcs.test
>>>     llvm/trunk/test/tools/sancov/stats.test
>>>
>>> Modified: llvm/trunk/test/tools/sancov/blacklist.test
>>> URL:
>>> http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/sancov/blacklist.test?rev=271695&r1=271694&r2=271695&view=diff
>>>
>>> ==============================================================================
>>> --- llvm/trunk/test/tools/sancov/blacklist.test (original)
>>> +++ llvm/trunk/test/tools/sancov/blacklist.test Fri Jun  3 12:51:42 2016
>>> @@ -1,4 +1,7 @@
>>> +FIXME: sancov relies on __cxa_demangle for demangling. Remove this when
>>> LLVM has
>>> +its own demangler.
>>>  REQUIRES: x86_64-linux
>>> +
>>>  RUN: sancov -covered-functions -blacklist %p/Inputs/fun_blacklist.txt
>>> %p/Inputs/test-linux_x86_64 %p/Inputs/test-linux_x86_64.0.sancov |
>>> FileCheck %s
>>>  RUN: sancov -covered-functions -blacklist %p/Inputs/src_blacklist.txt
>>> %p/Inputs/test-linux_x86_64 %p/Inputs/test-linux_x86_64.1.sancov |
>>> FileCheck --check-prefix=CHECK1 %s
>>>
>>>
>>> Modified: llvm/trunk/test/tools/sancov/covered_functions.test
>>> URL:
>>> http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/sancov/covered_functions.test?rev=271695&r1=271694&r2=271695&view=diff
>>>
>>> ==============================================================================
>>> --- llvm/trunk/test/tools/sancov/covered_functions.test (original)
>>> +++ llvm/trunk/test/tools/sancov/covered_functions.test Fri Jun  3
>>> 12:51:42 2016
>>> @@ -1,4 +1,7 @@
>>> +FIXME: sancov relies on __cxa_demangle for demangling. Remove this when
>>> LLVM has
>>> +its own demangler.
>>>  REQUIRES: x86_64-linux
>>> +
>>>  RUN: sancov -covered-functions %p/Inputs/test-linux_x86_64
>>> %p/Inputs/test-linux_x86_64.0.sancov | FileCheck %s
>>>  RUN: sancov -covered-functions -strip_path_prefix=Inputs/
>>> %p/Inputs/test-linux_x86_64 %p/Inputs/test-linux_x86_64.0.sancov |
>>> FileCheck --check-prefix=STRIP_PATH %s
>>>  RUN: sancov -demangle=0 -covered-functions %p/Inputs/test-linux_x86_64
>>> %p/Inputs/test-linux_x86_64.0.sancov | FileCheck --check-prefix=NO_DEMANGLE
>>> %s
>>>
>>> Modified: llvm/trunk/test/tools/sancov/html-report.test
>>> URL:
>>> http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/sancov/html-report.test?rev=271695&r1=271694&r2=271695&view=diff
>>>
>>> ==============================================================================
>>> --- llvm/trunk/test/tools/sancov/html-report.test (original)
>>> +++ llvm/trunk/test/tools/sancov/html-report.test Fri Jun  3 12:51:42
>>> 2016
>>> @@ -1,6 +1,5 @@
>>> -REQUIRES: x86_64-linux
>>>  RUN: sancov -html-report %p/Inputs/test-linux_x86_64
>>> %p/Inputs/test-linux_x86_64.0.sancov | FileCheck %s
>>>
>>>  // It's very difficult to test html report. Do basic smoke check.
>>> -CHECK: {{.*/Inputs/test.cpp}}
>>> +CHECK: {{.*[/\\]Inputs[/\\]test.cpp}}
>>>
>>>
>>> Modified: llvm/trunk/test/tools/sancov/not_covered_functions.test
>>> URL:
>>> http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/sancov/not_covered_functions.test?rev=271695&r1=271694&r2=271695&view=diff
>>>
>>> ==============================================================================
>>> --- llvm/trunk/test/tools/sancov/not_covered_functions.test (original)
>>> +++ llvm/trunk/test/tools/sancov/not_covered_functions.test Fri Jun  3
>>> 12:51:42 2016
>>> @@ -1,4 +1,7 @@
>>> +FIXME: sancov relies on __cxa_demangle for demangling. Remove this when
>>> LLVM has
>>> +its own demangler.
>>>  REQUIRES: x86_64-linux
>>> +
>>>  RUN: sancov -not-covered-functions %p/Inputs/test-linux_x86_64
>>> %p/Inputs/test-linux_x86_64.0.sancov | FileCheck %s
>>>  RUN: sancov -not-covered-functions %p/Inputs/test-linux_x86_64
>>> %p/Inputs/test-linux_x86_64.1.sancov | FileCheck --check-prefix=CHECK1
>>> --allow-empty %s
>>>
>>>
>>> Modified: llvm/trunk/test/tools/sancov/print.test
>>> URL:
>>> http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/sancov/print.test?rev=271695&r1=271694&r2=271695&view=diff
>>>
>>> ==============================================================================
>>> --- llvm/trunk/test/tools/sancov/print.test (original)
>>> +++ llvm/trunk/test/tools/sancov/print.test Fri Jun  3 12:51:42 2016
>>> @@ -1,4 +1,3 @@
>>> -REQUIRES: x86_64-linux
>>>  RUN: sancov -print %p/Inputs/test-linux_x86_64.0.sancov | FileCheck %s
>>>
>>>  CHECK: 0x4e132b
>>>
>>> Modified: llvm/trunk/test/tools/sancov/print_coverage_pcs.test
>>> URL:
>>> http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/sancov/print_coverage_pcs.test?rev=271695&r1=271694&r2=271695&view=diff
>>>
>>> ==============================================================================
>>> --- llvm/trunk/test/tools/sancov/print_coverage_pcs.test (original)
>>> +++ llvm/trunk/test/tools/sancov/print_coverage_pcs.test Fri Jun  3
>>> 12:51:42 2016
>>> @@ -1,4 +1,3 @@
>>> -REQUIRES: x86_64-linux
>>>  RUN: sancov -print-coverage-pcs %p/Inputs/test-linux_x86_64 | FileCheck
>>> %s
>>>
>>>  CHECK: 0x4e132b
>>>
>>> Modified: llvm/trunk/test/tools/sancov/stats.test
>>> URL:
>>> http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/sancov/stats.test?rev=271695&r1=271694&r2=271695&view=diff
>>>
>>> ==============================================================================
>>> --- llvm/trunk/test/tools/sancov/stats.test (original)
>>> +++ llvm/trunk/test/tools/sancov/stats.test Fri Jun  3 12:51:42 2016
>>> @@ -1,4 +1,3 @@
>>> -REQUIRES: x86_64-linux
>>>  RUN: sancov -print-coverage-stats %p/Inputs/test-linux_x86_64
>>> %p/Inputs/test-linux_x86_64.0.sancov | FileCheck %s
>>>
>>>  CHECK: all-edges: 9
>>>
>>>
>>> _______________________________________________
>>> llvm-commits mailing list
>>> llvm-commits at lists.llvm.org
>>> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits
>>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160604/73048f36/attachment.html>


More information about the llvm-commits mailing list