datamash/upstream-disable-broken-test.patch
Atri Bhattacharya e18e3d198f Accepting request 591682 from home:Guillaume_G:branches:science
- Disable broken test with upstream patch:
  * upstream-disable-broken-test.patch
- Fix another test
  * upstream-fix-test.patch

OBS-URL: https://build.opensuse.org/request/show/591682
OBS-URL: https://build.opensuse.org/package/show/science/datamash?expand=0&rev=3
2018-03-27 15:27:26 +00:00

31 lines
1.0 KiB
Diff

From f4871963974a96d6e69cb80b9c2fac7ff0c1d472 Mon Sep 17 00:00:00 2001
From: Assaf Gordon <assafgordon@gmail.com>
Date: Thu, 22 Mar 2018 11:18:13 -0600
Subject: tests: disable --format="%a" test
Valid output can differ (e.g. 0x8.000p-3 vs 0x1.000p+0).
* tests/datamash-output-format.pl: Disable 'a1' test.
---
tests/datamash-output-format.pl | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/tests/datamash-output-format.pl b/tests/datamash-output-format.pl
index ca99bb0..5e90ae0 100755
--- a/tests/datamash-output-format.pl
+++ b/tests/datamash-output-format.pl
@@ -90,7 +90,9 @@ my @Tests =
['e2', '--format "%.3e" sum 1', {IN_PIPE=>$in1}, {OUT=>"1.000e+00\n"}],
# Test Custom formats: %a
- ['a1', '--format "%0.3a" sum 1', {IN_PIPE=>$in1}, {OUT=>"0x8.000p-3\n"}],
+ # Disable the test for now. Valid output can differ (e.g. 0x8.000p-3 and
+ # 0x1.000p0 ).
+ # ['a1', '--format "%0.3a" sum 1', {IN_PIPE=>$in1}, {OUT=>"0x8.000p-3\n"}],
# Custom formats can use lots of memory
--
cgit v1.0-41-gc330