From cea411b9c95ddc6e6ab5585ed1e4291a7ffc06f4 Mon Sep 17 00:00:00 2001 From: Mircho Rodozov Date: Tue, 10 Nov 2020 17:30:37 +0100 Subject: [PATCH] [PPC] fix two unit tests in FWCore/MessageService --- FWCore/MessageService/test/u2.sh | 5 +++-- FWCore/MessageService/test/u20.sh | 3 ++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/FWCore/MessageService/test/u2.sh b/FWCore/MessageService/test/u2.sh index 85f34869adf8f..041e32336b1d5 100755 --- a/FWCore/MessageService/test/u2.sh +++ b/FWCore/MessageService/test/u2.sh @@ -10,8 +10,9 @@ status=0 rm -f u2_warnings.log u2_cerr.mout cmsRun -p $LOCAL_TEST_DIR/u2_cfg.py 2> $LOCAL_TMP_DIR/u2_cerr.mout || exit $? - -for file in u2_warnings.log u2_cerr.mout +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 $LOCAL_TEST_DIR/filter-timestamps.sed $file diff $LOCAL_TEST_DIR/unit_test_outputs/$file $LOCAL_TMP_DIR/$file diff --git a/FWCore/MessageService/test/u20.sh b/FWCore/MessageService/test/u20.sh index 46916b68403ae..590752796fe5f 100755 --- a/FWCore/MessageService/test/u20.sh +++ b/FWCore/MessageService/test/u20.sh @@ -10,7 +10,8 @@ status=0 rm -f u20_cerr.log FrameworkJobReport.xml cmsRun -e -p $LOCAL_TEST_DIR/u20_cfg.py 2> u20_cerr.log || exit $? - +sed -n '/Disabling gnu++: clang has no __float128 support on this target!/!p' u20_cerr.log > tmpf && mv tmpf u20_cerr.log # remove clang output + for file in u20_cerr.log FrameworkJobReport.xml do sed $SED_OPT -f $LOCAL_TEST_DIR/filter-timestamps.sed $file