For multipart tests, place the parts with no
RUN line in Support. Give up on sending output
to /dev/null - this cannot always be arranged.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40436 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/FrontendAda/fat_fields.ads b/test/FrontendAda/Support/fat_fields.ads
similarity index 100%
rename from test/FrontendAda/fat_fields.ads
rename to test/FrontendAda/Support/fat_fields.ads
diff --git a/test/FrontendAda/global_constant.ads b/test/FrontendAda/Support/global_constant.ads
similarity index 100%
rename from test/FrontendAda/global_constant.ads
rename to test/FrontendAda/Support/global_constant.ads
diff --git a/test/FrontendAda/non_lvalue.ads b/test/FrontendAda/Support/non_lvalue.ads
similarity index 100%
rename from test/FrontendAda/non_lvalue.ads
rename to test/FrontendAda/Support/non_lvalue.ads
diff --git a/test/FrontendAda/unc_constructor.ads b/test/FrontendAda/Support/unc_constructor.ads
similarity index 100%
rename from test/FrontendAda/unc_constructor.ads
rename to test/FrontendAda/Support/unc_constructor.ads
diff --git a/test/FrontendAda/var_size.ads b/test/FrontendAda/Support/var_size.ads
similarity index 100%
rename from test/FrontendAda/var_size.ads
rename to test/FrontendAda/Support/var_size.ads
diff --git a/test/FrontendAda/array_constructor.adb b/test/FrontendAda/array_constructor.adb
index d75b8e0..de64b45 100644
--- a/test/FrontendAda/array_constructor.adb
+++ b/test/FrontendAda/array_constructor.adb
@@ -1,4 +1,4 @@
--- RUN: %llvmgcc -c %s -o /dev/null
+-- RUN: %llvmgcc -c %s
procedure Array_Constructor is
A : array (Integer range <>) of Boolean := (True, False);
begin
diff --git a/test/FrontendAda/array_range_ref.adb b/test/FrontendAda/array_range_ref.adb
index f7cba01..ae9bdc6 100644
--- a/test/FrontendAda/array_range_ref.adb
+++ b/test/FrontendAda/array_range_ref.adb
@@ -1,4 +1,4 @@
--- RUN: %llvmgcc -c %s -o /dev/null
+-- RUN: %llvmgcc -c %s
procedure Array_Range_Ref is
A : String (1 .. 3);
B : String := A (A'RANGE)(1 .. 3);
diff --git a/test/FrontendAda/array_ref.adb b/test/FrontendAda/array_ref.adb
index 093233a..9577e21 100644
--- a/test/FrontendAda/array_ref.adb
+++ b/test/FrontendAda/array_ref.adb
@@ -1,4 +1,4 @@
--- RUN: %llvmgcc -c %s -o /dev/null
+-- RUN: %llvmgcc -c %s
procedure Array_Ref is
type A is array (Natural range <>, Natural range <>) of Boolean;
type A_Access is access A;
diff --git a/test/FrontendAda/array_size.adb b/test/FrontendAda/array_size.adb
index da4c589..2f07d06 100644
--- a/test/FrontendAda/array_size.adb
+++ b/test/FrontendAda/array_size.adb
@@ -1,4 +1,4 @@
--- RUN: %llvmgcc -c %s -o /dev/null
+-- RUN: %llvmgcc -c %s
procedure Array_Size is
subtype S is String (1 .. 2);
type R is record
diff --git a/test/FrontendAda/asm.adb b/test/FrontendAda/asm.adb
index bd1bc4c..575617c 100644
--- a/test/FrontendAda/asm.adb
+++ b/test/FrontendAda/asm.adb
@@ -1,4 +1,4 @@
--- RUN: %llvmgcc -c %s -o /dev/null
+-- RUN: %llvmgcc -c %s
with System.Machine_Code;
procedure Asm is
begin
diff --git a/test/FrontendAda/debug_var_size.ads b/test/FrontendAda/debug_var_size.ads
index 818071d..ea966fb 100644
--- a/test/FrontendAda/debug_var_size.ads
+++ b/test/FrontendAda/debug_var_size.ads
@@ -1,4 +1,4 @@
--- RUN: %llvmgcc -c -g %s -o /dev/null
+-- RUN: %llvmgcc -c -g %s
package Debug_Var_Size is
subtype Length_Type is Positive range 1 .. 64;
type T (Length : Length_Type := 1) is record
diff --git a/test/FrontendAda/emit_var.ads b/test/FrontendAda/emit_var.ads
index b8d5f8f..35d4544 100644
--- a/test/FrontendAda/emit_var.ads
+++ b/test/FrontendAda/emit_var.ads
@@ -1,4 +1,4 @@
--- RUN: %llvmgcc -c %s -o /dev/null
+-- RUN: %llvmgcc -c %s
with Ada.Finalization;
package Emit_Var is
type Search_Type is new Ada.Finalization.Controlled with null record;
diff --git a/test/FrontendAda/fat_fields.adb b/test/FrontendAda/fat_fields.adb
index 906e34e..510105f 100644
--- a/test/FrontendAda/fat_fields.adb
+++ b/test/FrontendAda/fat_fields.adb
@@ -1,5 +1,5 @@
--- RUN: %llvmgcc -c %s -o /dev/null
--- RUN: %llvmgcc -c %s -O2 -o /dev/null
+-- RUN: %llvmgcc -c %s -I%p/Support
+-- RUN: %llvmgcc -c %s -I%p/Support -O2
package body Fat_Fields is
procedure Proc is
begin
diff --git a/test/FrontendAda/global_constant.adb b/test/FrontendAda/global_constant.adb
index 4b64f10..ce9f406 100644
--- a/test/FrontendAda/global_constant.adb
+++ b/test/FrontendAda/global_constant.adb
@@ -1,4 +1,4 @@
--- RUN: %llvmgcc -c %s -o /dev/null
+-- RUN: %llvmgcc -c %s -I%p/Support
package body Global_Constant is
begin
raise An_Error;
diff --git a/test/FrontendAda/non_lvalue.adb b/test/FrontendAda/non_lvalue.adb
index 2a92e52..157f3dd 100644
--- a/test/FrontendAda/non_lvalue.adb
+++ b/test/FrontendAda/non_lvalue.adb
@@ -1,4 +1,4 @@
--- RUN: %llvmgcc -c %s -o /dev/null
+-- RUN: %llvmgcc -c %s -I%p/Support
package body Non_LValue is
function A (Y : U) return String is
begin
diff --git a/test/FrontendAda/switch.adb b/test/FrontendAda/switch.adb
index 0eb20b2..f214bca 100644
--- a/test/FrontendAda/switch.adb
+++ b/test/FrontendAda/switch.adb
@@ -1,4 +1,4 @@
--- RUN: %llvmgcc -c %s -o /dev/null
+-- RUN: %llvmgcc -c %s
function Switch (N : Integer) return Integer is
begin
case N is
diff --git a/test/FrontendAda/unc_constructor.adb b/test/FrontendAda/unc_constructor.adb
index e32c04a..bc3002c 100644
--- a/test/FrontendAda/unc_constructor.adb
+++ b/test/FrontendAda/unc_constructor.adb
@@ -1,4 +1,4 @@
--- RUN: %llvmgcc -c %s -o /dev/null
+-- RUN: %llvmgcc -c %s -I%p/Support
package body Unc_Constructor is
procedure P (X : A) is
begin
diff --git a/test/FrontendAda/var_size.adb b/test/FrontendAda/var_size.adb
index 2b4d499..b3db9a3 100644
--- a/test/FrontendAda/var_size.adb
+++ b/test/FrontendAda/var_size.adb
@@ -1,4 +1,4 @@
--- RUN: %llvmgcc -c %s -o /dev/null
+-- RUN: %llvmgcc -c %s -I%p/Support
package body Var_Size is
function A (X : T) return String is
begin
diff --git a/test/FrontendAda/vce.adb b/test/FrontendAda/vce.adb
index 3d783d0..f24045c 100644
--- a/test/FrontendAda/vce.adb
+++ b/test/FrontendAda/vce.adb
@@ -1,4 +1,4 @@
--- RUN: %llvmgcc -c %s -o /dev/null
+-- RUN: %llvmgcc -c %s
procedure VCE is
S : String (1 .. 2);
B : Character := 'B';
diff --git a/test/FrontendAda/vce_lv.adb b/test/FrontendAda/vce_lv.adb
index 5242b15..4ca4d5c 100644
--- a/test/FrontendAda/vce_lv.adb
+++ b/test/FrontendAda/vce_lv.adb
@@ -1,4 +1,4 @@
--- RUN: %llvmgcc -c %s -o /dev/null
+-- RUN: %llvmgcc -c %s
procedure VCE_LV is
type P is access String ;
type T is new P (5 .. 7);