update cross-compilation test
authorRobin Templeton <robin@terpri.org>
Sun, 10 May 2015 21:11:40 +0000 (17:11 -0400)
committerRobin Templeton <robin@terpri.org>
Sun, 10 May 2015 21:11:40 +0000 (17:11 -0400)
test-suite/tests/cross-compilation.test

index 175e640..b15c51d 100644 (file)
@@ -56,8 +56,8 @@
                         (string=? (native-os) (target-os)))
                    (native-word-size)
                    word-size))
-              (bv (compile '(hello-world) #:to 'bytecode)))
-          (and=> (parse-elf bv)
+              (bv+constants (compile '(hello-world) #:to 'bytecode)))
+          (and=> (parse-elf (car bv+constants))
                  (lambda (elf)
                    (and (equal? (elf-byte-order elf) endian)
                         (equal? (elf-word-size elf) word-size)))))))))