title: Build are not tagged as unstable when unit test fails
body: <p>I have added a new job in my hudson server which builds the project with a makefile.</p>
  
  <p>Execute shell command:</p>
  
  <pre><code>#!/bin/bash
  cd $JOB_NAME
  make
  </code></pre>
  
  <p>My makefile looks like this</p>
  
  <pre><code>SDK_31 = iphonesimulator3.1
  TARGET_DEV = myProject
  TARGET_TEST = unitTest
  
  all: debug
  debug:
          xcodebuild -sdk ${SDK_31} -target "${TARGET_DEV}" -configuration Debug
          xcodebuild -sdk ${SDK_31} -target "${TARGET_TEST}" -configuration Debug
  
  clean:
          xcodebuild -alltargets clean
          rm -rf build
  </code></pre>
  
  <p>But when hudson build the projects, some unit tests fail but the build is tagged as successful.</p>
  
  <p>What should I have to do to have an "unstable project" ?</p>
  
  <p>Best regards,</p>