[flang-dev] Status of pull request D100897

Michael Kruse via flang-dev flang-dev at lists.llvm.org
Mon Jul 26 14:13:05 PDT 2021


The test team_number.f90 tries to run a UNIX shell script on Windows
(test_errors.sh). The test can be skipped on Windows by adding a
REQUIRES: shell line, as done in e.g. [1]

The debian build also does the clang-format and clang-tidy checks. In
addition to showing what has failed in the build log:
```
> clang-format  7s
changed files:
flang/unittests/Evaluate/intrinsics.cpp
Build completed with failures
```
The formatting error is also shown in Phabricator:
```
Lint: Pre-merge checks

clang-format: please reformat the code

-  TestCall{defaults, table, "team_number"}
-      .DoCall(Int4::GetType());
+  TestCall{defaults, table, "team_number"}.DoCall(Int4::GetType());
```

This can be fixed by running clang-format on it, e.g.
```
$ git clang-format origin/main
```

Michael

[1] https://github.com/llvm/llvm-project/commit/f075760317663d60181183ad1643953f91b07be3

Am Mo., 26. Juli 2021 um 15:28 Uhr schrieb Rasmussen, Craig E. via
flang-dev <flang-dev at lists.llvm.org>:
>
> Could someone please tell me the status of Phabricator issue D100897?  I’m not (actually pretty not) sure I understand Phabricator well enough to understand I need to do something before it can be reviewed again.  Issue D100897 failed in pre-merge checks on windows x64 (but perhaps also on Debian as well).  I originally thought this was only failing on windows but looking carefully perhaps it fails in clang-format and I need to remove a tab (or something) in the test file team_number.f90.
>
>
>
> Thanks,
>
> Craig
>
>
>
> _______________________________________________
> flang-dev mailing list
> flang-dev at lists.llvm.org
> https://lists.llvm.org/cgi-bin/mailman/listinfo/flang-dev


More information about the flang-dev mailing list