summaryrefslogtreecommitdiff
path: root/regress/buildlink-transform/tests
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2004-08-28 06:26:41 +0000
committerjlam <jlam@pkgsrc.org>2004-08-28 06:26:41 +0000
commitf2830d1e8de3f62865dd35235d6ee83f5cc84458 (patch)
tree4e8ef1698604d94f04d9317b6477d5a59503ed49 /regress/buildlink-transform/tests
parenta57b0a61e62a225abb6c42963d591364f73d7e5a (diff)
downloadpkgsrc-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.mk8
-rw-r--r--regress/buildlink-transform/tests/preserve-option.mk8
-rw-r--r--regress/buildlink-transform/tests/remove-option.mk8
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}