equal
deleted
inserted
replaced
454 out.close() |
454 out.close() |
455 |
455 |
456 print "-- Running NS-3 C++ core unit tests..." |
456 print "-- Running NS-3 C++ core unit tests..." |
457 run_program('run-tests', get_command_template()) |
457 run_program('run-tests', get_command_template()) |
458 |
458 |
459 print "-- Running NS-3 Python bindings unit tests..." |
459 if env['ENABLE_PYTHON_BINDINGS']: |
460 _run_argv([env['PYTHON'], os.path.join("utils", "python-unit-tests.py")], proc_env) |
460 print "-- Running NS-3 Python bindings unit tests..." |
|
461 _run_argv([env['PYTHON'], os.path.join("utils", "python-unit-tests.py")], proc_env) |
|
462 else: |
|
463 print "-- Skipping NS-3 Python bindings unit tests: Python bindings not enabled." |
461 |
464 |
462 |
465 |
463 def _find_program(program_name, env): |
466 def _find_program(program_name, env): |
464 launch_dir = os.path.abspath(Params.g_cwd_launch) |
467 launch_dir = os.path.abspath(Params.g_cwd_launch) |
465 found_programs = [] |
468 found_programs = [] |