diff options
author | jlam <jlam@pkgsrc.org> | 2005-01-26 05:01:44 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2005-01-26 05:01:44 +0000 |
commit | 945857d92e9a8e0314bfad189442bea19f452cf6 (patch) | |
tree | d6f96c50ca0bd864195373e4e1aa7905d16daa8e /regress | |
parent | 1b064112484734574d633694937d91d9b4c2b90c (diff) | |
download | pkgsrc-945857d92e9a8e0314bfad189442bea19f452cf6.tar.gz |
Add new regression tests to test that we correctly handle full paths to
shared libraries and shared modules.
Diffstat (limited to 'regress')
-rw-r--r-- | regress/buildlink-transform/tests/libpath-shlib.mk | 8 | ||||
-rw-r--r-- | regress/buildlink-transform/tests/libpath-shmod.mk | 8 |
2 files changed, 16 insertions, 0 deletions
diff --git a/regress/buildlink-transform/tests/libpath-shlib.mk b/regress/buildlink-transform/tests/libpath-shlib.mk new file mode 100644 index 00000000000..a1336a20a7a --- /dev/null +++ b/regress/buildlink-transform/tests/libpath-shlib.mk @@ -0,0 +1,8 @@ +# $NetBSD: libpath-shlib.mk,v 1.1 2005/01/26 05:01:44 jlam Exp $ + +.PHONY: libpath-shlib +do-regress: libpath-shlib +libpath-shlib: + @test="${LOCALBASE}/lib/libfoo.so"; \ + expected="-L${BUILDLINK_DIR}/lib -lfoo"; \ + ${TEST_RESULT} diff --git a/regress/buildlink-transform/tests/libpath-shmod.mk b/regress/buildlink-transform/tests/libpath-shmod.mk new file mode 100644 index 00000000000..5b5517e4c05 --- /dev/null +++ b/regress/buildlink-transform/tests/libpath-shmod.mk @@ -0,0 +1,8 @@ +# $NetBSD: libpath-shmod.mk,v 1.1 2005/01/26 05:01:44 jlam Exp $ + +.PHONY: libpath-shmod +do-regress: libpath-shmod +libpath-shmod: + @test="${LOCALBASE}/lib/module/foo.so"; \ + expected="${LOCALBASE}/lib/module/foo.so"; \ + ${TEST_RESULT} |