LLVM Bugzilla is read-only and represents the historical archive of all LLVM issues filled before November 26, 2021. Use github to submit LLVM bugs

Bug 31870 - test/tools/llvm-symbolizer/print_context.c fails on debian amd64
Summary: test/tools/llvm-symbolizer/print_context.c fails on debian amd64
Status: RESOLVED FIXED
Alias: None
Product: tools
Classification: Unclassified
Component: analyze (show other bugs)
Version: trunk
Hardware: PC Linux
: P normal
Assignee: Unassigned LLVM Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-02-05 07:04 PST by deadalnix
Modified: 2017-07-31 15:31 PDT (History)
3 users (show)

See Also:
Fixed By Commit(s):


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description deadalnix 2017-02-05 07:04:37 PST
$ bin/llvm-lit ../test/tools/llvm-symbolizer/print_context.c
-- Testing: 1 tests, 1 threads --
FAIL: LLVM :: tools/llvm-symbolizer/print_context.c (1 of 1)
Testing Time: 0.08s
********************
Failing Tests (1):
    LLVM :: tools/llvm-symbolizer/print_context.c

  Unexpected Failures: 1
deadalnix@deadalnix-kimsufi:~/llvm/build$ bin/llvm-lit -v ../test/tools/llvm-symbolizer/print_context.c
-- Testing: 1 tests, 1 threads --
FAIL: LLVM :: tools/llvm-symbolizer/print_context.c (1 of 1)
******************** TEST 'LLVM :: tools/llvm-symbolizer/print_context.c' FAILED ********************
Script:
--
/usr/bin/cc  -O0 -g /home/deadalnix/llvm/test/tools/llvm-symbolizer/print_context.c -o /home/deadalnix/llvm/build/test/tools/llvm-symbolizer/Output/print_context.c.tmp 2>&1
/home/deadalnix/llvm/build/test/tools/llvm-symbolizer/Output/print_context.c.tmp 2>&1 | /home/deadalnix/llvm/build/./bin/llvm-symbolizer -print-source-context-lines=5 -obj=/home/deadalnix/llvm/build/test/tools/llvm-symbolizer/Output/print_context.c.tmp | /home/deadalnix/llvm/build/./bin/FileCheck /home/deadalnix/llvm/test/tools/llvm-symbolizer/print_context.c
--
Exit Code: 1

Command Output (stderr):
--
/home/deadalnix/llvm/test/tools/llvm-symbolizer/print_context.c:16:11: error: expected string not found in input
// CHECK: inc
          ^
<stdin>:1:1: note: scanning from here
_fini
^
<stdin>:1:3: note: possible intended match here
_fini
  ^

--

********************
Testing Time: 0.07s
********************
Failing Tests (1):
    LLVM :: tools/llvm-symbolizer/print_context.c

  Unexpected Failures: 1

PS: The component isn't the right one, llvm-symbolizer isn't in the list.
Comment 1 Dylan McKay 2017-07-23 15:31:33 PDT
Has also been failing on the AVR buildbot http://lab.llvm.org:8014/builders/llvm-avr-linux/builds/4264, which also happens to be Debian amd64.
Comment 2 Dylan McKay 2017-07-31 15:31:14 PDT
Fixed by David Blaikie in r309517

Most of the other symbolizer tests had object files checked in rather than generated by the host compiler.

David has changed this test to work the same way.