From 73e91542293af304ff25db9d3ea5495a9aa95249 Mon Sep 17 00:00:00 2001 From: Enrico Tassi Date: Wed, 9 May 2018 14:22:18 +0200 Subject: test for coqc -o --- test-suite/misc/coqc_dash_o.sh | 15 +++++++++++++++ test-suite/misc/coqc_dash_o.v | 1 + 2 files changed, 16 insertions(+) create mode 100755 test-suite/misc/coqc_dash_o.sh create mode 100644 test-suite/misc/coqc_dash_o.v (limited to 'test-suite/misc') diff --git a/test-suite/misc/coqc_dash_o.sh b/test-suite/misc/coqc_dash_o.sh new file mode 100755 index 000000000..f303214b9 --- /dev/null +++ b/test-suite/misc/coqc_dash_o.sh @@ -0,0 +1,15 @@ +#!/bin/bash + +DOUT=misc/tmp_coqc_dash_o/ +OUT=${DOUT}coqc_dash_o.vo + + +mkdir -p "${DOUT}" +rm -f "${OUT}" +$coqc misc/coqc_dash_o.v -o "${OUT}" +if [ ! -f "${OUT}" ]; then + printf "coqc -o not working" + exit 1 +fi +rm -fr "${DOUT}" +exit 0 diff --git a/test-suite/misc/coqc_dash_o.v b/test-suite/misc/coqc_dash_o.v new file mode 100644 index 000000000..7426dff1a --- /dev/null +++ b/test-suite/misc/coqc_dash_o.v @@ -0,0 +1 @@ +Definition x := nat. -- cgit v1.2.3