1
0
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:
stephan
2023-08-10 11:15:20 +00:00
parent e51fae4134
commit 61186d1243
3 changed files with 11 additions and 9 deletions

View File

@ -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);