Skip to content

Commit 3832978

Browse files
committed
arm-linux-gnueabi does not work with double arguments (arm/32bit armel)
1 parent c795945 commit 3832978

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/test-foreign.l

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -227,12 +227,14 @@ test-testd = 1.23456
227227
(double3-test 1 0.1 0.2 0.3 0.4)
228228

229229
;;
230+
(when (not (eq (read (unix::piped-fork "gcc -dumpmachine") nil 'arm-linux-gnueabi) 'arm-linux-gnueabi))
230231
(check-func 'double-test)
231232
(setq f (piped-fork (format nil "eusg ~A/test/test-foreign.module_l '(progn (double-test 1 0.1 0.2 0.3 0.4)(exit 0))'" *eusdir*)))
232233
(assert-read-line-eps= f 0.1)
233234
(assert-read-line-eps= f 0.2)
234235
(assert-read-line-eps= f 0.3)
235236
(assert-read-line-eps= f 0.4)
237+
)
236238
(when (not (and (memq :word-size=32 *features*) (memq :arm *features*)))
237239
(check-func 'double3-test)
238240
(setq f (piped-fork (format nil "eusg ~A/test/test-foreign.module_l '(progn (double3-test 1 0.1 0.2 0.3 0.4)(exit 0))'" *eusdir*)))

0 commit comments

Comments
 (0)