change: add exit code

This commit is contained in:
debugtalk
2022-10-21 21:39:18 +08:00
parent 775e42f7fa
commit 1f7737d0e7
14 changed files with 137 additions and 71 deletions
+1 -1
View File
@@ -54,7 +54,7 @@ func LoadTestCases(iTestCases ...ITestCase) ([]*TestCase, error) {
tc, err := testCasePath.ToTestCase()
if err != nil {
log.Warn().Err(err).Str("path", path).Msg("load testcase failed")
return nil
return err
}
testCases = append(testCases, tc)
return nil