File tree Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Original file line number Diff line number Diff line change 2
2
3
3
. /init-grid-ui.sh
4
4
5
+ yum install -y -q git-core python-pip boost-python
6
+
7
+ # version that works with centos7
8
+ pip install robotframework==3.2.2
9
+
10
+ git clone --depth 1 https://github.com/dCache/Grid-tools-functional-test-suite.git
11
+ cd Grid-tools-functional-test-suite
12
+
13
+ export DFTS_SUT=store-door-svc.$( cat /var/run/secrets/kubernetes.io/serviceaccount/namespace) .svc.cluster.local
14
+ export HTTP_PORT=2880
15
+ export SRM_PORT=8443
16
+ export GSIDCAP_PORT=22128
17
+ export GSIFTP_PORT=2811
18
+ export DCAP_PORT=22125
19
+ export REMOTE_DIR=/data/g2/
20
+ export WORKSPACE=` pwd`
21
+
22
+
23
+ # test groups to run
24
+ TESTS=" DccpTests GlobusurlcpTests"
25
+
26
+ # robot returns the number of failed tests in its return code.
27
+ # So we add up the retvals using ERRORS as an accumulator
28
+ declare -i ERRORS=0
29
+
30
+ for name in $TESTS ; do
31
+ robot -o ${name} _output --variable SRM_VERSION:2 --name ${name} -x ${name} -junit.xml ${name} .robot || ERRORS+=$?
32
+ done
33
+
34
+ exit $ERRORS
You can’t perform that action at this time.
0 commit comments