Fix make-array transforms.
[sbcl.git] / tests / compare-and-swap.impure.lisp
index e1dc09b..e16e0cb 100644 (file)
@@ -3,7 +3,7 @@
 (defstruct xxx yyy)
 
 (macrolet ((test (init op)
-             `(with-test (:name (:cas :basics ,op))
+             `(with-test (:name (:cas :basics ,(intern (symbol-name op) "KEYWORD")))
                 (let ((x ,init)
                       (y (list 'foo))
                       (z (list 'bar)))
 (defstruct box
   (word 0 :type sb-vm:word))
 
+;; Have the following tests check that CAS access to the superclass
+;; works in the presence of a subclass sharing the conc-name.
+(defstruct (subbox (:include box) (:conc-name "BOX-")))
+
 (defun inc-box (box n)
   (declare (fixnum n) (box box))
   (loop repeat n
     (assert (eq :ok (cas bar :ok nil)))
     (assert (not (cas bar nil t)))))
 
-(with-test (:name atomic-push
+(with-test (:name :atomic-push
             :skipped-on '(not :sb-thread))
   (let ((store (cons nil nil))
         (n 100000))