X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=tests%2Fforeign.test.sh;h=89f98d701b1070f841685b11170c80c6a835d97f;hb=bfa4310e41dcd011ca9d139f29be1c5757b41378;hp=7a6ca2a8fbbe00fcc736dff6744992d9ceb51d23;hpb=e33fb894f991b2926d8f3bace9058e4c0b2c3a37;p=sbcl.git diff --git a/tests/foreign.test.sh b/tests/foreign.test.sh index 7a6ca2a..89f98d7 100644 --- a/tests/foreign.test.sh +++ b/tests/foreign.test.sh @@ -13,16 +13,31 @@ # 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} <