[flang] Fix one Unexpectedly Passed test on X86
authorPeixin Qiao <qiaopeixin@huawei.com>
Sat, 22 Oct 2022 10:57:05 +0000 (18:57 +0800)
committerPeixin Qiao <qiaopeixin@huawei.com>
Sat, 22 Oct 2022 10:57:05 +0000 (18:57 +0800)
The test case, kinds04_q10.f90, should run only for X86. Now it is
unexpected passed since 8686ff1d0d47ba8c980f5ea6bb53f77786478e23.
Add "-triple x86_64-unknown-linux-gnu" so that the test is for
testing the target X86 linux.

flang/test/Semantics/kinds04_q10.f90

index cb0e9d9..7c9323b 100644 (file)
@@ -1,4 +1,4 @@
-! RUN: %python %S/test_errors.py %s %flang_fc1
+! RUN: %python %S/test_errors.py %s %flang_fc1 -triple x86_64-unknown-linux-gnu
 ! C716 If both kind-param and exponent-letter appear, exponent-letter
 ! shall be E. (As an extension we also allow an exponent-letter which matches
 ! the kind-param)
@@ -9,9 +9,7 @@
 ! 10-byte extended precision
 ! REQUIRES: x86-registered-target
 ! UNSUPPORTED: system-windows
-! klausler: Currently failing due to unexpected or missing warnings in some
-! configurations like aarch64, so disabling test.
-! XFAIL: *
+
 subroutine s(var)
   real :: realvar1 = 4.0E6_4
   real :: realvar2 = 4.0D6