This patch fixes yml_test_group() in yaml.sh to
add test project name, which is required in
results.yml for Maloo to parse.
This patch is back-ported from the following one:
Lustre-commit:
054bb02880d26bacc4e7080869955c2039bbf986
Lustre-change: https://review.whamcloud.com/33658
Test-Parameters: trivial
Change-Id: I0ae563d855dc2d28eaea85e86b1cb23d2428988b
Signed-off-by: Jian Yu <yujian@whamcloud.com>
Reviewed-by: Leonel Ochoa <lochoa@whamcloud.com>
Reviewed-by: James Nunez <jnunez@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/38684
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
TEST_GROUP=${TEST_GROUP:-"acc-sm-$(hostname -s)"}
TEST_HOST=${TEST_HOST:-$(hostname -s)}
TEST_USER=${TEST_USER:-$USER}
+ TEST_PROJECT=${TEST_PROJECT:-"LUSTRE"}
# TestGroup information
cat <<EOF
testhost: $TEST_HOST
submission: $(date)
user_name: $TEST_USER
+project: $TEST_PROJECT
EOF
}