diff options
author | jlam <jlam@pkgsrc.org> | 2004-08-28 06:26:41 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2004-08-28 06:26:41 +0000 |
commit | f2830d1e8de3f62865dd35235d6ee83f5cc84458 (patch) | |
tree | 4e8ef1698604d94f04d9317b6477d5a59503ed49 /regress/buildlink-transform/tests | |
parent | a57b0a61e62a225abb6c42963d591364f73d7e5a (diff) | |
download | pkgsrc-f2830d1e8de3f62865dd35235d6ee83f5cc84458.tar.gz |
Add some more tests for "l" and "rm" BUILDLINK_TRANSFORM commands.
Diffstat (limited to 'regress/buildlink-transform/tests')
-rw-r--r-- | regress/buildlink-transform/tests/lib-expand.mk | 8 | ||||
-rw-r--r-- | regress/buildlink-transform/tests/preserve-option.mk | 8 | ||||
-rw-r--r-- | regress/buildlink-transform/tests/remove-option.mk | 8 |
3 files changed, 24 insertions, 0 deletions
diff --git a/regress/buildlink-transform/tests/lib-expand.mk b/regress/buildlink-transform/tests/lib-expand.mk new file mode 100644 index 00000000000..2c9dea8f9de --- /dev/null +++ b/regress/buildlink-transform/tests/lib-expand.mk @@ -0,0 +1,8 @@ +# $NetBSD: lib-expand.mk,v 1.1 2004/08/28 06:26:41 jlam Exp $ + +.PHONY: lib-expand +do-regress: lib-expand +lib-expand: + @test="-lreadline"; \ + expected="-ledit -ltermcap -lm"; \ + ${TEST_RESULT} diff --git a/regress/buildlink-transform/tests/preserve-option.mk b/regress/buildlink-transform/tests/preserve-option.mk new file mode 100644 index 00000000000..330aed69a25 --- /dev/null +++ b/regress/buildlink-transform/tests/preserve-option.mk @@ -0,0 +1,8 @@ +# $NetBSD: preserve-option.mk,v 1.1 2004/08/28 06:26:41 jlam Exp $ + +.PHONY: preserve-option +do-regress: preserve-option +preserve-option: + @test="-O2ABC"; \ + expected="-O2ABC"; \ + ${TEST_RESULT} diff --git a/regress/buildlink-transform/tests/remove-option.mk b/regress/buildlink-transform/tests/remove-option.mk new file mode 100644 index 00000000000..338f48550a9 --- /dev/null +++ b/regress/buildlink-transform/tests/remove-option.mk @@ -0,0 +1,8 @@ +# $NetBSD: remove-option.mk,v 1.1 2004/08/28 06:26:41 jlam Exp $ + +.PHONY: remove-option +do-regress: remove-option +remove-option: + @test="-O2 -O5 -O9"; \ + expected=""; \ + ${TEST_RESULT} |