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