Commit b326f572 authored by Jérémy Lal's avatar Jérémy Lal

Fix test that need alice.html

parent c6d423a4
Description: a test uses a benchmark that read alice.html, dfsg excluded
Last-Update: 2017-12-25
Author: Jérémy Lal <kapouer@melix.org>
Forwarded: not-needed
--- a/benchmark/buffers/buffer-indexof-number.js
+++ b/benchmark/buffers/buffer-indexof-number.js
@@ -12,7 +12,7 @@
const n = +conf.n;
const search = +conf.value;
const aliceBuffer = fs.readFileSync(
- path.resolve(__dirname, '../fixtures/alice.html')
+ path.resolve(__dirname, '../../doc/api/all.html')
);
bench.start();
--- a/benchmark/buffers/buffer-indexof.js
+++ b/benchmark/buffers/buffer-indexof.js
@@ -31,7 +31,7 @@
function main(conf) {
const iter = (conf.iter) * 100000;
var aliceBuffer = fs.readFileSync(
- path.resolve(__dirname, '../fixtures/alice.html')
+ path.resolve(__dirname, '../../doc/api/all.html')
);
var search = conf.search;
var encoding = conf.encoding;
......@@ -34,3 +34,4 @@ doctool-debian-js-yaml.patch
6a9b3087bbfaee37a56b175e142a98c82ec61959.patch
openssl/fixups.patch
fix_disable_cctest.patch
benchmark_without_alice.patch
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment