[Mesa-dev] [Bug 108961] make check test_replace_src_bitsize failure
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Thu Dec 6 20:52:54 UTC 2018
https://bugs.freedesktop.org/show_bug.cgi?id=108961
Bug ID: 108961
Summary: make check test_replace_src_bitsize failure
Product: Mesa
Version: git
Hardware: x86-64 (AMD64)
OS: All
Status: NEW
Keywords: bisected, regression
Severity: normal
Priority: medium
Component: Mesa core
Assignee: mesa-dev at lists.freedesktop.org
Reporter: vlee at freedesktop.org
QA Contact: mesa-dev at lists.freedesktop.org
CC: baker.dylan.c at gmail.com, cwabbott0 at gmail.com,
jason at jlekstrand.net
FAIL: test_replace_src_bitsize (__main__.ValidatorTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "./nir/tests/algebraic_parser_test.py", line 70, in
test_replace_src_bitsize
"Sources a (bit size of a) and b (bit size of 32) " \
File "./nir/tests/algebraic_parser_test.py", line 47, in common
self.assertEqual(message, str(context.exception))
AssertionError: "Sources a (bit size of a) and b (bit size of 32) of ('iadd',
'a', 'b') may not have the same bit size when building the replacement
expression." != "Sources a (bit size of a) and b (bit size of b) of ('iadd',
'a', 'b') may not have the same bit size when building the replacement
expression."
commit a0ae12ca91a45f81897e774019cde9bd081f03a0
Author: Connor Abbott <cwabbott0 at gmail.com>
Date: Thu Nov 29 17:46:59 2018 +0100
nir/algebraic: Add unit tests for bitsize validation
The non-failure path can be tested by just compiling mesa and then
testing it, but the failure paths won't be hit unless you make a mistake,
so it's best to test them with some unit tests.
Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>
Reviewed-by: Dylan Baker <dylan at pnwbakers.com>
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20181206/70b7bf3d/attachment.html>
More information about the mesa-dev
mailing list