dyung wrote:

I think this test is creating filenames that are so long they cannot be deleted 
easily at least on Windows. On my Windows bot, I noticed that after this change 
went it, the bot fails to delete the build directory

Build when the change went in (clean-build-dir succeeds): 
https://lab.llvm.org/buildbot/#/builders/46/builds/37141

Next build where clean-build-dir fails: 
https://lab.llvm.org/buildbot/#/builders/46/builds/37142

When I try to delete the directory from the command line on the host, I see the 
following error:
```
Z:\b\llvm-clang-x86_64-sie-win>rmdir /S /Q build
build\tools\clang\tools\extra\test\clang-doc\html\Output\long-name.cpp.tmp\html\GlobalNamespace\_ZTV243ThisStructHasANameThatResultsInAMangledNameThatIsExactly250CharactersLongThatIsSupposedToTestTheFilenameLengthLimitsWithinClangDocInOrdertoSeeifclangdocwillcrashornotdependingonthelengthofthestructIfTheLengthIsTooLongThenClangDocWillCrashAnd12.html
 - The system cannot find the path specified.
build\tools\clang\tools\extra\test\clang-doc\html\Output\long-name.cpp.tmp\html\GlobalNamespace\_ZTV244ThisStructHasANameThatResultsInAMangledNameThatIsExactly251CharactersLongThatIsSupposedToTestTheFilenameLengthLimitsWithinClangDocInOrdertoSeeifclangdocwillcrashornotdependingonthelengthofthestructIfTheL29DE8558215A13A506661C0E01E50AA3E5C9C7FA.html
 - The system cannot find the path specified.
build\tools\clang\tools\extra\test\clang-doc\html\Output\long-name.cpp.tmp\json\GlobalNamespace\_ZTV243ThisStructHasANameThatResultsInAMangledNameThatIsExactly250CharactersLongThatIsSupposedToTestTheFilenameLengthLimitsWithinClangDocInOrdertoSeeifclangdocwillcrashornotdependingonthelengthofthestructIfTheLengthIsTooLongThenClangDocWillCrashAnd12.json
 - The system cannot find the path specified.
build\tools\clang\tools\extra\test\clang-doc\html\Output\long-name.cpp.tmp\json\GlobalNamespace\_ZTV244ThisStructHasANameThatResultsInAMangledNameThatIsExactly251CharactersLongThatIsSupposedToTestTheFilenameLengthLimitsWithinClangDocInOrdertoSeeifclangdocwillcrashornotdependingonthelengthofthestructIfTheL29DE8558215A13A506661C0E01E50AA3E5C9C7FA.json
 - The system cannot find the path specified.
```
Is there someway we can modify the test so that it does not result in files 
that cannot be easily deleted between runs?

https://github.com/llvm/llvm-project/pull/205586
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to