Skip to content

Commit

Permalink
Abort if tests fail to compile
Browse files Browse the repository at this point in the history
  • Loading branch information
mxcl committed Mar 8, 2014
1 parent 0909816 commit 9121356
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests
Original file line number Diff line number Diff line change
Expand Up @@ -535,12 +535,12 @@ File.open('/tmp/YOLOtests.m', 'w') do |f|
f.puts(OBJC)
end

system <<-EOS
abort unless system <<-EOS
clang -g -O0 -ObjC -F#{FRAMEWORKS} -I. -fmodules -fobjc-arc \
-framework SenTestingKit \
/tmp/YOLOtests.m *.m -o /tmp/YOLOtests
EOS
system <<-EOS
abort unless system <<-EOS
install_name_tool -change \
@rpath/SenTestingKit.framework/Versions/A/SenTestingKit \
#{FRAMEWORKS}/SenTestingKit.framework/SenTestingKit \
Expand Down

0 comments on commit 9121356

Please sign in to comment.