Show More
@@ -1174,31 +1174,31 test for --json | |||||
1174 | $ cat report.json |
|
1174 | $ cat report.json | |
1175 | testreport ={ |
|
1175 | testreport ={ | |
1176 | "test-failure.t": [\{] (re) |
|
1176 | "test-failure.t": [\{] (re) | |
1177 |
"csys": "\s* |
|
1177 | "csys": "\s*\d+\.\d{3,4}", ? (re) | |
1178 |
"cuser": "\s* |
|
1178 | "cuser": "\s*\d+\.\d{3,4}", ? (re) | |
1179 | "diff": "---.+\+\+\+.+", ? (re) |
|
1179 | "diff": "---.+\+\+\+.+", ? (re) | |
1180 |
"end": "\s* |
|
1180 | "end": "\s*\d+\.\d{3,4}", ? (re) | |
1181 | "result": "failure", ? (re) |
|
1181 | "result": "failure", ? (re) | |
1182 |
"start": "\s* |
|
1182 | "start": "\s*\d+\.\d{3,4}", ? (re) | |
1183 |
"time": "\s* |
|
1183 | "time": "\s*\d+\.\d{3,4}" (re) | |
1184 | }, ? (re) |
|
1184 | }, ? (re) | |
1185 | "test-skip.t": { |
|
1185 | "test-skip.t": { | |
1186 |
"csys": "\s* |
|
1186 | "csys": "\s*\d+\.\d{3,4}", ? (re) | |
1187 |
"cuser": "\s* |
|
1187 | "cuser": "\s*\d+\.\d{3,4}", ? (re) | |
1188 | "diff": "", ? (re) |
|
1188 | "diff": "", ? (re) | |
1189 |
"end": "\s* |
|
1189 | "end": "\s*\d+\.\d{3,4}", ? (re) | |
1190 | "result": "skip", ? (re) |
|
1190 | "result": "skip", ? (re) | |
1191 |
"start": "\s* |
|
1191 | "start": "\s*\d+\.\d{3,4}", ? (re) | |
1192 |
"time": "\s* |
|
1192 | "time": "\s*\d+\.\d{3,4}" (re) | |
1193 | }, ? (re) |
|
1193 | }, ? (re) | |
1194 | "test-success.t": [\{] (re) |
|
1194 | "test-success.t": [\{] (re) | |
1195 |
"csys": "\s* |
|
1195 | "csys": "\s*\d+\.\d{3,4}", ? (re) | |
1196 |
"cuser": "\s* |
|
1196 | "cuser": "\s*\d+\.\d{3,4}", ? (re) | |
1197 | "diff": "", ? (re) |
|
1197 | "diff": "", ? (re) | |
1198 |
"end": "\s* |
|
1198 | "end": "\s*\d+\.\d{3,4}", ? (re) | |
1199 | "result": "success", ? (re) |
|
1199 | "result": "success", ? (re) | |
1200 |
"start": "\s* |
|
1200 | "start": "\s*\d+\.\d{3,4}", ? (re) | |
1201 |
"time": "\s* |
|
1201 | "time": "\s*\d+\.\d{3,4}" (re) | |
1202 | } |
|
1202 | } | |
1203 | } (no-eol) |
|
1203 | } (no-eol) | |
1204 | --json with --outputdir |
|
1204 | --json with --outputdir | |
@@ -1231,31 +1231,31 test for --json | |||||
1231 | $ cat output/report.json |
|
1231 | $ cat output/report.json | |
1232 | testreport ={ |
|
1232 | testreport ={ | |
1233 | "test-failure.t": [\{] (re) |
|
1233 | "test-failure.t": [\{] (re) | |
1234 |
"csys": "\s* |
|
1234 | "csys": "\s*\d+\.\d{3,4}", ? (re) | |
1235 |
"cuser": "\s* |
|
1235 | "cuser": "\s*\d+\.\d{3,4}", ? (re) | |
1236 | "diff": "---.+\+\+\+.+", ? (re) |
|
1236 | "diff": "---.+\+\+\+.+", ? (re) | |
1237 |
"end": "\s* |
|
1237 | "end": "\s*\d+\.\d{3,4}", ? (re) | |
1238 | "result": "failure", ? (re) |
|
1238 | "result": "failure", ? (re) | |
1239 |
"start": "\s* |
|
1239 | "start": "\s*\d+\.\d{3,4}", ? (re) | |
1240 |
"time": "\s* |
|
1240 | "time": "\s*\d+\.\d{3,4}" (re) | |
1241 | }, ? (re) |
|
1241 | }, ? (re) | |
1242 | "test-skip.t": { |
|
1242 | "test-skip.t": { | |
1243 |
"csys": "\s* |
|
1243 | "csys": "\s*\d+\.\d{3,4}", ? (re) | |
1244 |
"cuser": "\s* |
|
1244 | "cuser": "\s*\d+\.\d{3,4}", ? (re) | |
1245 | "diff": "", ? (re) |
|
1245 | "diff": "", ? (re) | |
1246 |
"end": "\s* |
|
1246 | "end": "\s*\d+\.\d{3,4}", ? (re) | |
1247 | "result": "skip", ? (re) |
|
1247 | "result": "skip", ? (re) | |
1248 |
"start": "\s* |
|
1248 | "start": "\s*\d+\.\d{3,4}", ? (re) | |
1249 |
"time": "\s* |
|
1249 | "time": "\s*\d+\.\d{3,4}" (re) | |
1250 | }, ? (re) |
|
1250 | }, ? (re) | |
1251 | "test-success.t": [\{] (re) |
|
1251 | "test-success.t": [\{] (re) | |
1252 |
"csys": "\s* |
|
1252 | "csys": "\s*\d+\.\d{3,4}", ? (re) | |
1253 |
"cuser": "\s* |
|
1253 | "cuser": "\s*\d+\.\d{3,4}", ? (re) | |
1254 | "diff": "", ? (re) |
|
1254 | "diff": "", ? (re) | |
1255 |
"end": "\s* |
|
1255 | "end": "\s*\d+\.\d{3,4}", ? (re) | |
1256 | "result": "success", ? (re) |
|
1256 | "result": "success", ? (re) | |
1257 |
"start": "\s* |
|
1257 | "start": "\s*\d+\.\d{3,4}", ? (re) | |
1258 |
"time": "\s* |
|
1258 | "time": "\s*\d+\.\d{3,4}" (re) | |
1259 | } |
|
1259 | } | |
1260 | } (no-eol) |
|
1260 | } (no-eol) | |
1261 | $ ls -a output |
|
1261 | $ ls -a output | |
@@ -1287,31 +1287,31 Test that failed test accepted through i | |||||
1287 | $ cat report.json |
|
1287 | $ cat report.json | |
1288 | testreport ={ |
|
1288 | testreport ={ | |
1289 | "test-failure.t": [\{] (re) |
|
1289 | "test-failure.t": [\{] (re) | |
1290 |
"csys": "\s* |
|
1290 | "csys": "\s*\d+\.\d{3,4}", ? (re) | |
1291 |
"cuser": "\s* |
|
1291 | "cuser": "\s*\d+\.\d{3,4}", ? (re) | |
1292 | "diff": "", ? (re) |
|
1292 | "diff": "", ? (re) | |
1293 |
"end": "\s* |
|
1293 | "end": "\s*\d+\.\d{3,4}", ? (re) | |
1294 | "result": "success", ? (re) |
|
1294 | "result": "success", ? (re) | |
1295 |
"start": "\s* |
|
1295 | "start": "\s*\d+\.\d{3,4}", ? (re) | |
1296 |
"time": "\s* |
|
1296 | "time": "\s*\d+\.\d{3,4}" (re) | |
1297 | }, ? (re) |
|
1297 | }, ? (re) | |
1298 | "test-skip.t": { |
|
1298 | "test-skip.t": { | |
1299 |
"csys": "\s* |
|
1299 | "csys": "\s*\d+\.\d{3,4}", ? (re) | |
1300 |
"cuser": "\s* |
|
1300 | "cuser": "\s*\d+\.\d{3,4}", ? (re) | |
1301 | "diff": "", ? (re) |
|
1301 | "diff": "", ? (re) | |
1302 |
"end": "\s* |
|
1302 | "end": "\s*\d+\.\d{3,4}", ? (re) | |
1303 | "result": "skip", ? (re) |
|
1303 | "result": "skip", ? (re) | |
1304 |
"start": "\s* |
|
1304 | "start": "\s*\d+\.\d{3,4}", ? (re) | |
1305 |
"time": "\s* |
|
1305 | "time": "\s*\d+\.\d{3,4}" (re) | |
1306 | }, ? (re) |
|
1306 | }, ? (re) | |
1307 | "test-success.t": [\{] (re) |
|
1307 | "test-success.t": [\{] (re) | |
1308 |
"csys": "\s* |
|
1308 | "csys": "\s*\d+\.\d{3,4}", ? (re) | |
1309 |
"cuser": "\s* |
|
1309 | "cuser": "\s*\d+\.\d{3,4}", ? (re) | |
1310 | "diff": "", ? (re) |
|
1310 | "diff": "", ? (re) | |
1311 |
"end": "\s* |
|
1311 | "end": "\s*\d+\.\d{3,4}", ? (re) | |
1312 | "result": "success", ? (re) |
|
1312 | "result": "success", ? (re) | |
1313 |
"start": "\s* |
|
1313 | "start": "\s*\d+\.\d{3,4}", ? (re) | |
1314 |
"time": "\s* |
|
1314 | "time": "\s*\d+\.\d{3,4}" (re) | |
1315 | } |
|
1315 | } | |
1316 | } (no-eol) |
|
1316 | } (no-eol) | |
1317 | $ mv backup test-failure.t |
|
1317 | $ mv backup test-failure.t |
General Comments 0
You need to be logged in to leave comments.
Login now