From 24957b017ee4739a017365d9158ffa766db721f8 Mon Sep 17 00:00:00 2001 From: "M.P. Korstanje" Date: Tue, 8 Nov 2022 15:55:02 +0100 Subject: [PATCH] python: Enable markdown acceptance tests --- python/Makefile | 6 +++--- testdata/good/datatables.feature.md.tokens | 0 2 files changed, 3 insertions(+), 3 deletions(-) create mode 100644 testdata/good/datatables.feature.md.tokens diff --git a/python/Makefile b/python/Makefile index 76db3bf94..03a4dc4a1 100644 --- a/python/Makefile +++ b/python/Makefile @@ -8,8 +8,8 @@ SOURCE_FILES = $(shell find . -name "*.py" | grep -v $(GHERKIN_PARSER)) GHERKIN = bin/gherkin GHERKIN_GENERATE_TOKENS = bin/gherkin-generate-tokens -GOOD_FEATURE_FILES = $(shell find ../testdata/good -name "*.feature") -BAD_FEATURE_FILES = $(shell find ../testdata/bad -name "*.feature") +GOOD_FEATURE_FILES = $(shell find ../testdata/good -name "*.feature" -o -name "*.feature.md") +BAD_FEATURE_FILES = $(shell find ../testdata/bad -name "*.feature" -o -name "*.feature.md") TOKENS = $(patsubst ../testdata/%,acceptance/testdata/%.tokens,$(GOOD_FEATURE_FILES)) ASTS = $(patsubst ../testdata/%,acceptance/testdata/%.ast.ndjson,$(GOOD_FEATURE_FILES)) @@ -36,7 +36,7 @@ clean: ## Remove all build artifacts and files generated by the acceptance tests rm -f .built rm -rf acceptance -.DELETE_ON_ERROR: +#.DELETE_ON_ERROR: acceptance: .built $(TOKENS) $(ASTS) $(PICKLES) $(ERRORS) $(SOURCES) ## Build acceptance test dir and compare results with reference diff --git a/testdata/good/datatables.feature.md.tokens b/testdata/good/datatables.feature.md.tokens new file mode 100644 index 000000000..e69de29bb