-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.sh
56 lines (40 loc) · 1.32 KB
/
setup.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
###############################################################
#
# Configure environment for running CIAOTEST
# regression-testing tools
#
###############################################################
#
# The following declarations will differ for each
# local installation
#
ROOT=/proj/sds/Regression
# Installation directory for CIAOTEST software
export CIAOTEST_INSTALL=${ROOT}/ciaotest
# Directory containing test files
export CIAOTEST_TESTS=${ROOT}/current_regtest/tests
# Directory containing input files for tests
export CIAOTEST_INPUT=${ROOT}/current_regtest/input
# Directory to which test results are written
export CIAOTEST_RESULTS=${ROOT}/results
# Directory containing dmdiff tolerance files (optional)
export CIAOTEST_TOLFILES=${ROOT}/current_regtest/tolfiles
#
# The following declarations are the same for all
# installations
#
# Directory containing executable CIAOTEST scripts
export CIAOTEST_BIN=$CIAOTEST_INSTALL/bin
# Directory containing definitions of internal CIAOTEST functions
export CIAOTEST_FUNCTIONS=$CIAOTEST_INSTALL/lib
# Set PATH appropriately
PATH="${CIAOTEST_BIN}:${CIAOTEST_FUNCTIONS}:${PATH}"
# Set FPATH so that ksh finds the functions defined in
# $CIAOTEST_FUNCTIONS
if test x$FPATH = x
then
export FPATH="$CIAOTEST_FUNCTIONS"
else
export FPATH="${CIAOTEST_FUNCTIONS}:${FPATH}"
fi
unset ROOT