ywkaras commented on issue #10241:
URL:
https://github.com/apache/trafficserver/issues/10241#issuecomment-1783667798
Some Catch unit tests are missing in the CMake build:
wkaras ~/REPOS/TS
O$ cat ~/find_catch
CML=$( find . -name CMakeLists.txt )
LAST='___NONE___'
grep -l -F CATCH_CONFIG_MAIN $( find . -name \*.cc -o -name \*.cpp ) | while
read P
do
F=$( basename $P )
if [[ $F != $LAST ]] ; then
COUNT=$( grep -l -F $F $CML | wc -l )
fi
if (( COUNT == 0 )) ; then
echo "$F missing"
else
let COUNT=COUNT-1
fi
LAST=$F
done
wkaras ~/REPOS/TS
O$ . ~/find_catch
authproxy_test.cc missing
uri_signing_test.cc missing
test_HostFile.cc missing
test_MTHashTable.cc missing
event_processor_main.cc missing
test_NextHopConsistentHash.cc missing
test_NextHopRoundRobin.cc missing
test_NextHopStrategyFactory.cc missing
test_PluginDso.cc missing
test_PluginFactory.cc missing
test_RemapPlugin.cc missing
benchmark_LogObject.cc missing
test_RolledLogDeleter.cc missing
wkaras ~/REPOS/TS
O$
I can't think of a quick way to check if any non-catch unit tests are
missing.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]