#! /bin/bash
#
gfortran -c -g -Wall test_digraph_arc_test.f90
if [ $? -ne 0 ]; then
  echo "Compile error."
  exit
fi
#
gfortran -o test_digraph_arc_test test_digraph_arc_test.o $HOME/lib/test_digraph_arc.o
if [ $? -ne 0 ]; then
  echo "Load error."
  exit
fi
rm test_digraph_arc_test.o
#
./test_digraph_arc_test > test_digraph_arc_test.txt
if [ $? -ne 0 ]; then
  echo "Run error."
  exit
fi
rm test_digraph_arc_test
#
echo "Normal end of execution."
