[NFC][lit] Extract 'test time' reading/writing into standalone functions
authorRoman Lebedev <lebedev.ri@gmail.com>
Mon, 22 Mar 2021 09:05:04 +0000 (12:05 +0300)
committerRoman Lebedev <lebedev.ri@gmail.com>
Mon, 22 Mar 2021 12:25:32 +0000 (15:25 +0300)
commit00881644774d6a7cd0465c2318a43d6849b931c8
tree5fa90d210c377f604b97d1e09d32722cc9c3ba93
parentb32fe2b5142e835597a15eb06c59191c4cf51b54
[NFC][lit] Extract 'test time' reading/writing into standalone functions

Simply refactor code into reusable functions,
to allow read_test_times() to be reused later.
llvm/utils/lit/lit/Test.py
llvm/utils/lit/lit/TestTimes.py [new file with mode: 0644]
llvm/utils/lit/lit/main.py