# includes 6 file extensions, ignores others such as .c, .vo # recursive expansion # explicit non-existent file included
actual=`rocq makefile -sources-of -o CoqMakefile . nonexistent.v`
expected="a/b/g.v a/g.mlg a/g.mllib a/g.mlpack g.ml g.mli nonexistent.v" if [ "$actual" != "$expected" ]; then echo actual: $actual echo expected: $expected
exit 1 fi
# expands specific directory, not ., gets the right subset
actual=`rocq makefile -sources-of -o CoqMakefile a`
expected="a/b/g.v a/g.mlg a/g.mllib a/g.mlpack" if [ "$actual" != "$expected" ]; then echo actual: $actual echo expected: $expected
exit 1 fi
# command line args are in Makefile.conf
rocq makefile -o CoqMakefile . x
actual=`grep "COQMF_CMDLINE_VFILES := . x" CoqMakefile.conf` if test $? -ne 0; then echo bad COQMF_CMDLINE_VFILES:
grep "COQMF_CMDLINE_VFILES" CoqMakefile.conf
exit 1 fi
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.