Issue |
146781
|
Summary |
[Infrastructure] flang/test/Semantics/windows.f90 failing with "RUN: at line 1 has no command after substitutions"
|
Labels |
infrastructure,
flang
|
Assignees |
|
Reporter |
dpaoliello
|
See build: <https://github.com/llvm/llvm-project/actions/runs/16031979757/job/45234562050?pr=146582>
Test is failing for Linux only:
```
2025-07-02T18:03:40.9385241Z FAIL: Flang :: Semantics/windows.f90 (3463 of 3566)
2025-07-02T18:03:40.9385789Z ******************** TEST 'Flang :: Semantics/windows.f90' FAILED ********************
2025-07-02T18:03:40.9386277Z Exit Code: 1
2025-07-02T18:03:40.9386441Z
2025-07-02T18:03:40.9386576Z Command Output (stdout):
2025-07-02T18:03:40.9386889Z --
2025-07-02T18:03:40.9387125Z ---
2025-07-02T18:03:40.9387366Z +++
2025-07-02T18:03:40.9387633Z @@ -0,0 +1,2 @@
2025-07-02T18:03:40.9387801Z
2025-07-02T18:03:40.9388091Z expect at 6: User IDs do not exist on Windows. This function will always return 1
2025-07-02T18:03:40.9388756Z expect at 11: Group IDs do not exist on Windows. This function will always return 1
2025-07-02T18:03:40.9389166Z
2025-07-02T18:03:40.9389319Z FAIL
2025-07-02T18:03:40.9389459Z
2025-07-02T18:03:40.9389549Z --
2025-07-02T18:03:40.9389783Z Command Output (stderr):
2025-07-02T18:03:40.9390099Z --
2025-07-02T18:03:40.9390396Z RUN: at line 1 has no command after substitutions
2025-07-02T18:03:40.9392544Z "/usr/bin/python3" /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Semantics/test_errors.py /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Semantics/windows.f90 /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang --target=aarch64-pc-windows-msvc -Werror # RUN: at line 2
2025-07-02T18:03:40.9396750Z + /usr/bin/python3 /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Semantics/test_errors.py /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Semantics/windows.f90 /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang --target=aarch64-pc-windows-msvc -Werror
2025-07-02T18:03:40.9398458Z
2025-07-02T18:03:40.9398563Z --
2025-07-02T18:03:40.9398690Z
2025-07-02T18:03:40.9398786Z ********************
```
The RUN command is contained in an `%if` block, so if there is no x86_64 or aarch64 registered targets, then it will result in an empty command:
https://github.com/llvm/llvm-project/blob/551d6ddaa3810749ecae33f65759870b78b9a86a/flang/test/Semantics/windows.f90#L1-L2
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs