Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

This branch is 506 commits behind ocaml:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

..
Failed to load latest commit information.
compilers
packages
results
Makefile
README.unittest
init-repo.sh
test-TEST.sh
tests.py

README.unittest

# to create a new unit test

* clean the test repository : 

      ./init-repo.sh -c

* init the test repository : 

      ./init-repo.sh -i

* load a inital scenario (this command can be invoked multiple times): 

      ./init-repo.sh -s 1
      ./init-repo.sh -s 2

* install/remove/upgrade : 

    OPAM_ROOT=/tmp/OPAM.ROOT PATH=/tmp/OPAM.BIN:$PATH opam --yes --root /tmp/OPAM.ROOT install P4

* crearte a new expected result file in as

      OPAM_ROOT=/tmp/OPAM.ROOT PATH=/tmp/OPAM.BIN:$PATH \
      opam --yes --root /tmp/OPAM.ROOT list > results/new-expected-result

* Make sure that the result correct !

* Add a new test case in the file tests.py
Something went wrong with that request. Please try again.