Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1099806 - ncgen test failing on s390x
Summary: ncgen test failing on s390x
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: hdf
Version: rawhide
Hardware: s390x
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Orion Poplawski
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: ZedoraTracker
TreeView+ depends on / blocked
 
Reported: 2014-05-21 08:35 UTC by Dan Horák
Modified: 2014-05-22 10:17 UTC (History)
4 users (show)

Fixed In Version: hdf-4.2.10-2.fc21
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-05-22 10:17:35 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Patch fixing bug (2.06 KB, patch)
2014-05-22 09:20 UTC, Jakub Čajka
no flags Details | Diff

Description Dan Horák 2014-05-21 08:35:21 UTC
See below the output of the failing test, looks like a wrong conversion or overflow error

...
make[5]: Entering directory `/builddir/build/BUILD/hdf-4.2.10/mfhdf/ncgen'
============================
Testing testncgen.sh 
============================
testncgen.sh  Test Log
============================
=============================
Running ncgen tests
=============================
testncgen.sh: line 113: [: -ne: unary operator expected
*** test1.cdl	Wed May 21 08:02:54 2014
--- test2.cdl	Wed May 21 08:02:54 2014
***************
*** 50,56 ****
  
   cross =
    4, 5, 0.000244140625,
!   7, 8, 10000000000 ;
  
   i = 10, 20 ;
  
--- 50,56 ----
  
   cross =
    4, 5, 0.000244140625,
!   7, 8, 2147483647 ;
  
   i = 10, 20 ;
  
*** ncgen -b test failed ***
*** ncgen -c test successful ***
=============================
ncgen tests failed: 1
=============================


for full logs please see http://s390.koji.fedoraproject.org/koji/taskinfo?taskID=1403901

Version-Release number of selected component (if applicable):
hdf-4.2.10-1.fc21

Comment 1 Jakub Čajka 2014-05-22 09:20:50 UTC
Created attachment 898297 [details]
Patch fixing bug

Added missing platform check to platform checking. 
Also enabled tests on ppc as they pass (BZ#961007).
http://ppc.koji.fedoraproject.org/koji/taskinfo?taskID=1853490


Note You need to log in before you can comment on or make changes to this bug.