summaryrefslogtreecommitdiff
path: root/bin/tests_okify.sh
blob: b46c43d578dc6f80b420bc1fb419c4e860aaedd7 (plain) (blame)
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
#!/bin/bash
source /eng/ssb/auto/astroconda/include/midnight_special.sh
source /eng/ssb/auto/astroconda/include/pre-common.sh

if [ "$groupdir" = "" ]
then
    groupdir=/eng/ssb
else
    echo groupdir is:
    echo $groupdir
fi


# find our host name because it is used in the name of the okify file
h=`hostname -s`
echo $h

# where the okify files are
cd "$groupdir/tests/pdk_updates"

ls -l

if [[ ! -f $h.ok ]]; then
    echo no $h.ok
    exit 0
fi

# not processing directly from the active file
rm -f $h.ok.process
mv $h.ok $h.ok.process

echo START

pdk ok -w $h.ok.process
status=$?

echo END

exit $status