]> gitweb.factorcode.org Git - factor.git/blob - basis/alien/libraries/finder/linux/linux-tests.factor
alien.libraries.finder: Allow library to match just by name. Related to #1099.
[factor.git] / basis / alien / libraries / finder / linux / linux-tests.factor
1 USING: alien.libraries.finder sequences tools.test
2 alien.libraries.finder.linux.private ;
3 IN: alien.libraries.finder.linux
4
5 { t } [ "libm.so" "m" find-library subseq? ] unit-test
6 { t } [ "libc.so" "c" find-library subseq? ] unit-test
7
8 { t } [ "libSDL" { "libSDL-1.2.so.0" f f } name-matches? ] unit-test
9 { t } [ "libSDL-1" { "libSDL-1.2.so.0" f f } name-matches? ] unit-test
10 { t } [ "libSDL-1.2" { "libSDL-1.2.so.0" f f } name-matches? ] unit-test