equal
deleted
inserted
replaced
513 if subprocess.Popen([prog], stdout=out, env=proc_env).wait(): |
513 if subprocess.Popen([prog], stdout=out, env=proc_env).wait(): |
514 raise SystemExit(1) |
514 raise SystemExit(1) |
515 out.close() |
515 out.close() |
516 |
516 |
517 print "-- Running NS-3 C++ core unit tests..." |
517 print "-- Running NS-3 C++ core unit tests..." |
518 wutils.run_program('run-tests', wutils.get_command_template(env)) |
518 wutils.run_program('run-tests', env, wutils.get_command_template(env)) |
519 |
519 |
520 if env['ENABLE_PYTHON_BINDINGS']: |
520 if env['ENABLE_PYTHON_BINDINGS']: |
521 print "-- Running NS-3 Python bindings unit tests..." |
521 print "-- Running NS-3 Python bindings unit tests..." |
522 wutils.run_argv([env['PYTHON'], os.path.join("utils", "python-unit-tests.py")], env, proc_env) |
522 wutils.run_argv([env['PYTHON'], os.path.join("utils", "python-unit-tests.py")], env, proc_env) |
523 else: |
523 else: |