[PATCH] D104150: [test-suite] NIST Fortran Compiler Validation Suite.

David Spickett via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 2 06:20:07 PDT 2021


DavidSpickett added inline comments.


================
Comment at: Fortran/UnitTests/fcvs21_f95/driver_run:49
+
+    eval "${FC}" "${file}" "${EXECOPT}" a.out
+
----------------
DavidSpickett wrote:
> This will not stop the script if it fails, is that intentional?
> 
> Some tests in this suite are now failing on our bot:
> https://lab.llvm.org/buildbot/#/builders/184/builds/109
> 
> And I'm trying to work out why, there's a lot in the stdio like:
> ```
> cd /home/tcwg-buildslave/worker/clang-aarch64-sve-vls/test/sandbox/build/Fortran/UnitTests/hello && /usr/local/bin/cmake -E cmake_link_script CMakeFiles/hello.dir/link.txt --verbose=1
> f951: Error: Can't open file ‘flang_unparsed_source_file_0.f90’
> <built-in>: Fatal Error: can't open input file: flang_unparsed_source_file_0.f90
> compilation terminated.
> gfortran: error: flang_unparsed_source_file_0.f90: No such file or directory
> gfortran: fatal error: no input files
> compilation terminated.
> flang: in /home/tcwg-buildslave/worker/clang-aarch64-sve-vls/test/sandbox/build/Fortran/UnitTests/fcvs21_f95, gfortran failed with exit status 0: gfortran -O3 -O3 -w -Werror=date-time -c -DNDEBUG -O3 -DNDEBUG -O3 -w -Werror=date-time -c /home/tcwg-buildslave/worker/clang-aarch64-sve-vls/test/test-suite/Fortran/UnitTests/fcvs21_f95/FM816.f -o CMakeFiles/FM816.dir/FM816.f.o
> f951: Error: Can't open file ‘flang_unparsed_source_file_0.f90’
> Dependee "/home/tcwg-buildslave/worker/clang-aarch64-sve-vls/test/sandbox/build/Fortran/UnitTests/fcvs21_f95/CMakeFiles/FM026.dir/DependInfo.cmake" is newer than depender "/home/tcwg-buildslave/worker/clang-aarch64-sve-vls/test/sandbox/build/Fortran/UnitTests/fcvs21_f95/CMakeFiles/FM026.dir/depend.internal".
> Dependee "/home/tcwg-buildslave/worker/clang-aarch64-sve-vls/test/sandbox/build/Fortran/UnitTests/fcvs21_f95/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/home/tcwg-buildslave/worker/clang-aarch64-sve-vls/test/sandbox/build/Fortran/UnitTests/fcvs21_f95/CMakeFiles/FM026.dir/depend.internal".
> flang: in /home/tcwg-buildslave/worker/clang-aarch64-sve-vls/test/sandbox/build/Fortran/UnitTests/fcvs21_f95, gfortran failed with exit status 0: gfortran -O3 -O3 -w -Werror=date-time -c -DNDEBUG -O3 -DNDEBUG -O3 -w -Werror=date-time -c /home/tcwg-buildslave/worker/clang-aarch64-sve-vls/test/test-suite/Fortran/UnitTests/fcvs21_f95/FM808.f -o CMakeFiles/FM808.dir/FM808.f.o
> <built-in>: Fatal Error: can't open input file: flang_unparsed_source_file_0.f90
> compilation terminated.
> ```
> 
> (also "failed with exit status 0" feels like someone is forgetting to read the status code but that's off topic)
Doh, I should read more carefully!

```
# `driver_run` script is NOT intended to used for running the LLVM
# test-suite, nor is it invoked by any of the LLVM test-suite
```

Which means it's nothing to do with what I'm seeing.


Repository:
  rT test-suite

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D104150/new/

https://reviews.llvm.org/D104150



More information about the llvm-commits mailing list