-
Notifications
You must be signed in to change notification settings - Fork 1
/
buildenv
41 lines (36 loc) · 1.23 KB
/
buildenv
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
# bump: re2c-version /RE2C_VERSION="(.*)"/ https://github.com/skvadrik/re2c.git|semver:*
RE2C_VERSION="3.1"
export ZOPEN_BUILD_LINE="STABLE"
export ZOPEN_CATEGORIES="development"
export ZOPEN_STABLE_URL="https://github.com/skvadrik/re2c/releases/download/${RE2C_VERSION}/re2c-${RE2C_VERSION}.tar.xz"
export ZOPEN_STABLE_DEPS="git make zoslib coreutils diffutils findutils python"
export ZOPEN_DEV_BRANCH="3.0"
export ZOPEN_DEV_URL="https://github.com/skvadrik/re2c.git"
export ZOPEN_DEV_DEPS="git make m4 autoconf perl libtool automake bash zoslib tar sed coreutils python"
export ZOPEN_BOOTSTRAP="skip"
zopen_check_results()
{
#============================================================================
#Testsuite summary for re2c 3.0
$============================================================================
# TOTAL: 5
# PASS: 4
# SKIP: 0
# XFAIL: 0
# FAIL: 1
# XPASS: 0
# ERROR: 0
dir="$1"
pfx="$2"
chk="$1/$2_check.log"
totalTests=$(grep '# TOTAL:' $chk | awk '{ print $3 }')
actualFailures=$(grep '# FAIL:' $chk | awk '{ print $3 }')
expectedFailures=1
echo "actualFailures:${actualFailures}"
echo "totalTests:${totalTests}"
echo "expectedFailures:${expectedFailures}"
}
zopen_get_version()
{
echo "$RE2C_VERSION"
}