rename

[?]
Jan 23, 2023, 12:15 AM
3QMTXKWN7RME7ZJ62BIY2PSG733DEZS52QTRR5745IPLYUX542CQC

Dependencies

  • [2] CZQ3NJ4N Merge text0
  • [3] D5J7IZAD debug helper: run a single test
  • [4] ORRSP7FV deduce test names on failures
  • [5] TSV3KPBR tweak format of test failures
  • [6] IMEJA43L snapshot
  • [7] JNJ4R56X support running tests multiple times
  • [8] AVTNUQYR basic test-enabled framework
  • [9] S4IAYCIR delete all tests once they've executed
  • [10] FCFJVYKY redundant check
  • [11] Q7HDVBN7 keep some prints in the terminal for now
  • [*] 3QNOKBFM beginnings of a test harness

Change contents

  • replacement in app.lua at line 436
    [4.47][4.60666:60752]()
    xpcall(_G[name], function(err) prepend_debug_info_to_test_failure(name, err) end)
    [4.47]
    [4.7548]
    xpcall(_G[name], function(err) add_debug_info_to_test_failure(name, err) end)
  • replacement in app.lua at line 445
    [3.143][3.143:221]()
    xpcall(test, function(err) prepend_debug_info_to_test_failure('', err) end)
    [3.143]
    [4.2065]
    xpcall(test, function(err) add_debug_info_to_test_failure('', err) end)
  • replacement in app.lua at line 449
    [4.7569][4.60753:60839]()
    -- prepend file/line/test
    function prepend_debug_info_to_test_failure(test_name, err)
    [4.7569]
    [4.60839]
    -- add test_name and file/line/test
    function add_debug_info_to_test_failure(test_name, err)