From 76fe29c9b121a0010a0f24b5cca5ac706683e3c3 Mon Sep 17 00:00:00 2001 From: Hendrik Tews Date: Mon, 22 Feb 2021 23:00:41 +0100 Subject: protect uses of coq-callcoq Uses of coq-callcoq need to correctly handle nil as result for the case that coq-callcoq fails. Additionally, add a regression test. Fixes #551 --- ci/simple-tests/Makefile | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 ci/simple-tests/Makefile (limited to 'ci/simple-tests/Makefile') diff --git a/ci/simple-tests/Makefile b/ci/simple-tests/Makefile new file mode 100644 index 00000000..dc5c8e73 --- /dev/null +++ b/ci/simple-tests/Makefile @@ -0,0 +1,23 @@ +# This file is part of Proof General. +# +# © Copyright 2021 Hendrik Tews +# +# Authors: Hendrik Tews +# Maintainer: Hendrik Tews +# +# License: GPL (GNU GENERAL PUBLIC LICENSE) + + +TESTS:=$(wildcard test-*.el) +SUCCESS:=$(TESTS:.el=.success) + +all: $(SUCCESS) + +test-%.success: test-%.el + emacs -batch -l ../../generic/proof-site.el -l $< \ + -f ert-run-tests-batch-and-exit \ + && touch $@ + +.PHONY: clean +clean: + rm -f *.vo *.glob *.vio *.vos *.vok .*.aux *.success -- cgit v1.2.3