Skip to content

Commit

Permalink
Merge pull request #32082 from mrodozov/fix-2-units-ppc
Browse files Browse the repository at this point in the history
[PPC] fix two unit tests in FWCore/MessageService
  • Loading branch information
cmsbuild authored Nov 11, 2020
2 parents a2217ae + cea411b commit 8917353
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
5 changes: 3 additions & 2 deletions FWCore/MessageService/test/u2.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion FWCore/MessageService/test/u20.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8917353

Please sign in to comment.