Hey there,
I compiled the latest release candidate from source and ran ctest
. All tests succeeded except for one:
CTest output
$ ctest --rerun-failed --output-on-failure
Test project /home/dexter/src/cmake/build
Guessing configuration NoConfig
Start 475: RunCMake.ParseImplicitLinkInfo
1/1 Test #475: RunCMake.ParseImplicitLinkInfo ...***Failed 0.71 sec
CMake Error at /home/dexter/src/cmake/Tests/RunCMake/RunCMake.cmake:291 (message):
ParseImplicitLinkInfo - FAILED:
stderr does not match that expected.
Command was:
command> "/home/dexter/src/cmake/build/bin/cmake" "/home/dexter/src/cmake/Tests/RunCMake/ParseImplicitLinkInfo" "-G" "Ninja" "-DRunCMake_TEST=ParseImplicitLinkInfo" "--no-warn-unused-cli" "-DCMAKE_MAKE_PROGRAM=/usr/bin/ninja"
Actual stdout:
actual-stdout> Not searching for unused variables given on the command line.
actual-stdout> -- Configuring done (0.4s)
actual-stdout> -- Generating done (0.0s)
actual-stdout> -- Build files have been written to: /home/dexter/src/cmake/build/Tests/RunCMake/ParseImplicitLinkInfo/ParseImplicitLinkInfo-build
Expected stderr to match:
expect-stderr> ^$
Actual stderr:
actual-stderr> craype-C-Cray-8.7 parse failed: state=, 'AtpSigHandler;AtpSigHCommData;pthread;sci_cray_mpi_mp;m;f;sci_cray_mp;craymp;m;pthread;f;hugetlbfs;mpich_cray;rt;pthread;ugni;pmi;pgas-dmapp;fi;u;rt;dmapp;ugni;udreg;pthread;m;cray-c++-rts;/usr/lib64/libstdc++.a;xpmem;dmapp;pthread;pmi;pthread;alpslli;pthread;wlm_detect;ugni;pthread;alpsutil;pthread;rca;udreg;quadmath;m;omp;rt;craymp;pthread;rt;dl;cray-c++-rts;/usr/lib64/libstdc++.a;m;modules;m;rt;fi;m;quadmath;rt;craymath;m;gfortran;quadmath;rt;f;m;pthread;rt;u;rt;dl;cray-c++-rts;/usr/lib64/libstdc++.a;m;csup;rt;atomic;/usr/lib64/libstdc++.a;pthread;c;csup;m;gcc' does not match '^AtpSigHandler;AtpSigHCommData;pthread;sci_cray_mpi_mp;m;f;sci_cray_mp;craymp;m;pthread;f;hugetlbfs;mpich_cray;rt;pthread;ugni;pmi;pgas-dmapp;fi;u;rt;dmapp;ugni;udreg;pthread;m;cray-c\+\+-rts;stdc\+\+;xpmem;dmapp;pthread;pmi;pthread;alpslli;pthread;wlm_detect;ugni;pthread;alpsutil;pthread;rca;udreg;quadmath;m;omp;rt;craymp;pthread;rt;dl;cray-c\+\+-rts;stdc\+\+;m;modules;m;rt;fi;m;quadmath;rt;craymath;m;gfortran;quadmath;rt;f;m;pthread;rt;u;rt;dl;cray-c\+\+-rts;stdc\+\+;m;csup;rt;atomic;stdc\+\+;pthread;c;csup;m;gcc$'
actual-stderr> craype-CXX-Cray-8.7 parse failed: state=, 'AtpSigHandler;AtpSigHCommData;pthread;sci_cray_mpi_mp;m;f;sci_cray_mp;craymp;m;pthread;f;hugetlbfs;mpichcxx_cray;rt;pthread;ugni;pmi;mpich_cray;rt;pthread;ugni;pmi;pgas-dmapp;fi;u;rt;dmapp;ugni;udreg;pthread;m;cray-c++-rts;/usr/lib64/libstdc++.a;xpmem;dmapp;pthread;pmi;pthread;alpslli;pthread;wlm_detect;ugni;pthread;alpsutil;pthread;rca;udreg;quadmath;m;omp;rt;craymp;pthread;rt;dl;cray-c++-rts;/usr/lib64/libstdc++.a;m;modules;m;rt;fi;m;quadmath;rt;craymath;m;gfortran;quadmath;rt;f;m;pthread;rt;u;rt;dl;cray-c++-rts;/usr/lib64/libstdc++.a;m;csup;rt;atomic;cray-c++-rts;/usr/lib64/libstdc++.a;supc++;/usr/lib64/libstdc++.a;pthread;c;csup;m;gcc' does not match '^AtpSigHandler;AtpSigHCommData;pthread;sci_cray_mpi_mp;m;f;sci_cray_mp;craymp;m;pthread;f;hugetlbfs;mpichcxx_cray;rt;pthread;ugni;pmi;mpich_cray;rt;pthread;ugni;pmi;pgas-dmapp;fi;u;rt;dmapp;ugni;udreg;pthread;m;cray-c\+\+-rts;stdc\+\+;xpmem;dmapp;pthread;pmi;pthread;alpslli;pthread;wlm_detect;ugni;pthread;alpsutil;pthread;rca;udreg;quadmath;m;omp;rt;craymp;pthread;rt;dl;cray-c\+\+-rts;stdc\+\+;m;modules;m;rt;fi;m;quadmath;rt;craymath;m;gfortran;quadmath;rt;f;m;pthread;rt;u;rt;dl;cray-c\+\+-rts;stdc\+\+;m;csup;rt;atomic;cray-c\+\+-rts;stdc\+\+;supc\+\+;stdc\+\+;pthread;c;csup;m;gcc$'
Call Stack (most recent call first):
/home/dexter/src/cmake/Tests/RunCMake/ParseImplicitLinkInfo/RunCMakeTest.cmake:3 (run_cmake)
-- Inspect - PASSED
-- DetermineLinkerId - PASSED
-- ExcludeDirs - PASSED
0% tests passed, 1 tests failed out of 1
Total Test time (real) = 0.73 sec
The following tests FAILED:
475 - RunCMake.ParseImplicitLinkInfo (Failed)
Errors while running CTest
The errors says that two strings didn’t match. Here’s what the diff looks like after putting every value on its own line and removing the backslash escapes:
Diff #1
index d00262c..fc098ca 100644
--- a/tmp/11
+++ b/tmp/12
@@ -25,7 +25,7 @@ udreg;
pthread;
m;
cray-c++-rts;
-/usr/lib64/libstdc++.a;
+stdc++;
xpmem;
dmapp;
pthread;
@@ -49,7 +49,7 @@ pthread;
rt;
dl;
cray-c++-rts;
-/usr/lib64/libstdc++.a;
+stdc++;
m;
modules;
m;
@@ -71,12 +71,12 @@ u;
rt;
dl;
cray-c++-rts;
-/usr/lib64/libstdc++.a;
+stdc++;
m;
csup;
rt;
atomic;
-/usr/lib64/libstdc++.a;
+stdc++;
pthread;
c;
csup;
Diff #2
diff --git a/tmp/21 b/tmp/22
index ccad484..c2b5b6f 100644
--- a/tmp/21
+++ b/tmp/22
@@ -30,7 +30,7 @@ udreg;
pthread;
m;
cray-c++-rts;
-/usr/lib64/libstdc++.a;
+stdc++;
xpmem;
dmapp;
pthread;
@@ -54,7 +54,7 @@ pthread;
rt;
dl;
cray-c++-rts;
-/usr/lib64/libstdc++.a;
+stdc++;
m;
modules;
m;
@@ -76,15 +76,15 @@ u;
rt;
dl;
cray-c++-rts;
-/usr/lib64/libstdc++.a;
+stdc++;
m;
csup;
rt;
atomic;
cray-c++-rts;
-/usr/lib64/libstdc++.a;
+stdc++;
supc++;
-/usr/lib64/libstdc++.a;
+stdc++;
pthread;
c;
csup;
I’m not using Cray so I’m not really concerned about this one test failing, but I don’t think this is supposed to happen. Let me know if there’s anything more I can do to help narrow down the error.