1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
|
;; This file is part of Proof General.
;;
;; © Copyright 2021 Hendrik Tews
;;
;; Authors: Hendrik Tews
;; Maintainer: Hendrik Tews <hendrik@askra.de>
;;
;; SPDX-License-Identifier: GPL-3.0-or-later
;;; 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))
|