Giter Site home page Giter Site logo

Comments (7)

sharkcz avatar sharkcz commented on July 29, 2024

For the record current HEAD gives

==============================================
   libdap 3.19.1: unit-tests/test-suite.log
==============================================

# TOTAL: 51
# PASS:  49
# SKIP:  0
# XFAIL: 0
# FAIL:  2
# XPASS: 0
# ERROR: 0

.. contents:: :depth: 2

FAIL: Int16Test
===============

...F.F........


!!!FAILURES!!!
Test Results:
Run:  12   Failures: 2   Errors: 0


1) test: libdap::Int16Test::val2buf_test (F) line: 132 Int16Test.cc
assertion failed
- Expression: i2->value() == 42


2) test: libdap::Int16Test::buf2val_test (F) line: 142 Int16Test.cc
assertion failed
- Expression: i2->buf2val(&v) == 2 && i == 0


FAIL Int16Test (exit status: 1)

FAIL: UInt16Test
================

...F.F........


!!!FAILURES!!!
Test Results:
Run:  12   Failures: 2   Errors: 0


1) test: libdap::UInt16Test::val2buf_test (F) line: 132 UInt16Test.cc
assertion failed
- Expression: i2->value() == 42


2) test: libdap::UInt16Test::buf2val_test (F) line: 142 UInt16Test.cc
assertion failed
- Expression: i2->buf2val(&v) == 2 && i == 0


FAIL UInt16Test (exit status: 1)

from libdap4.

sharkcz avatar sharkcz commented on July 29, 2024

Unfortunately the fix didn't help, I get still the same failure in Int16Test and UInt16Test. @captainkirk99 - send me an email to sharkcz at fedoraproject dot org, if you need access to a big endian machine.

from libdap4.

captainkirk99 avatar captainkirk99 commented on July 29, 2024

@sharkcz does ByteTest work for you now?

from libdap4.

captainkirk99 avatar captainkirk99 commented on July 29, 2024

OK, dumb mistake. (But aren't most bugs?) I will have a PR with a fix for Int16Test and UInt16Test shortly.

from libdap4.

captainkirk99 avatar captainkirk99 commented on July 29, 2024

@sharkcz can you check the current master on your big-endian machine? It should work.

Also, what machine are you using? I didn't know there were really any big-endian machines out there any more...

from libdap4.

sharkcz avatar sharkcz commented on July 29, 2024

re ByteTest - it was broken only(?) when the test was introduced, at the end only the Int16Test and UInt16Test were broken

yes, all tests are now passing

re big endian - in Fedora we have big endian arches - s390x (the mainframes) and ppc64, although the little endian variant (ppc64le) is the future, ppc64 is being deprecated

from libdap4.

captainkirk99 avatar captainkirk99 commented on July 29, 2024

OK, thanks!

from libdap4.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.