https://bugs.llvm.org/show_bug.cgi?id=43184

            Bug ID: 43184
           Summary: LLVM :: Reduce/remove tests not finding python on
                    Ubuntu 18.04
           Product: new-bugs
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected]

Ubuntu 18.04 does not come with python2 and python3 is not made available as
'python'. So after 

http://llvm.org/viewvc/llvm-project?view=revision&revision=368358

llvm fails the lit tests LLVM :: Reduce/remove-funcs.ll test.

Currently, ToT is failing with the following errors:

******************** TEST 'LLVM :: Reduce/remove-global-vars.ll' FAILED
********************
Exit Code: 1

Command Output (stderr):
--
*** Reducing Functions...
----------------------------
Function Index Reference:
        1: main
----------------------------
/usr/bin/env: 'python': No such file or directory
Error running interesting-ness test
/llvm-project/llvm/test/Reduce/remove-global-vars.ll:7:10: error: CHECK:
expected string not found in input
; CHECK: @interesting = global
         ^
<stdin>:1:1: note: scanning from here
Reducing functions...
^
<stdin>:1:5: note: possible intended match here
Reducing functions...
    ^

--

********************
FAIL: LLVM :: Reduce/remove-funcs.ll (41073 of 48723)
******************** TEST 'LLVM :: Reduce/remove-funcs.ll' FAILED
********************
Script:
--
: 'RUN: at line 4';   llvm-reduce --test
/llvm-project/llvm/test/Reduce/Inputs/remove-funcs.py
/llvm-project/llvm/test/Reduce/remove-funcs.ll -o - |
/home/luke/u64/llvm-project/build/bin/FileCheck
/llvm-project/llvm/test/Reduce/remove-funcs.ll
--
Exit Code: 1

Command Output (stderr):
--
*** Reducing Functions...
----------------------------
Function Index Reference:
        1: uninteresting1
        2: interesting
        3: uninteresting2
        4: uninteresting3
----------------------------
/usr/bin/env: 'python': No such file or directory
Error running interesting-ness test
/llvm-project/llvm/test/Reduce/remove-funcs.ll:13:10: error: CHECK: expected
string not found in input
; CHECK: interesting()
         ^
<stdin>:1:1: note: scanning from here
Reducing functions...
^
<stdin>:1:6: note: possible intended match here
Reducing functions...
     ^

--

********************
Testing Time: 530.10s
********************
Failing Tests (2):
    LLVM :: Reduce/remove-funcs.ll
    LLVM :: Reduce/remove-global-vars.ll

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to