srecord noeq G22SelfTests(G22Utils g22utils) { OKOrError result; run { result = okOrError(l0 runImpl); print("Result of self tests: " + result); if (!result.isOK()) infoBox("Self-tests failed"); } void runImpl { G22LAScriptIDE.selfTest(g22utils); } }