Debian Codegraph @

debian/tests/euslisp-loadelf-test

raw
1 #!/bin/sh
2
3 exec 2>&1
4
5 set -e
6
7 test_eusgeo_dlopen() {
8 # check if irteusgeo.so introduce LINEINTERSECTION3
9 echo "(eval-when (load) (geo::line-intersection3 #f(0 0 -1) #f(0 0 1) #f(0 -1 0) #f(0 1 0) 0.001))" > intersection3-test.l
10 name=$( eusg '(progn (compile-file "intersection3-test.l" :o "intersection3-test.o") (load "intersection3-test.so")(print *user*)(unix::exit))')
11 assertNotEquals "" "$name"
12 }
13
14 . shunit2