This is an automated email from the ASF dual-hosted git repository.

bneradt pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/trafficserver-ci.git


The following commit(s) were added to refs/heads/main by this push:
     new d3d37d0  Run ctest now that support has been added for it (#173)
d3d37d0 is described below

commit d3d37d0159c8d870d1aee8925634c1fbef77f97e
Author: Brian Neradt <[email protected]>
AuthorDate: Thu Jun 8 11:54:32 2023 -0500

    Run ctest now that support has been added for it (#173)
    
    Chris McFarlen pulled in some unit tests under ctest. We should run the
    target to make sure PRs don't break those.
---
 jenkins/bin/cmake.sh          | 6 ++----
 jenkins/github/cmake.pipeline | 3 ++-
 2 files changed, 4 insertions(+), 5 deletions(-)

diff --git a/jenkins/bin/cmake.sh b/jenkins/bin/cmake.sh
index 31176e2..4c913e8 100755
--- a/jenkins/bin/cmake.sh
+++ b/jenkins/bin/cmake.sh
@@ -25,7 +25,5 @@ cd "${WORKSPACE}/src"
 mkdir cmake-build-release
 cd cmake-build-release
 cmake -DCMAKE_BUILD_TYPE:STRING=Release -DOPENSSL_ROOT_DIR=/opt/openssl-quic ..
-
-${ATS_MAKE} ${ATS_MAKE_FLAGS} V=1
-#${ATS_MAKE} check VERBOSE=Y
-${ATS_MAKE} clean
+cmake --build . -j4 -v
+ctest -j4 --output-on-failure --no-compress-output -T Test
diff --git a/jenkins/github/cmake.pipeline b/jenkins/github/cmake.pipeline
index d632ea2..2d99820 100644
--- a/jenkins/github/cmake.pipeline
+++ b/jenkins/github/cmake.pipeline
@@ -65,7 +65,8 @@ pipeline {
                         mkdir cmake-build-release
                         cd cmake-build-release
                         cmake -DCMAKE_BUILD_TYPE:STRING=Release 
-DOPENSSL_ROOT_DIR=/opt/openssl-quic ..
-                        make -j4
+                        cmake --build . -j4 -v
+                        ctest -j4 --output-on-failure --no-compress-output -T 
Test
                         '''
                 }
                 echo 'Finished cmake build'

Reply via email to