X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=tests%2Fforeign.test.sh;h=ee78f512b5caf3d41fc17a654fdbdf3e6aada295;hb=25e76ec2b1083ac6a4bba42af7ad7b5a8239f2b8;hp=6b5a7cd243c903400ef9e8a4d619786309fc0411;hpb=9514c25e89aad10784c6d04fea4595d8c8ae68cc;p=sbcl.git diff --git a/tests/foreign.test.sh b/tests/foreign.test.sh index 6b5a7cd..ee78f51 100644 --- a/tests/foreign.test.sh +++ b/tests/foreign.test.sh @@ -13,17 +13,25 @@ # absolutely no warranty. See the COPYING and CREDITS files for # more information. +echo //entering foreign.test.sh + testfilestem=${TMPDIR:-/tmp}/sbcl-foreign-test-$$ +# Make a little shared object file to test with. echo 'int summish(int x, int y) { return 1 + x + y; }' > $testfilestem.c -make $testfilestem.o +cc -c $testfilestem.c -o $testfilestem.o ld -shared -o $testfilestem.so $testfilestem.o +# Test interaction with the shared object file. ${SBCL:-sbcl} <