mirror of
https://github.com/nasa/trick.git
synced 2024-12-22 14:32:24 +00:00
9ddc786ace
Moved most of the rest of the sims to test. refs #191
24 lines
534 B
Python
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()
|
|
|