diff options
author | jlam <jlam@pkgsrc.org> | 2004-11-09 16:44:49 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2004-11-09 16:44:49 +0000 |
commit | 612bbe1b395cec486e8f6eebf3cdf6831a97041e (patch) | |
tree | feca36aa68a97829b1aa3347495a8ad4cebd3391 /regress | |
parent | 0e30c37a66e3c2c12285da640b85cf31e460c582 (diff) | |
download | pkgsrc-612bbe1b395cec486e8f6eebf3cdf6831a97041e.tar.gz |
Add regression tests to check that -DFOO="/usr/pkg/lib/libfoo.la" isn't
transformed by the wrapper scripts. This is the test case for the
breakage in compiling audio/arts reported several weeks ago on tech-pkg@.
Diffstat (limited to 'regress')
-rw-r--r-- | regress/buildlink-transform/tests/libpath-in-define.mk | 8 | ||||
-rw-r--r-- | regress/buildlink-transform/tests/libpath.mk | 8 |
2 files changed, 16 insertions, 0 deletions
diff --git a/regress/buildlink-transform/tests/libpath-in-define.mk b/regress/buildlink-transform/tests/libpath-in-define.mk new file mode 100644 index 00000000000..88646a6c973 --- /dev/null +++ b/regress/buildlink-transform/tests/libpath-in-define.mk @@ -0,0 +1,8 @@ +# $NetBSD: libpath-in-define.mk,v 1.1 2004/11/09 16:44:49 jlam Exp $ + +.PHONY: libpath-in-define +do-regress: libpath-in-define +libpath-in-define: + @test="-DFOO=\"${LOCALBASE}/lib/libfoo.la\""; \ + expected="-DFOO=\"${LOCALBASE}/lib/libfoo.la\""; \ + ${TEST_RESULT} diff --git a/regress/buildlink-transform/tests/libpath.mk b/regress/buildlink-transform/tests/libpath.mk new file mode 100644 index 00000000000..661c5f5ab2c --- /dev/null +++ b/regress/buildlink-transform/tests/libpath.mk @@ -0,0 +1,8 @@ +# $NetBSD: libpath.mk,v 1.1 2004/11/09 16:44:49 jlam Exp $ + +.PHONY: libpath +do-regress: libpath +libpath: + @test="${LOCALBASE}/lib/libfoo.la"; \ + expected="${BUILDLINK_DIR}/lib/libfoo.la"; \ + ${TEST_RESULT} |