projects
/
sbcl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1a2be5b
)
robustify ONLY-ONE-BOXED-CONSTANT-FOR-MULTIPLE-USES test
author
Nikodemus Siivola
<nikodemus@random-state.net>
Thu, 8 Dec 2011 15:54:39 +0000
(17:54 +0200)
committer
Nikodemus Siivola
<nikodemus@random-state.net>
Thu, 8 Dec 2011 15:56:23 +0000
(17:56 +0200)
Was broken on x86 due to test fragility.
tests/compiler.pure.lisp
patch
|
blob
|
history
diff --git
a/tests/compiler.pure.lisp
b/tests/compiler.pure.lisp
index
4bdde67
..
ed4d708
100644
(file)
--- a/
tests/compiler.pure.lisp
+++ b/
tests/compiler.pure.lisp
@@
-4126,8
+4126,7
@@
(fun (compile nil
`(lambda (x)
(unknown-fun ,big (+ ,big x))))))
- (assert (equal (list 0 (1+ most-positive-fixnum))
- (ctu:find-code-constants fun :type 'integer)))))
+ (assert (= 1 (length (ctu:find-code-constants fun :type '(eql ,big)))))))
(with-test (:name :fixnum+float-coerces-fixnum
:skipped-on :x86)