event.close()
extractedEvents.write("\t\t\t}\n")
elif eventList[i] == "carbonMonoxide":
- print eventVarMap
- print capabilityMap
-
#Check which capability
variable = eventVarMap[eventList[i]]
capability = capabilityMap[variable]
# Run Runner.py to extract things and create main.groovy, then compile it
print "==> Compiling the apps ...\n"
os.system("make Runner")
- #os.system("make main")
+ os.system("make main")
# Call JPF
print "==> Calling JPF and generate logs ...\n"
- logName = jpfLogDir + item[0] + "--" + item[1] + ".log"
+ logName = item[0] + "--" + item[1] + ".log"
writeLogList.write(logName + "\n")
- #os.system("cd " + jpfDir + ";./run.sh " + logName + " main.jpf")
+ os.system("cd " + jpfDir + ";./run.sh " + jpfLogDir + logName + " main.jpf")
writeLogList.close()