trick/test/SIM_demo_inputfile/RUN_test/unit_test.py

12 lines
345 B
Python
Raw Permalink Normal View History

2015-02-26 15:02:31 +00:00
exec(open("RUN_test/input.py").read())
2015-02-26 15:02:31 +00:00
# Disable real-time (if applicable)
trick.real_time_disable()
# Disable all GUIs
trick_sys.sched.set_freeze_command(False)
trick.remove_all_external_applications()
trick_utest.unit_tests.enable() ;
trick_utest.unit_tests.set_file_name( os.getenv("TRICK_HOME") + "/trick_test/SIM_demo_inputfile.xml" ) ;