- if not os.path.exists(os.path.join(tdir, e.cfgs["EXE"])):
- raise TestErr("Compilation failed", "CE")
- shutil.copyfile(os.path.join(tdir, e.cfgs["EXE"]), os.path.join(boxdir, e.cfgs["EXE"]))
- os.chmod(os.path.join(boxdir, e.cfgs["EXE"]), 0555)
+ if not os.path.exists(os.path.join(tdir, e["EXE"])):
+ raise TestError("Compilation failed", "CE")
+ shutil.copyfile(os.path.join(tdir, e["EXE"]), os.path.join(boxdir, e["EXE"]))
+ os.chmod(os.path.join(boxdir, e["EXE"]), 0555)