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