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 | df8049aef7112511a023a74a5531ab1ecb8f82cb (patch) | |
tree | d6f96c50ca0bd864195373e4e1aa7905d16daa8e /regress | |
parent | a0a9a9341a596830cd3ac2855e9b3c6584089ce5 (diff) | |
download | pkgsrc-df8049aef7112511a023a74a5531ab1ecb8f82cb.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} |