Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/Roqc/test-suite/coq-makefile/expand-directories2/   (Beweissystem des Inria Version 9.1.0©)  Datei vom 15.8.2025 mit Größe 1 kB image not shown  

Quelle  run.sh   Sprache: Shell

 
#!/usr/bin/env bash

. ../template/path-init.sh

rm -rf _test
mkdir _test
find . -maxdepth 1 -not -name . -not -name _test -exec cp -r '{}' -t _test ';'

cd _test || exit 1

# check cmd line arg is included in coqdep
# preserves order of args (cmd line args last)
actual=$(rocq makefile -sources-of -f _CoqProject -o CoqMakefile b.v)
expected="x/a.v b.v"
if [ "$actual" != "$expected" ]; then
  echo actual: $actual
  echo expected: $expected
  exit 1
fi

# correct compile steps reflecting dependency on cmd line arg
rocq makefile -f _CoqProject -o CoqMakefile b.v
make -f CoqMakefile > makeout
cat >expected <<EOT
ROCQ DEP VFILES
ROCQ compile b.v
ROCQ compile x/a.v
EOT

grep -v "make" makeout >actual
diff -u actual expected

# new file is included without running rocq makefile
cat >x/c.v <<EOT
Require Import T.x.a.
EOT
make -f CoqMakefile clean
make -f CoqMakefile > makeout
cat >expected <<EOT
ROCQ DEP VFILES
ROCQ compile b.v
ROCQ compile x/a.v
ROCQ compile x/c.v
EOT

grep -v "make" makeout >actual
diff -u actual expected

Messung V0.5
C=93 H=98 G=95

¤ Dauer der Verarbeitung: 0.13 Sekunden  (vorverarbeitet)  ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

Beweissystem der NASA

Beweissystem Isabelle

NIST Cobol Testsuite

Cephes Mathematical Library

Wiener Entwicklungsmethode

Haftungshinweis

Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.

Bemerkung:

Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.