* lib/gnat-dg.exp: Use gnatmake -c -u to compile a single file.
authorArnaud Charlet <charlet@adacore.com>
Wed, 3 Aug 2011 14:32:03 +0000 (14:32 +0000)
committerArnaud Charlet <charlet@gcc.gnu.org>
Wed, 3 Aug 2011 14:32:03 +0000 (16:32 +0200)
From-SVN: r177273

gcc/testsuite/ChangeLog
gcc/testsuite/lib/gnat-dg.exp

index 59175c6..ae7be59 100644 (file)
@@ -1,3 +1,7 @@
+2011-08-03  Arnaud Charlet  <charlet@adacore.com>
+
+       * lib/gnat-dg.exp: Use gnatmake -c -u to compile a single file.
+
 2011-08-03  H.J. Lu  <hongjiu.lu@intel.com>
 
        PR target/47744
index e394d3f..e6fe07e 100644 (file)
@@ -28,6 +28,7 @@ proc lremove {list_variable value} {
 proc gnat-dg-test { prog do_what extra_tool_flags } {
     if { $do_what == "compile" } {
        lappend extra_tool_flags "-c"
+       lappend extra_tool_flags "-u"
     }
     set result [gcc-dg-test-1 gnat_target_compile $prog $do_what $extra_tool_flags]