summaryrefslogtreecommitdiff
path: root/libitm/testsuite/lib/libitm-dg.exp
diff options
context:
space:
mode:
authoraldyh <aldyh@138bc75d-0d04-0410-961f-82ee72b054a4>2011-11-08 11:13:41 +0000
committeraldyh <aldyh@138bc75d-0d04-0410-961f-82ee72b054a4>2011-11-08 11:13:41 +0000
commit4c0315d05fa0f707875686abc4f91f7a979a7c7b (patch)
treee07de8d0b6265f8d72388d335bd471022e753d57 /libitm/testsuite/lib/libitm-dg.exp
parentbf09288ee7b5f264f28081a84fde4c6aa1ac5c82 (diff)
downloadgcc-4c0315d05fa0f707875686abc4f91f7a979a7c7b.tar.gz
Merge from transactional-memory branch.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@181154 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libitm/testsuite/lib/libitm-dg.exp')
-rw-r--r--libitm/testsuite/lib/libitm-dg.exp21
1 files changed, 21 insertions, 0 deletions
diff --git a/libitm/testsuite/lib/libitm-dg.exp b/libitm/testsuite/lib/libitm-dg.exp
new file mode 100644
index 00000000000..f684ce899ef
--- /dev/null
+++ b/libitm/testsuite/lib/libitm-dg.exp
@@ -0,0 +1,21 @@
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+
+proc libitm-dg-test { prog do_what extra_tool_flags } {
+ return [gcc-dg-test-1 libitm_target_compile $prog $do_what $extra_tool_flags]
+}
+
+proc libitm-dg-prune { system text } {
+ return [gcc-dg-prune $system $text]
+}