renderText("done");
}
public static void run(String test) {
getFile("test-result").mkdir();
TestResults results = TestEngine.run(test.substring(0, test.length() - 6));
Map<String, Object> options = makeOptions(test, results);
String result = load("LitmusTestRunner/results.html").render(options);
File resultsFile = getFile("test-result/" + test + (results.passed ? ".passed" : ".failed") + ".html");
writeContent(result, resultsFile);
writeXmlOutput(options);