diff options
| author | Emilio Jesus Gallego Arias | 2018-09-26 22:49:20 +0200 |
|---|---|---|
| committer | Emilio Jesus Gallego Arias | 2018-10-11 14:32:33 +0200 |
| commit | 9e39d88ffb5829a9e2c82fbf54c0765a819b3e5e (patch) | |
| tree | 09f31d1d171db723e39d73e7171ff996963a2cc3 /test-suite/misc | |
| parent | dc5dbc992727fb807fa56763f8f71d79f598fd6a (diff) | |
[dune] [test-suite] Support for running the test suite with Dune.
Diffstat (limited to 'test-suite/misc')
| -rwxr-xr-x | test-suite/misc/universes/build_all_stdlib.sh | 4 | ||||
| -rw-r--r-- | test-suite/misc/universes/dune | 8 |
2 files changed, 12 insertions, 0 deletions
diff --git a/test-suite/misc/universes/build_all_stdlib.sh b/test-suite/misc/universes/build_all_stdlib.sh new file mode 100755 index 0000000000..2d2e6f863b --- /dev/null +++ b/test-suite/misc/universes/build_all_stdlib.sh @@ -0,0 +1,4 @@ +#!/usr/bin/env bash + +echo "Require $(find ../../../theories ../../../plugins -type f -name "*.v" | \ + sed 's/^.*\/theories\///' | sed 's/^.*\/plugins\///' | sed 's/\.v$//' | sed 's/\//./g') ." diff --git a/test-suite/misc/universes/dune b/test-suite/misc/universes/dune new file mode 100644 index 0000000000..58bba300d2 --- /dev/null +++ b/test-suite/misc/universes/dune @@ -0,0 +1,8 @@ +(rule + (targets all_stdlib.v) + (deps + (source_tree ../../../theories) + (source_tree ../../../plugins)) + (action + (with-outputs-to all_stdlib.v + (run ./build_all_stdlib.sh)))) |
