[LNT] r244279 - Fix typo in last commit, and add test to make sure such silly things can't happen again
Chris Matthews via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 6 14:20:21 PDT 2015
Author: cmatthews
Date: Thu Aug 6 16:20:21 2015
New Revision: 244279
URL: http://llvm.org/viewvc/llvm-project?rev=244279&view=rev
Log:
Fix typo in last commit, and add test to make sure such silly things can't happen again
Modified:
lnt/trunk/lnt/tests/compile.py
lnt/trunk/tests/SharedInputs/FakeCompilers/fakecompiler.py
Modified: lnt/trunk/lnt/tests/compile.py
URL: http://llvm.org/viewvc/llvm-project/lnt/trunk/lnt/tests/compile.py?rev=244279&r1=244278&r2=244279&view=diff
==============================================================================
--- lnt/trunk/lnt/tests/compile.py (original)
+++ lnt/trunk/lnt/tests/compile.py Thu Aug 6 16:20:21 2015
@@ -148,7 +148,7 @@ def test_cc_command(base_name, run_info,
ln.startswith('Configured with:') or
ln.startswith('Target:') or
ln.startswith('Thread model:') or
- ln.startswith('InstallDir') or
+ ln.startswith('InstalledDir:') or
' version ' in ln):
continue
cc_commands.append(ln)
Modified: lnt/trunk/tests/SharedInputs/FakeCompilers/fakecompiler.py
URL: http://llvm.org/viewvc/llvm-project/lnt/trunk/tests/SharedInputs/FakeCompilers/fakecompiler.py?rev=244279&r1=244278&r2=244279&view=diff
==============================================================================
--- lnt/trunk/tests/SharedInputs/FakeCompilers/fakecompiler.py (original)
+++ lnt/trunk/tests/SharedInputs/FakeCompilers/fakecompiler.py Thu Aug 6 16:20:21 2015
@@ -73,7 +73,9 @@ class Clang_r154331(LLVMCompiler):
print >>sys.stderr, """\
clang version 3.1 (trunk 154331) (llvm/trunk 154329)
Target: x86_64-apple-darwin11.3.0
-Thread model: posix"""
+Thread model: posix
+InstalledDir: /home/foo/bin
+"""
print >>sys.stderr, """\
"%s" "-cc1" "-E" ... more boring stuff here ...""" % (
g_program,)
@@ -88,7 +90,9 @@ clang version 3.1\
(git:/git/clang.git 37ce0feee598d82e7220fa0a4b110619cae6ea72)\
(git:/git/llvm.git 60fca4f64e697ad834ce7ee8c2e478cae394c7dc)
Target: arm-apple-darwin11.4.0
-Thread model: posix"""
+Thread model: posix
+InstalledDir: /home/foo/bin
+"""
print >>sys.stderr, """\
"%s" "-cc1" "-E" ... more boring stuff here ...""" % (
g_program,)
@@ -115,7 +119,8 @@ class AppleClang_138_1(LLVMCompiler):
print >>sys.stderr, """\
Apple clang version 2.0 (tags/Apple/clang-138.1) (based on LLVM 2.9svn)
Target: x86_64-apple-darwin11.3.0
-Thread model: posix"""
+Thread model: posix
+InstalledDir: /home/foo/bin"""
print >>sys.stderr, """\
"%s" "-cc1" "-E" ... more boring stuff here ...""" % (
g_program,)
More information about the llvm-commits
mailing list