summaryrefslogtreecommitdiffstats
path: root/test/FrontendAda
diff options
context:
space:
mode:
authorDuncan Sands <baldrick@free.fr>2007-04-21 20:20:47 +0000
committerDuncan Sands <baldrick@free.fr>2007-04-21 20:20:47 +0000
commit4e9471d3d9c6a478a1e6203e46a2b273b7e732b9 (patch)
treedc29349687e3228dd1acb4cf4f2e50cb227ab6f6 /test/FrontendAda
parent6cdf4a93a7683d824f0c1677b804b3eea0ffcf6f (diff)
downloadexternal_llvm-4e9471d3d9c6a478a1e6203e46a2b273b7e732b9.zip
external_llvm-4e9471d3d9c6a478a1e6203e46a2b273b7e732b9.tar.gz
external_llvm-4e9471d3d9c6a478a1e6203e46a2b273b7e732b9.tar.bz2
Test if the compiler supports Ada, and enable Ada tests if so. While I was
there, delete a temporary file the objc test forgot to delete. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36312 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/FrontendAda')
-rw-r--r--test/FrontendAda/dg.exp6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/FrontendAda/dg.exp b/test/FrontendAda/dg.exp
new file mode 100644
index 0000000..8d2f1b0
--- /dev/null
+++ b/test/FrontendAda/dg.exp
@@ -0,0 +1,6 @@
+load_lib llvm.exp
+
+if [ llvm_gcc_supports_ada ] then {
+ RunLLVMTests [lsort [glob -nocomplain $srcdir/$subdir/*.{adb,ads}]]
+}
+