trick/test/SIM_test_varserv/RUN_test/unit_test.py
Alex Lin 9ddc786ace Split test sims and fun sims into separate directories.
Moved most of the rest of the sims to test.

refs #191
2016-02-23 16:19:30 -06:00

24 lines
534 B
Python

import trick
import socket
from trick.unit_test import *
def main():
trick.var_server_set_port(40000)
trick.var_ascii()
#trick.set_var_server_info_msg_on()
trick_utest.unit_tests.enable() ;
trick_utest.unit_tests.set_file_name( os.getenv("TRICK_HOME") + "/trick_test/SIM_test_varserv.xml" )
trick_utest.unit_tests.set_test_name( "VariableServerTest" )
TRICK_EXPECT_EQ(trick.var_server_get_port(), 40000, "VariableServerTest", "SetPortNumber")
trick.exec_set_terminate_time(3000.0)
if __name__ == "__main__":
main()