llvm/flang/unittests
Diana Picus 4498137bd7 [flang] Rewrite test for CPU_TIME
Don't rely on volatile writes to keep the CPU busy - it seems MSVC
optimizes them out, so we don't get different values for 'start' and
'end' on Windows. Rewrite the test to loop until we get a different
value for 'end'.

Fix suggested by Michael Kruse in
https://reviews.llvm.org/rG57e85622bbdb2eb18cc03df2ea457019c58f6912#inline-6002

Committing to fix the Windows buildbot, post-commit comments welcome!
2021-06-18 09:12:24 +00:00
..
Decimal
Evaluate [flang] Correct the subscripts used for arguments to character intrinsics 2021-06-16 10:26:25 -07:00
Frontend [flang][driver] Add options for -fdefault* and -flarge-sizes 2021-03-04 13:29:07 +00:00
Optimizer
Runtime [flang][nfc] Move external-hello-world to flang/examples 2021-06-16 08:00:50 +00:00
RuntimeGTest [flang] Rewrite test for CPU_TIME 2021-06-18 09:12:24 +00:00
CMakeLists.txt [flang] update character tests to use gtest 2021-03-09 08:31:20 +00:00