File: test_all_switches.sh

package info (click to toggle)
ocaml-stdcompat 19-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 6,516 kB
  • sloc: ml: 27,806; sh: 875; makefile: 246
file content (14 lines) | stat: -rwxr-xr-x 259 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/env bash
set -e
for ocamlversion in `opam switch -i -s`; do
    opam switch $ocamlversion
    eval `opam config env`
    ./configure
    make clean
    make
    make tests
    ./configure --disable-magic
    make clean
    make
    make tests
done