;; This file is part of Proof General. ;; ;; © Copyright 2021 Hendrik Tews ;; ;; Authors: Hendrik Tews ;; Maintainer: Hendrik Tews ;; ;; License: GPL (GNU GENERAL PUBLIC LICENSE) ;;; Commentary: ;; ;; Test that Proof General can open Coq files even when coqtop is ;; unavailable. (ert-deftest coqtop-unavailable () "Proof General can open Coq files even when coqtop is unavailable.." (setq coq-prog-name "unavailable-program") ;; ensure coq-prog-name cannot be found (should (not (locate-file coq-prog-name exec-path))) (find-file "simple.v") (coq-prog-args))