- Commit
- a8722bef85dcdcd8439e3cbb189f53f9c291dd1e
- Parent
- daeb55edc7636deebc2a79621ea06c3548d67827
- Author
- John MacFarlane <jgm@berkeley.edu>
- Date
Changed bench.js so it no longer requires oldtests.
My personal build of CMark ✏️
Changed bench.js so it no longer requires oldtests.
2 files changed, 2 insertions, 2 deletions
Status | File Name | N° Changes | Insertions | Deletions |
Modified | Makefile | 2 | 1 | 1 |
Modified | js/bench.js | 2 | 1 | 1 |
diff --git 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 @@ -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');