2022-10-07 13:37:09 +00:00
|
|
|
import trick
|
|
|
|
from trick.unit_test import *
|
2015-02-26 15:02:31 +00:00
|
|
|
|
|
|
|
def main():
|
|
|
|
|
2022-10-07 13:37:09 +00:00
|
|
|
trick.load_checkpoint("RUN_test/chkpnt_in")
|
|
|
|
trick.load_checkpoint_job()
|
2015-02-26 15:02:31 +00:00
|
|
|
|
2022-10-07 13:37:09 +00:00
|
|
|
trick.exec_set_job_onoff("the_object.stlc.addData", 1, False)
|
|
|
|
trick.exec_set_job_onoff("the_object.stlc.test", 1, True)
|
|
|
|
trick.exec_set_job_onoff("the_object.stlc.print", 1, False)
|
|
|
|
|
|
|
|
trick_utest.unit_tests.enable()
|
|
|
|
trick_utest.unit_tests.set_file_name( os.getenv("TRICK_HOME") + "/trick_test/SIM_stl.xml" )
|
|
|
|
trick_utest.unit_tests.set_test_name( "STLCheckpointTest" )
|
|
|
|
|
|
|
|
trick.stop(1.0)
|
2015-02-26 15:02:31 +00:00
|
|
|
|
|
|
|
if __name__ == "__main__":
|
|
|
|
main()
|
|
|
|
|