krzema12 / kotlin-python

Python target for the Kotlin Programming Language. See https://github.com/krzema12/kotlin-python/tree/python-backend/python
https://discuss.kotlinlang.org/t/idea-python-backend/19852
48 stars 1 forks source link

Remove varying parts from box tests report #29

Closed krzema12 closed 3 years ago

krzema12 commented 3 years ago

Values like timings or test run-dependent paths make the diff very noisy. For now, I just commented them out since they may become useful one day. I didn't invest time into making them e.g. a CLI option it's just a quick change with high impact.

Testing

Before:

... Unresolved reference: kotlin.test (78,56) in /tmp/box.testsProject_pythonTest_12424857009541523426/testRootGW2/unitTest_exceptionTableSplitNoReturn/js-tests/JS_TESTS/2.kt  0.039

After:

... Unresolved reference: kotlin.test (78,56) in <path-truncated>  0.039
krzema12 commented 3 years ago

Box tesrs report comparison fails because of difference in including detailed reasons. One file has exception messages, and the other one doesn't. TODO: investigate.