pcalc icon indicating copy to clipboard operation
pcalc copied to clipboard

Test regression from 4 -> 5 on sparc

Open matoro opened this issue 1 year ago • 0 comments

Hi, the unit tests which are passing on v4 are failing on v5 on sparc.

Relevant snippet:

## ---------------------- ##
## Detailed failed tests. ##
## ---------------------- ##

#                             -*- compilation -*-
1. pcalc.001.at:1: testing pcalc.001 ...
/pcalc.001.at:1: ${top_builddir:-$at_dir/..}/pcalc @${srcdir:-$at_dir}/pcalc.001 | \
	sed \
		-e 's:[	 ][	 ]*: :g' \
		-e 's: *$::'

--- -	2023-12-20 04:54:09.304649598 +0000
+++ /var/tmp/portage/sci-calculators/pcalc-5/work/pcalc-5/ptest/testsuite.dir/at-groups/1/stdout	2023-12-20 04:54:09.293040691 +0000
@@ -15,7 +15,7 @@
 LOG:
  2.302585092994046 0x2 0y10
  0.4342944819032518 0x0 0y0
- 1 0x1 0y1
+ 1 0x0 0y0
 Fahrenheit to celsius: 80F
  26.66666666666667 0x1a 0y11010
 
1. pcalc.001.at:1: 1. pcalc.001 (pcalc.001.at:1): FAILED (pcalc.001.at:1)


#                             -*- compilation -*-
1. pcalc.001.at:1: testing pcalc.001 ...
/pcalc.001.at:1: ${top_builddir:-$at_dir/..}/pcalc @${srcdir:-$at_dir}/pcalc.001 | \
	sed \
		-e 's:[	 ][	 ]*: :g' \
		-e 's: *$::'

--- -	2023-12-20 04:54:09.304649598 +0000
+++ /var/tmp/portage/sci-calculators/pcalc-5/work/pcalc-5/ptest/testsuite.dir/at-groups/1/stdout	2023-12-20 04:54:09.293040691 +0000
@@ -15,7 +15,7 @@
 LOG:
  2.302585092994046 0x2 0y10
  0.4342944819032518 0x0 0y0
- 1 0x1 0y1
+ 1 0x0 0y0
 Fahrenheit to celsius: 80F
  26.66666666666667 0x1a 0y11010
 
1. pcalc.001.at:1: 1. pcalc.001 (pcalc.001.at:1): FAILED (pcalc.001.at:1)

Downstream bug: https://bugs.gentoo.org/920351

Complete log: https://920351.bugs.gentoo.org/attachment.cgi?id=880026

If you need real hardware to test this on, I offer free shell access to the machine I reproduced this issue on. Thanks for taking a look!

matoro avatar Dec 20 '23 06:12 matoro