-
Notifications
You must be signed in to change notification settings - Fork 2
/
test_all.sh
executable file
·54 lines (48 loc) · 1.22 KB
/
test_all.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
#!/bin/bash
# This script seems to be customized for user 'yadunandb', intentional?
source setup.sh
export BEAGLE_USERNAME="yadunandb"
export BEAGLE_PROJECT="CI-CCR000013"
export MIDWAY_USERNAME="yadunand"
export AWS_CREDENTIALS_FILE="/home/yadu/.ssh/swift-grant-credentials.csv"
export URL_OF_AD_HOC_MACHINE_1="crank"
export AD_HOC_1_USERNAME="yadunand"
export OSG_USERNAME="yadunand"
export OSG_PROJECT="swift"
export GORDON_USERNAME="yadunand"
export TRESTLES_USERNAME="yadunand"
export HOPPER_USERNAME="yadunand"
export BLACKLIGHT_USERNAME="yadunand"
for i in $(seq 1 1 3)
do
pushd .
echo "============================TESTING part0$i==========================="
cd part0$i
swift p$i.swift -site=localhost
if [[ $? == 0 ]]
then
echo "Cleaning up!"
cleanup
fi
echo -e "\n\n"
popd
done
SITES=('bluewaters')
for i in $(seq 4 1 6)
do
pushd .
echo "============================TESTING part0$i==========================="
cd part0$i
for SITE in ${SITES[*]}
do
echo "Running on SITE : $SITE"
swift -sites $SITE p$i.swift
if [[ $? == 0 ]]
then
echo "Cleaning up!"
cleanup
fi
done
echo -e "\n\n"
popd
done