1. Mar 18, 2020
  2. Mar 17, 2020
  3. Mar 16, 2020
  4. Mar 14, 2020
  5. Mar 13, 2020
    • Luke Ireland's avatar
      [flang] Added CMakeLists changes, moved config and made test scripts compatible. · da9d002b
      Luke Ireland authored
      All Fortran tests are now run in lit, except Preprocessing tests flang-compiler/f18#1052
      Preprocessing tests are a separate kind of test, so will be sorted out
      later.
      
      Original-commit: flang-compiler/f18@3f99d35f3d4f57f704fd91a0d6ba8af308e900b3
      Reviewed-on: https://github.com/flang-compiler/f18/pull/1027
      da9d002b
    • Luke Ireland's avatar
      [flang] Port all remaining regression tests to lit · f1a8eae3
      Luke Ireland authored
      We have re-classified a subset of the regression tests as unit tests and
      now we are porting the remaining ones.
      
      Test discovery and running is now performed by lit rather than ctest.
      The tests continue to use their original scripts with minor
      modifications. Most of the changes were mechanical and so scripted.
      A few changes were made by hand. Details
      
      Manual:
        * modfile09-*.f90 tests depend on being run together as some tests have
          dependencies on modules created by other tests. This will need
           separating out when porting away from test_modfile.sh, but for now,
           added modfile09-*.f90 to the Inputs directory and added a single
           tests modfile09.f90 to hold the run line.
        * getdefinition03-a.f90 includes a non-test file getdefinition03-b.f90.
          Manually edited the former to find the latter in Inputs so as to add
          only one test.
        * Same pattern for getsymbols03-{a,b}.f90
      
      Auto:
        * Remaining tests have a lit RUN line added to them based on the type
          of test they are.
        * Failing tests also have an XFAIL line added to them.
        * Generic tests have their pre-existing RUN lines replaced with the
          word "EXEC" to avoid conflict with the added lit RUN line.
      
      Original-commit: flang-compiler/f18@63ec0af9f4c8e736a626d1cd1410f71f4e578aa9
      Reviewed-on: https://github.com/flang-compiler/f18/pull/1027
      Tree-same-pre-rewrite: false
      f1a8eae3
    • Luke Ireland's avatar
      [flang] Create a separate directory for unittests · ee5fa1f2
      Luke Ireland authored
      Some of the regression tests are C programs that act as test harnesses
      for the compiler internals as opposed to being Fortran inputs to test
      the compiler in action. The former style of tests are analog to LLVM's
      unittests and will not use the lit framework.
      
      Change-Id: I0ff10e23f66ff843e8fff4c35cfb6559b9dab762
      
      Original-commit: flang-compiler/f18@2bfddbe8f8898551a28c3ea07b7ae508018f8634
      Reviewed-on: https://github.com/flang-compiler/f18/pull/1027
      Tree-same-pre-rewrite: false
      ee5fa1f2
    • Luke Ireland's avatar
      [flang] Re-enable semantics/altreturn{02,03} tests · a9d9261c
      Luke Ireland authored
      These tests were disabled due to https://github.com/flang-compiler/f18/issues/407.
      Previously these tests caused F18 to crash as the feature was not fully
      implemented.
      
      The altreturn feature is now implemented, so these tests can be
      re-enabled. altreturn03 tested some negative cases which F18 correctly
      diagnoses. Modified that test to expect these new error messages. Also
      make the later cases in the test reachable.
      
      These tests can now be ported by the script to lit-style tests.
      
      Change-Id: Ib336c10d55068d9a26fc2deb43ad052e74e73456
      
      Original-commit: flang-compiler/f18@4de19d7ba2df892ce4361461841c3997de439532
      Reviewed-on: https://github.com/flang-compiler/f18/pull/1027
      Tree-same-pre-rewrite: false
      a9d9261c
  6. Mar 14, 2020
  7. Mar 13, 2020
  8. Mar 12, 2020
  9. Mar 05, 2020
  10. Mar 12, 2020
  11. Mar 11, 2020
  12. Mar 12, 2020
  13. Mar 06, 2020
  14. Mar 11, 2020