[all-commits] [llvm/llvm-project] 9c9561: [lldb][test][NFC] Remove BOM characters from tests...

Michael Buch via All-commits all-commits at lists.llvm.org
Fri Jun 28 06:07:00 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9c95617c796f1cd178eaf3001bce543b8acee32f
      https://github.com/llvm/llvm-project/commit/9c95617c796f1cd178eaf3001bce543b8acee32f
  Author: Michael Buch <michaelbuch12 at gmail.com>
  Date:   2024-06-28 (Fri, 28 Jun 2024)

  Changed paths:
    M lldb/test/API/commands/expression/call-restarts/TestCallThatRestarts.py
    M lldb/test/API/functionalities/load_lazy/TestLoadUsingLazyBind.py
    M lldb/test/API/functionalities/load_unload/TestLoadUnload.py
    M lldb/test/API/functionalities/load_using_paths/TestLoadUsingPaths.py
    M lldb/test/API/functionalities/location-list-lookup/TestLocationListLookup.py
    M lldb/test/API/functionalities/signal/TestSendSignal.py

  Log Message:
  -----------
  [lldb][test][NFC] Remove BOM characters from tests (#97045)

These handful of tests had a BOM (Byte order mark) at the beginning of
the file. This marker is unnecessary in our test files. The main
motivation for this is that the `ast` python module breaks when passing
a file to it with a BOM marker (and might break other tooling which
doesn't expect it). E.g.,:
```
"""Test that lldb command 'process signal SIGUSR1' to send a signal to the inferior works."""
^
SyntaxError: invalid non-printable character U+FEFF
```

If anyone is aware of a good reason to keep it, happy to drop this.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list