summaryrefslogtreecommitdiff
path: root/src/third_party/wiredtiger/dist/s_evergreen
blob: bda4e442352ef39d18ddc20f43fbb98fc68d2b88 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#! /bin/sh

t=__wt.$$
trap 'rm -f $t' 0 1 2 3 13 15

toplevel_dir=$(git rev-parse --show-toplevel)
program=${toplevel_dir}/test/evergreen/evg_cfg.py

# Run checking program to identify missing tests in Evergreen configuration
${program} check >$t 2>&1
e=$?

test -s $t && {
    echo "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-="
    echo "$0: $program check"
    cat $t
    echo "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-="

    # Don't exit non-zero unless the python script did, the script
    # requires python modules that are commonly not installed, and
    # in that case it exits 0. Post the complaint, but don't fail.
    exit $e
}
exit 0