Skip to content

Commit db91c60

Browse files
WIP
1 parent cc3cc9f commit db91c60

File tree

4 files changed

+11
-8
lines changed

4 files changed

+11
-8
lines changed

cucumber.mjs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,10 @@ export default function() {
5151
// base configs
5252
home: {
5353
... baseConfig,
54-
format: [ 'progress-bar' ],
54+
format: [
55+
'progress-bar',
56+
['html', htmlReportFilename]
57+
],
5558
},
5659
github: {
5760
... baseConfig,

features/support/cache.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ export default class Cache {
2222
const content = fs.readFileSync(uri);
2323
const hash = env.osrmHash.copy();
2424
hash.update(content);
25-
hash.update(env.wp.algorithm || '');
2625
const hexHash = hash.digest('hex');
2726

2827
// shorten uri to be relative to 'features/'

features/support/data.js

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -295,12 +295,9 @@ export default class Data {
295295
*/
296296
runExtractionChain() {
297297
this.extract();
298-
if (env.wp.algorithm == 'mld') {
299-
this.partition();
300-
this.customize();
301-
} else {
302-
this.contract();
303-
}
298+
this.partition(); // mld
299+
this.customize(); // mld
300+
this.contract(); // ch
304301
}
305302

306303
reprocess(callback) {

features/support/run.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,10 @@ export function runBin(bin, args, options, log) {
3535
child.stderr.on('data', (data) => log(data));
3636
child.stdout.on('data', (data) => log(data));
3737

38+
child.on('error', (err) => {
39+
log(`${bin} aborted with error ${err}`);
40+
throw(err);
41+
});
3842
child.on('exit', (code, signal) => {
3943
if (signal != null) {
4044
const msg = `${bin} aborted with signal ${child.signal}`;

0 commit comments

Comments
 (0)