64 lines · plain
1set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR})2 3add_flang_nongtest_unittest(leading-zero-bit-count4 NonGTestTesting5)6 7add_flang_nongtest_unittest(bit-population-count8 NonGTestTesting9)10 11add_flang_nongtest_unittest(uint12812 NonGTestTesting13)14 15add_flang_nongtest_unittest(expression16 FortranSupport17 NonGTestTesting18 FortranEvaluate19 FortranSemantics20 FortranParser21)22 23add_flang_nongtest_unittest(integer24 NonGTestTesting25 FortranEvaluate26 FortranSemantics27)28 29add_flang_nongtest_unittest(intrinsics30 FortranSupport31 NonGTestTesting32 FortranEvaluate33 FortranDecimal34 FortranSemantics35 FortranParser36)37 38add_flang_nongtest_unittest(logical39 NonGTestTesting40 FortranEvaluate41 FortranSemantics42)43 44# GCC -fno-exceptions breaks the fenv.h interfaces needed to capture45# IEEE exception flags (different use of the word "exception")46# in the actual hardware floating-point status register, so ensure that47# C++ exceptions are enabled for this test.48set(LLVM_REQUIRES_EH ON)49set(LLVM_REQUIRES_RTTI ON)50add_flang_nongtest_unittest(real51 NonGTestTesting52 FortranEvaluate53 FortranDecimal54 FortranSemantics55)56llvm_update_compile_flags(real.test)57 58add_flang_nongtest_unittest(folding59 FortranSupport60 NonGTestTesting61 FortranEvaluate62 FortranSemantics63)64