Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Without this `str()` the test would fail with a stacktrace like this: ```shell D:\DevLLVM\repos\mlir-tutorial\tests>lit -v .\ctlz_simple.mlir -- Testing: 1 tests, 1 workers -- UNRESOLVED: mlir_tutorial :: ctlz_simple.mlir (1 of 1) ******************** TEST 'mlir_tutorial :: ctlz_simple.mlir' FAILED ******************** Exception during script execution: Traceback (most recent call last): File "C:\Wares\python310\lib\site-packages\lit\worker.py", line 76, in _execute_test_handle_errors result = test.config.test_format.execute(test, lit_config) File "C:\Wares\python310\lib\site-packages\lit\formats\shtest.py", line 29, in execute return lit.TestRunner.executeShTest( File "C:\Wares\python310\lib\site-packages\lit\TestRunner.py", line 2120, in executeShTest script = applySubstitutions( File "C:\Wares\python310\lib\site-packages\lit\TestRunner.py", line 1674, in applySubstitutions output.append(unescapePercents(process(line))) File "C:\Wares\python310\lib\site-packages\lit\TestRunner.py", line 1631, in processLine b = b.replace("\\", "\\\\") TypeError: Path.replace() takes 2 positional arguments but 3 were given ******************** ******************** Unresolved Tests (1): mlir_tutorial :: ctlz_simple.mlir Testing Time: 0.16s Unresolved: 1 ```
- Loading branch information