Public bug reported: https://launchpad.net/ubuntu/+source/endless-sky/0.10.14-1
endless-sky 0.10.14-1 fails build tests on multiple architectures. On further investigation, this is the exact test that fails: ``` 1/1 Test #89: unit .............................***Failed 0.19 sec Randomness seeded to: 202319588 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ endless-sky-tests is a Catch2 v3.7.1 host application. Run with -? for options ------------------------------------------------------------------------------- Scenario: Calculating absolute value Given: any Point When: Calculating abs Then: The result is correct ------------------------------------------------------------------------------- ./tests/unit/src/test_point.cpp:399 ............................................................................... ./tests/unit/src/test_point.cpp:400: FAILED: CHECK( abs(first.X()) == abs(first).X() ) with expansion: 5 == 5.43210000000000015 ./tests/unit/src/test_point.cpp:401: FAILED: CHECK( abs(first.Y()) == abs(first).Y() ) with expansion: 10 == 10.98765432100000083 =============================================================================== test cases: 94 | 93 passed | 1 failed assertions: 76650 | 76648 passed | 2 failed ``` One possible fix is to use std::abs(double) from cmath in the test source instead of using the default abs. A variant of this bug is reported upstream, though it is for the i686 architecture: https://github.com/endless-sky/endless-sky/issues/11623 ** Affects: endless-sky (Ubuntu) Importance: Undecided Assignee: Pragyansh Chaturvedi (r41k0u) Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2117461 Title: endless-sky 0.10.14-1 fails tests/unit/src/test_point and FTBFS on multiple architectures To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/endless-sky/+bug/2117461/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs