projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c93bc50
)
[flang] Remove incorrect unit test
author
Craig Rasmussen
<rasmussen17@llnl.gov>
Tue, 5 Oct 2021 01:22:42 +0000
(18:22 -0700)
committer
Craig Rasmussen
<rasmussen17@llnl.gov>
Tue, 5 Oct 2021 01:27:14 +0000
(18:27 -0700)
Any test of the team_number intrinsic function will apparently
fail because it doesn't have access to ISO_FORTRAN_ENV when
called.
flang/unittests/Evaluate/intrinsics.cpp
patch
|
blob
|
history
diff --git
a/flang/unittests/Evaluate/intrinsics.cpp
b/flang/unittests/Evaluate/intrinsics.cpp
index
45e47af
..
678f0da
100644
(file)
--- a/
flang/unittests/Evaluate/intrinsics.cpp
+++ b/
flang/unittests/Evaluate/intrinsics.cpp
@@
-294,7
+294,11
@@
void TestIntrinsics() {
.Push(Const(Scalar<Real4>{}))
.DoCall(); // bad type
- TestCall{defaults, table, "team_number"}.DoCall(Int4::GetType());
+ // This test temporarily removed because it requires access to
+ // the ISO_FORTRAN_ENV intrinsic module. This module should to
+ // be loaded (somehow) and the following test reinstated.
+ // TestCall{defaults, table, "team_number"}.DoCall(Int4::GetType());
+
TestCall{defaults, table, "team_number"}
.Push(Const(Scalar<Int4>{}))
.Push(Const(Scalar<Int4>{}))