
set -e

# TODO: pin this to a specific version!
git clone https://github.com/ANHIG/IMGTHLA.git

eval `opam config env`
export OPAMYES="true"
opam pin add -k git biocaml https://github.com/biocaml/biocaml/

make setup
make build
make tools
make tests

export IMGTHLA_DIR="IMGTHLA"

echo current dir:
ls

echo testing parsing
./test_parsing.native

echo testing round trip graph construction
cp src/scripts/round_trip_tests.sh .
./round_trip_tests.sh

#echo testing same alignment
#./same_alignments_test.native

# Full adjacents calculation takes too long
#cp src/scripts/adjacent_tests.sh .
#./adjacent_tests.sh
echo testing adjcent finding for A_gen only
./adjacents.native A_gen > A_gen_adjacent.log


set -e

# TODO: pin this to a specific version!
git clone https://github.com/ANHIG/IMGTHLA.git

eval `opam config env`
export OPAMYES="true"
opam pin add -k git biocaml https://github.com/biocaml/biocaml/

make setup
make build
make tools
make tests

export IMGTHLA_DIR="IMGTHLA"

echo current dir:
ls

echo testing parsing
./test_parsing.native

echo testing round trip graph construction
cp src/scripts/round_trip_tests.sh .
./round_trip_tests.sh

#echo testing same alignment
#./same_alignments_test.native

# Full adjacents calculation takes too long
#cp src/scripts/adjacent_tests.sh .
#./adjacent_tests.sh
#echo testing adjcent finding for A_gen only
#./adjacents.native A_gen > A_gen_adjacent.log

Comment out adjacents test because it times out
Comment out adjacents test because it times out
