[cfe-commits] r73583 - in /cfe/trunk/test/Driver: analyze.c darwin-cc.c darwin-ld.c

Chris Lattner clattner at apple.com
Tue Jun 16 23:40:59 PDT 2009


On Jun 16, 2009, at 4:37 PM, Douglas Gregor wrote:

> Author: dgregor
> Date: Tue Jun 16 18:37:56 2009
> New Revision: 73583
>
> URL: http://llvm.org/viewvc/llvm-project?rev=73583&view=rev
> Log:
> Make these driver tests do the right thing even when  
> MACOSX_DEPLOYMENT_TARGET is set.

test/Driver/analyze.c is failing for me on 10.5 now:

******************** TEST 'analyze.c' FAILED! ********************
Command:
  env MACOSX_DEPLOYMENT_TARGET=10.5 &&
  /Users/sabre/llvm/Debug/bin/clang -ccc-host-triple i386-apple- 
darwin9  -### --analyze -o /dev/null analyze.c -msse 2> Output/ 
analyze.c.out.tmp.log &&
  grep '"-analyze"' Output/analyze.c.out.tmp.log &&
  grep '"--fmath-errno=0"' Output/analyze.c.out.tmp.log &&
  grep '"-target-feature" "+sse"' Output/analyze.c.out.tmp.log &&
  grep '"-mmacosx-version-min=10.5"' Output/analyze.c.out.tmp.log
Incorrect Output:
MANPATH=/sw/share/man:/usr/share/man:/usr/local/share/man:/usr/X11/ 
man:/usr/X11R6/man
TERM_PROGRAM=Apple_Terminal
SHELL=/bin/tcsh
TERM=xterm-color
HOST=chris-computer-2.local
TMPDIR=/var/folders/51/51Qw875vFdGa9KojoIi7Zk+++TM/-Tmp-/
Apple_PubSub_Socket_Render=/tmp/launch-794nZA/Render
PERL5LIB=/sw/lib/perl5:/sw/lib/perl5/darwin
TERM_PROGRAM_VERSION=240.2
USER=sabre
GROUP=sabre
COMMAND_MODE=unix2003
SSH_AUTH_SOCK=/tmp/launch-s084ow/Listeners
HOSTTYPE=intel-pc
__CF_USER_TEXT_ENCODING=0x1F6:0:0
PAGER=less
PATH=/Library/Frameworks/Python.framework/Versions/Current/bin:/sw/ 
bin:/sw/sbin:/Users/sabre/llvm/Debug/bin:/Users/sabre/bin:/Users/sabre/ 
llvm/utils/:/Users/sabre/llvm/test/Scripts:/usr/bin:/bin:/usr/sbin:/ 
sbin:/usr/local/bin:/usr/X11/bin:/Applications/Graphviz.app/Contents/ 
MacOS/:/Developer/Applications/Xcode.app/Contents/MacOS/:/usr/local/ 
bin:/Users/tonic/bin/bin:/usr/X11R6/bin
_=/usr/bin/env
PWD=/Users/sabre/llvm/tools/clang/test/Driver
EDITOR=vim
LANG=en_US.UTF-8
HOME=/Users/sabre
SHLVL=3
OSTYPE=darwin
VENDOR=apple
LOGNAME=sabre
MACHTYPE=i386
LESS=Mfix8
CVS_RSH=ssh
INFOPATH=/sw/share/info:/sw/info:/usr/share/info
DISPLAY=/tmp/launch-ADoGUg/:0
GL_ENABLE_DEBUG_ATTACH=YES
SECURITYSESSIONID=923e60
MACOSX_DEPLOYMENT_TARGET=10.5
  "/Users/sabre/cvs/llvm/Debug/bin/clang-cc" "-triple" "i386-apple- 
darwin9" "-analyze" "-disable-free" "-main-file-name" "analyze.c" "- 
warn-dead-stores" "-checker-cfref" "-analyzer-eagerly-assume" "-warn- 
objc-methodsigs" "-warn-objc-unused-ivars" "-analyzer-output" "plist"  
"--relocation-model" "pic" "-pic-level=1" "--disable-fp-elim" "-- 
unwind-tables=0" "--mcpu=yonah" "-target-feature" "+sse" "--fmath- 
errno=0" "-mmacosx-version-min=10.5.0" "-fdiagnostics-show-option" "- 
o" "/dev/null" "-x" "c" "analyze.c"
  "/Users/sabre/cvs/llvm/Debug/bin/clang-cc" "-triple" "i386-apple- 
darwin9" "-analyze" "-disable-free" "-main-file-name" "analyze.c" "- 
warn-dead-stores" "-checker-cfref" "-analyzer-eagerly-assume" "-warn- 
objc-methodsigs" "-warn-objc-unused-ivars" "-analyzer-output" "plist"  
"--relocation-model" "pic" "-pic-level=1" "--disable-fp-elim" "-- 
unwind-tables=0" "--mcpu=yonah" "-target-feature" "+sse" "--fmath- 
errno=0" "-mmacosx-version-min=10.5.0" "-fdiagnostics-show-option" "- 
o" "/dev/null" "-x" "c" "analyze.c"
  "/Users/sabre/cvs/llvm/Debug/bin/clang-cc" "-triple" "i386-apple- 
darwin9" "-analyze" "-disable-free" "-main-file-name" "analyze.c" "- 
warn-dead-stores" "-checker-cfref" "-analyzer-eagerly-assume" "-warn- 
objc-methodsigs" "-warn-objc-unused-ivars" "-analyzer-output" "plist"  
"--relocation-model" "pic" "-pic-level=1" "--disable-fp-elim" "-- 
unwind-tables=0" "--mcpu=yonah" "-target-feature" "+sse" "--fmath- 
errno=0" "-mmacosx-version-min=10.5.0" "-fdiagnostics-show-option" "- 
o" "/dev/null" "-x" "c" "analyze.c"
******************** TEST 'analyze.c' FAILED! ********************




More information about the cfe-commits mailing list