/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
FWCore/MessageService/test/u2.sh
24 строки
781 B
Kevin Pedro
fix remaining FWCore tests
14 сен 2023, 19:46
14 сен 2023, 19:46
bdbdddd
Код
Авторство
О чём код?
#!/bin/bash #sed on Linux and OS X have different command line options case `uname` in Darwin) SED_OPT="-i '' -E";;*) SED_OPT="-i -r";; esac ; status=0 if [ "$UBSAN_OPTIONS" != "" ] ; then export UBSAN_OPTIONS="log_path=ubsan.log:${UBSAN_OPTIONS}"; fi rm -f u2_warnings.log u2_cerr.mout cmsRun ${SCRAM_TEST_PATH}/u2_cfg.py 2> ./u2_cerr.mout || exit $? sed -n '/Disabling gnu++: clang has no __float128 support on this target!/!p' u2_cerr.mout > tmpf && mv tmpf u2_cerr.mout # remove clang output for file in u2_warnings.log u2_cerr.mout do sed $SED_OPT -f ${SCRAM_TEST_PATH}/filter-timestamps.sed $file diff ${SCRAM_TEST_PATH}/unit_test_outputs/$file ./$file if [ $? -ne 0 ] then echo The above discrepancies concern $file status=1 fi done exit $status