aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile2
-rw-r--r--js/bench.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 8d35b9d..1094b65 100644
--- a/Makefile
+++ b/Makefile
@@ -2,7 +2,7 @@ CFLAGS?=-g -O3 -Wall -Wextra -std=c99 -Isrc -Wno-missing-field-initializers $(OP
LDFLAGS?=-g -O3 -Wall -Werror
SRCDIR?=src
DATADIR?=data
-
+BENCHINP?=bench.md
PROG?=./stmd
.PHONY: all test spec benchjs testjs
diff --git a/js/bench.js b/js/bench.js
index 3c486b1..46b6d7d 100644
--- a/js/bench.js
+++ b/js/bench.js
@@ -7,7 +7,7 @@ var showdown = require('../../showdown/src/showdown');
// https://github.com/chjj/marked
var marked = require('../../marked/marked.min.js');
-var benchfile = process.argv[2] || 'oldtests/Original/Markdown_Documentation_Syntax.markdown';
+var benchfile = process.argv[2];
var contents = fs.readFileSync(benchfile, 'utf8');