summaryrefslogtreecommitdiff
path: root/test/D/Issues/2940_Ariovistus/sconstest-correctLinkOptions_gdc.py
diff options
context:
space:
mode:
authorRussel Winder <russel@winder.org.uk>2014-04-24 12:16:44 +0100
committerRussel Winder <russel@winder.org.uk>2014-04-24 12:16:44 +0100
commit90970de8ea07a310f8ab1a08cebcd1965551ab06 (patch)
tree93a4cf92d73f6ea9f40f961ddb77e1064664426c /test/D/Issues/2940_Ariovistus/sconstest-correctLinkOptions_gdc.py
parenta1df8d063859314dbe71853e40c3ec15caf3b1c5 (diff)
downloadscons-90970de8ea07a310f8ab1a08cebcd1965551ab06.tar.gz
Fix Issue 2940, generating the wrong rpath flags for DMD and LDC.
Diffstat (limited to 'test/D/Issues/2940_Ariovistus/sconstest-correctLinkOptions_gdc.py')
-rw-r--r--test/D/Issues/2940_Ariovistus/sconstest-correctLinkOptions_gdc.py37
1 files changed, 37 insertions, 0 deletions
diff --git a/test/D/Issues/2940_Ariovistus/sconstest-correctLinkOptions_gdc.py b/test/D/Issues/2940_Ariovistus/sconstest-correctLinkOptions_gdc.py
new file mode 100644
index 00000000..baf2921a
--- /dev/null
+++ b/test/D/Issues/2940_Ariovistus/sconstest-correctLinkOptions_gdc.py
@@ -0,0 +1,37 @@
+"""
+Test compiling and executing using the gdc tool.
+"""
+
+#
+# __COPYRIGHT__
+#
+# Permission is hereby granted, free of charge, to any person obtaining
+# a copy of this software and associated documentation files (the
+# "Software"), to deal in the Software without restriction, including
+# without limitation the rights to use, copy, modify, merge, publish,
+# distribute, sublicense, and/or sell copies of the Software, and to
+# permit persons to whom the Software is furnished to do so, subject to
+# the following conditions:
+#
+# The above copyright notice and this permission notice shall be included
+# in all copies or substantial portions of the Software.
+#
+# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY
+# KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
+# WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+# LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+#
+
+__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
+
+from Common.correctLinkOptions import testForTool
+testForTool('gdc')
+
+# Local Variables:
+# tab-width:4
+# indent-tabs-mode:nil
+# End:
+# vim: set expandtab tabstop=4 shiftwidth=4: