Merge branch 'feature/server_split' of https://github.com/MITx/mitx into feature/server_split

This commit is contained in:
kimth
2012-08-10 18:52:04 -04:00

View File

@@ -88,7 +88,7 @@ $failed_tests = 0
def run_tests(system, report_dir, stop_on_failure=true)
ENV['NOSE_XUNIT_FILE'] = File.join(report_dir, "nosetests.xml")
ENV['NOSE_COVER_HTML_DIR'] = File.join(report_dir, "cover")
dirs = Dir["common/djangoapps/*"] # + Dir["#{system}/djangoapps/*"]
dirs = Dir["common/djangoapps/*"] + Dir["#{system}/djangoapps/*"]
sh(django_admin(system, :test, 'test', *dirs.each)) do |ok, res|
if !ok and stop_on_failure
abort "Test failed!"