| 1 |
#!/bin/bash |
| 2 |
# |
| 3 |
# Copyright (C) 2013 Anders Logg and Martin Sandve Alnaes |
| 4 |
# |
| 5 |
# This file is part of FIAT. |
| 6 |
# |
| 7 |
# FIAT is free software: you can redistribute it and/or modify |
| 8 |
# it under the terms of the GNU Lesser General Public License as published by |
| 9 |
# the Free Software Foundation, either version 3 of the License, or |
| 10 |
# (at your option) any later version. |
| 11 |
# |
| 12 |
# FIAT is distributed in the hope that it will be useful, |
| 13 |
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 14 |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 15 |
# GNU Lesser General Public License for more details. |
| 16 |
# |
| 17 |
# You should have received a copy of the GNU Lesser General Public License |
| 18 |
# along with FIAT. If not, see <http://www.gnu.org/licenses/>. |
| 19 |
# |
| 20 |
# Modified by Johannes Ring, 2013-04-23 |
| 21 |
# |
| 22 |
# First added: 2013-04-22 |
| 23 |
# Last changed: 2013-08-20 |
| 24 |
# |
| 25 |
# This script downloads the reference data for the FIAT regression tests |
| 26 |
# and updates to the reference data version specified by the data id file. |
| 27 |
|
| 28 |
# Parameters |
| 29 |
source ./scripts/parameters |
| 30 |
|
| 31 |
# Get updated reference repository |
| 32 |
./scripts/getreferencerepo |
| 33 |
if [ $? -ne 0 ]; then |
| 34 |
exit 1 |
| 35 |
fi |
| 36 |
|
| 37 |
# Checkout data referenced by id file |
| 38 |
./scripts/getdata |
| 39 |
if [ $? -ne 0 ]; then |
| 40 |
exit 1 |
| 41 |
fi |