jasmine-headless-webkit/ext/jasmine-webkit-specrunner/test.rb
2011-08-23 19:49:47 -04:00

17 lines
270 B
Ruby

#!/usr/bin/env ruby
system %{make clean}
Dir['*_test.pro'].each do |test|
$: << File.expand_path("../../../lib", __FILE__)
require 'qt/qmake'
Qt::Qmake.make!('jasmine-headless-webkit', test)
system %{./jhw-test}
if $?.exitstatus != 0
exit 1
end
end