mirror of
https://github.com/sqlite/sqlite.git
synced 2025-07-29 08:01:23 +03:00
Make test completion status more visible at a glance on modern terminals.
FossilOrigin-Name: a4e96c306c4c270f417243e7923d7e6c4f860528dd67990dfd8d9768a6c4873f
This commit is contained in:
@ -249,14 +249,16 @@ public class SQLTester {
|
||||
++nTestFile;
|
||||
final TestScript ts = new TestScript(f);
|
||||
outln(nextStartEmoji(), " starting [",f,"]");
|
||||
boolean threw = false;
|
||||
try{
|
||||
ts.run(this);
|
||||
}catch(SQLTesterException e){
|
||||
outln("EXCEPTION: ",e.getClass().getSimpleName(),": ",e.getMessage());
|
||||
threw = true;
|
||||
outln("❗EXCEPTION: ",e.getClass().getSimpleName(),": ",e.getMessage());
|
||||
++nAbortedScript;
|
||||
if( e.isFatal() ) throw e;
|
||||
}finally{
|
||||
outln("🏁 ",nTest," test(s) in ",ts.getFilename());
|
||||
outln("🏁",(threw ? "❌" : "✅")," ",nTest," test(s) in ",ts.getFilename());
|
||||
}
|
||||
}
|
||||
Util.unlink(initialDbName);
|
||||
|
Reference in New Issue
Block a user