llvm34 testsuite

Jack Howarth <[email protected]>
Newsgroups gmane.os.apple.fink.devel
Message-ID <CAP5Ds0CBWDko7wCc+td3yacwhE88ntA8eH5Ux5R-rNNn01xW7g@mail.gmail.com>
David,
    I won't have time to look at the failing test suite of llvm34 on 10.9
until tonight. However I took a quick look through the sources in the build
and they are filled with python scripts using…

#!/usr/bin/env python

So the python used will vary depending on whether the fink python package
is installed.
Hardcoding build/last/bin/llvm-lit to #!/usr/bin/python2.7 produces the
same same failure as
when it is #!/sw/bin/python2.7…

% bin/llvm-lit -vvv test/Analysis/BasicAA/2003-09-19-LocalArgument.ll
-- Testing: 1 tests, 1 threads --
UNRESOLVED: LLVM :: Analysis/BasicAA/2003-09-19-LocalArgument.ll (1 of 1)
******************** TEST 'LLVM ::
Analysis/BasicAA/2003-09-19-LocalArgument.ll' FAILED ********************
Exception during script execution:
Traceback (most recent call last):
  File
"/sw/src/fink.build/llvm34-3.4.1-0c/llvm-3.4.1.src/utils/lit/lit/run.py",
line 166, in execute_test
    result = test.config.test_format.execute(test, self.lit_config)
  File
"/sw/src/fink.build/llvm34-3.4.1-0c/llvm-3.4.1.src/utils/lit/lit/formats/shtest.py",
line 12, in execute
    self.execute_external)
  File
"/sw/src/fink.build/llvm34-3.4.1-0c/llvm-3.4.1.src/utils/lit/lit/TestRunner.py",
line 491, in executeShTest
    res = executeScript(test, litConfig, tmpBase, script, execdir)
  File
"/sw/src/fink.build/llvm34-3.4.1-0c/llvm-3.4.1.src/utils/lit/lit/TestRunner.py",
line 300, in executeScript
    env=test.config.environment)
  File
"/sw/src/fink.build/llvm34-3.4.1-0c/llvm-3.4.1.src/utils/lit/lit/util.py",
line 151, in executeCommand
    env=env, close_fds=kUseCloseFDs)
  File
"/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py",
line 711, in __init__
    errread, errwrite)
  File
"/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py",
line 1308, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory


********************
Testing Time: 0.01s
********************
Unresolved Tests (1):
    LLVM :: Analysis/BasicAA/2003-09-19-LocalArgument.ll

  Unresolved Tests   : 1

So if subprocesses are broken, they are broken on both the system python
and the fink python.
        Jack

------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs

_______________________________________________
Fink-devel mailing list
[email protected]
List archive:
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.