Merge lines.love

[?]
Aug 26, 2023, 10:47 PM
PWTRH67VOKPGJFAA743PIRSI42J2QR6DFIKZGEELAN56FFRPQIEAC

Dependencies

  • [2] ZLJYLPOT Merge lines.love
  • [3] CUFW4EJL reorganize app.lua and its comments
  • [4] KKMFQDR4 editing source code from within the app
  • [5] 2CTN2IEF Merge lines.love
  • [6] ORRSP7FV deduce test names on failures
  • [7] JOPVPUSA editing source code from within the app
  • [8] A4BSGS2C Merge lines.love
  • [9] AVTNUQYR basic test-enabled framework
  • [*] 3QNOKBFM beginnings of a test harness

Change contents

  • edit in app.lua at line 76
    [4.209859][2.10265:10265]()
  • resurrect zombie in app.lua at line 76
    [4.210403][3.640:1152](),[4.210403][3.640:1152]()
    function App.run_tests()
    local sorted_names = {}
    for name,binding in pairs(_G) do
    if name:find('test_') == 1 then
    table.insert(sorted_names, name)
    end
    end
    table.sort(sorted_names)
    for _,name in ipairs(sorted_names) do
    App.initialize_for_test()
    --? print('=== '..name)
    --? _G[name]()
    xpcall(_G[name], function(err) prepend_debug_info_to_test_failure(name, err) end)
    end
    -- clean up all test methods
    for _,name in ipairs(sorted_names) do
    _G[name] = nil
    end
    end
  • resolve order conflict in app.lua at line 76
    [4.209859]
    [3.640]