Skip to content
Snippets Groups Projects
Commit c3387fa8 authored by Sergey Kosukhin's avatar Sergey Kosukhin
Browse files

Update CI scripts: parse 'tests/test-suite.log' instead of the standard output of 'make check'.

parent 72a05175
No related branches found
No related tags found
1 merge request!14Draft: K202125/cdi 1.8.x pio merge followup
......@@ -27,6 +27,6 @@ PKG_CONFIG_PATH="${YAXT_ROOT}/lib/pkgconfig:${PPM_ROOT}/lib/pkgconfig"
make -j8
make -j8 check | tee check.log
make -j8 check
check_all_tests_passed check.log
check_all_tests_passed tests/test-suite.log
......@@ -129,8 +129,9 @@ init_nv2130 ()
}
#
# Accepts a path to a file containing standard output of the 'make check'
# command and checks whether all tests were run and passed.
# Accepts a path to a file containing the testsuite summary (either the
# 'test-suite.log' or the standard output of the 'make check' command) and
# checks whether all tests were run and passed.
#
check_all_tests_passed ()
{
......
......@@ -42,6 +42,6 @@ make -j8
# Run with '-j' to submit as many MPI jobs as possible
# (see '--with-concurrent-mpi-checks'):
make -j check | tee check.log
make -j check
check_all_tests_passed check.log
check_all_tests_passed tests/test-suite.log
......@@ -42,6 +42,6 @@ make -j8
# Run with '-j' to submit as many MPI jobs as possible
# (see '--with-concurrent-mpi-checks'):
make -j check | tee check.log
make -j check
check_all_tests_passed check.log
check_all_tests_passed tests/test-suite.log
......@@ -143,8 +143,9 @@ init_pgi2011 ()
}
#
# Accepts a path to a file containing standard output of the 'make check'
# command and checks whether all tests were run and passed.
# Accepts a path to a file containing the testsuite summary (either the
# 'test-suite.log' or the standard output of the 'make check' command) and
# checks whether all tests were run and passed.
#
check_all_tests_passed ()
{
......
......@@ -27,6 +27,6 @@ PKG_CONFIG_PATH="${YAXT_ROOT}/lib/pkgconfig:${PPM_ROOT}/lib/pkgconfig"
make -j8
make -j8 check | tee check.log
make -j8 check
check_all_tests_passed check.log
check_all_tests_passed tests/test-suite.log
......@@ -27,6 +27,6 @@ PKG_CONFIG_PATH="${YAXT_ROOT}/lib/pkgconfig:${PPM_ROOT}/lib/pkgconfig"
make -j8
make -j8 check | tee check.log
make -j8 check
check_all_tests_passed check.log
check_all_tests_passed tests/test-suite.log
......@@ -34,6 +34,6 @@ PKG_CONFIG_PATH="${YAXT_ROOT}/lib/pkgconfig:${PPM_ROOT}/lib/pkgconfig"
make -j8
make -j8 check | tee check.log
make -j8 check
check_all_tests_passed check.log
check_all_tests_passed tests/test-suite.log
......@@ -43,6 +43,6 @@ PKG_CONFIG_PATH="${YAXT_ROOT}/lib/pkgconfig:${PPM_ROOT}/lib/pkgconfig"
make -j8
make -j8 check | tee check.log
make -j8 check
check_all_tests_passed check.log
check_all_tests_passed tests/test-suite.log
......@@ -95,6 +95,6 @@ rsync -uavz "${PPM_ROOT}/" "${LOCAL_PPM_ROOT}" --exclude='*.la' --exclude='*.pc'
make -j8
make -j8 check | tee check.log
make -j8 check
check_all_tests_passed check.log
check_all_tests_passed tests/test-suite.log
......@@ -205,8 +205,9 @@ init_pgi1990 ()
}
#
# Accepts a path to a file containing standard output of the 'make check'
# command and checks whether all tests were run and passed.
# Accepts a path to a file containing the testsuite summary (either the
# 'test-suite.log' or the standard output of the 'make check' command) and
# checks whether all tests were run and passed.
#
check_all_tests_passed ()
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment