Commits (1)
......@@ -29,7 +29,7 @@ if 0!=result:
commonRegression.g_child.terminate(force=True)
binaries2 = [
"python -m python.Test_TM_TC_with_Demo_Ada"
"python Test_TM_TC_with_Demo_Ada.py"
]
expected2 = [
......@@ -43,8 +43,7 @@ expected2 = [
"abc1"
]
def VerifyTM(folder):
binary = folder+"/binaries/mypartition"
def VerifyTM(binary):
print "Verifying TMs sent by", binary
p = None
try:
......@@ -53,9 +52,8 @@ def VerifyTM(folder):
sys.exit(1)
except:
sys.exit(1)
os.system("cp Test_TM_TC_with_Demo_Ada.py " + folder + "/GlueAndBuild/gluemygui/python/")
os.system("cd " + folder + "/GlueAndBuild/gluemygui/python/ ; touch __init__.py ; ln -s . python")
os.chdir(folder + "/GlueAndBuild/gluemygui/python")
os.system("cp Test_TM_TC_with_Demo_Ada.py binary.linux.pohiada/GlueAndBuild/gluemygui/python/")
os.chdir("binary.linux.pohiada/GlueAndBuild/gluemygui/python")
result2=commonRegression.test(binaries2, expected2, timeout)
p.kill()
p.wait()
......@@ -63,5 +61,5 @@ def VerifyTM(folder):
if 0!=result2:
sys.exit(1)
VerifyTM("binary.linux.pohiada")
VerifyTM("binary.linux.pohic")
VerifyTM("binary.linux.pohiada/binaries/mypartition")
VerifyTM("binary.linux.pohic/binaries/mypartition")