diff options
author | jlam <jlam> | 2005-01-26 05:01:44 +0000 |
---|---|---|
committer | jlam <jlam> | 2005-01-26 05:01:44 +0000 |
commit | de741d7111ef37f7c18a63b322eb2bd8d961d2e9 (patch) | |
tree | d6f96c50ca0bd864195373e4e1aa7905d16daa8e /regress/buildlink-transform | |
parent | b4fe64973b0331fa2ef598e5d3aa69e3afe3f1d3 (diff) | |
download | pkgsrc-de741d7111ef37f7c18a63b322eb2bd8d961d2e9.tar.gz |
Add new regression tests to test that we correctly handle full paths to
shared libraries and shared modules.
Diffstat (limited to 'regress/buildlink-transform')
-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} |