[flang-commits] [flang] a2957f8 - [flang][driver] Rename driver tests (nfc)

Andrzej Warzynski via flang-commits flang-commits at lists.llvm.org
Thu Jan 7 06:06:44 PST 2021


Author: Andrzej Warzynski
Date: 2021-01-07T14:05:48Z
New Revision: a2957f80f87f36ac8cfca06dec1c2defbe709876

URL: https://github.com/llvm/llvm-project/commit/a2957f80f87f36ac8cfca06dec1c2defbe709876
DIFF: https://github.com/llvm/llvm-project/commit/a2957f80f87f36ac8cfca06dec1c2defbe709876.diff

LOG: [flang][driver] Rename driver tests (nfc)

As per [1]:
```
File names should use dashes, not underscores.
```

This patch updates the names of Flang driver tests accordingly.

[1] https://github.com/llvm/llvm-project/blob/main/flang/docs/C%2B%2Bstyle.md

Added: 
    flang/test/Driver/no-files.f90
    flang/test/Driver/version-test.f90
    flang/test/Flang-Driver/macro-def-undef.f90
    flang/test/Flang-Driver/macro-multiline.f90

Modified: 
    

Removed: 
    flang/test/Driver/no_files.f90
    flang/test/Driver/version_test.f90
    flang/test/Flang-Driver/macro_def_undef.f90
    flang/test/Flang-Driver/macro_multiline.f90


################################################################################
diff  --git a/flang/test/Driver/no_files.f90 b/flang/test/Driver/no-files.f90
similarity index 100%
rename from flang/test/Driver/no_files.f90
rename to flang/test/Driver/no-files.f90

diff  --git a/flang/test/Driver/version_test.f90 b/flang/test/Driver/version-test.f90
similarity index 100%
rename from flang/test/Driver/version_test.f90
rename to flang/test/Driver/version-test.f90

diff  --git a/flang/test/Flang-Driver/macro_def_undef.f90 b/flang/test/Flang-Driver/macro-def-undef.f90
similarity index 100%
rename from flang/test/Flang-Driver/macro_def_undef.f90
rename to flang/test/Flang-Driver/macro-def-undef.f90

diff  --git a/flang/test/Flang-Driver/macro_multiline.f90 b/flang/test/Flang-Driver/macro-multiline.f90
similarity index 100%
rename from flang/test/Flang-Driver/macro_multiline.f90
rename to flang/test/Flang-Driver/macro-multiline.f90


        


More information about the flang-commits mailing list