Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions test-suite/coq-makefile/package-install/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -117,3 +117,22 @@ make uninstall DSTROOT="$PWD/../tmp"
test ! -e "$pkgdir/META"
test ! -d "$pkgdir/rocq.d"
test -z "$(find ../tmp -path '*/user-contrib/Foo/A.vo' | head -n 1)"

echo 'Print LoadPath.' > Empty.v

rocq c -boot -noinit Empty.v

if rocq c -boot Empty.v; then
>&2 echo -boot without -noinit should have failed
exit 1
fi

rocq c -boot -package rocq-core Empty.v > loadpaths.package
grep -q "Corelib" loadpaths.package
grep -qv "user-contrib" loadpaths.package
grep -qv "Ltac2" loadpaths.package

rocq c Empty.v > loadpaths.legacy
grep -q "Corelib" loadpaths.legacy
grep -q "user-contrib" loadpaths.legacy
grep -q "Ltac2" loadpaths.legacy
Loading