TestStandardUnwind uses the full absolute path to a set of C/C++ files as the test case name, which in turn is used in the name of a log file. When the source file is long, and the directory where log files are stored is also long, this causes an OSError because the log filename is too long.
Reviewed By: JDevlieghere
Differential Revision: https://reviews.llvm.org/D86752
self.skipTest("Inferior not supported")
self.standard_unwind_tests()
- test_name = "test_unwind_" + str(f)
+ test_name = "test_unwind_" + str(os.path.basename(f))
for c in ".=()/\\":
test_name = test_name.replace(c, '_')